On Wed, Jan 30, 2019 at 02:06:57PM -0800, Bart Van Assche wrote: > This patch avoids that the following compiler warning is reported when > building with W=1: > > drivers/infiniband/ulp/ipoib/ipoib_main.c:2414:5: warning: no previous prototype for ipoib_intercept_dev_id_attr [-Wmissing-prototypes] > int ipoib_intercept_dev_id_attr(struct net_device *dev) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Fixes: f6350da41dc7 ("IB/ipoib: Log sysfs 'dev_id' accesses from userspace") # v4.20 > Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> > --- > drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Kamal beat you too it Thanks, Jason