Prashant Malani [mailto:pmal...@chromium.org] > Sent: Thursday, October 03, 2019 5:10 AM > To: Hayes Wang > Cc: grund...@chromium.org; netdev@vger.kernel.org; nic_swsd; Prashant > Malani > Subject: [PATCH net-next] r8152: Add identifier names for function pointers > > Checkpatch throws warnings for function pointer declarations which lack > identifier names. > > An example of such a warning is: > > WARNING: function definition argument 'struct r8152 *' should > also have an identifier name > 739: FILE: drivers/net/usb/r8152.c:739: > + void (*init)(struct r8152 *); > > So, fix those warnings by adding the identifier names. > > While we are at it, also fix a character limit violation which was > causing another checkpatch warning. > > Change-Id: Idec857ce2dc9592caf3173188be1660052c052ce > Signed-off-by: Prashant Malani <pmal...@chromium.org> > Reviewed-by: Grant Grundler <grund...@chromium.org>
Acked-by: Hayes Wang <hayesw...@realtek.com> Best Regards, Hayes