Investors & landlords

Thanks for for your clarifications. then how can I define two types of expense? One is the repair cost to fix the damages the tenant made after they moved out? Can I still treat them rental expense as these repairs were directly associated with rental activity? The other one is the repair cost to the items that buyer required after home inspection? Should I treat it as sell cost?
Thanks!