Re: [PATCH 2/9] scripts/modpost: add a exception for USB gadget drivers

From: Sebastian Andrzej Siewior
Date: Fri Aug 17 2012 - 11:36:33 EST


On 08/15/2012 10:14 PM, Sam Ravnborg wrote:
Could you use the __ref / __refdata annotation?
This would be much cleaner than this hack in modpost.

Hmmm.

$ git grep " __init " drivers/usb/gadget/ | grep -vE '[_-]udc\.c|net22..\.c|udc-core\.c|dummy_hcd' | wc -l
71

That is the number of annotations I would have to change temporary. I
would prefer to avoid it but if you say no then I guess I have to do it.


Sam

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/