In passing has 2 different meanings across 2 categories:
Adverb · Prep_phrase
incidentally; in the course of doing something else
"he made this remark in passing"
Incidentally; as a brief diversion from another topic etc.