Drywall work adjacent to painted surfaces - problems with adhesion?
It's not usually an issue unless you're dealing with glossy paint or some of the older enamels. If you're concerned, rough it up or spot-prime the painted areas with a good bonding primer and carry on.