No. I can't think of a way to write a script for that in smatch. It works on the pre-processed code. There is a hack around to tell if code is inside a macro or not, but you can't tell if code is a macro parameter.
regards, dan carpenter
No. I can't think of a way to write a script for that in smatch. It works on the pre-processed code. There is a hack around to tell if code is inside a macro or not, but you can't tell if code is a macro parameter.
regards, dan carpenter