I have a home inspector telling my realtor's client that the sub panel installed in the basement is a code violation...Because it has a 200 amp main breaker which is fed from a 100 amp breaker in the main service. Am I completely missing something? The 200 amp main is just a switch, not over current protection. Please if this is a violation, can somebody site a code # please.

Thanks,
H2o