Not sure about American law but in Canadian law, the smell of burnt marijuana isn't enough by itself to allow a search, the reason being that burned marijuana is already burned and there is no proof that the person is in actual possession of the drug. Last time I checked at least.
But the Conservative majority coming into power means a lot of that might change

.