diff options
| author | Prashant Malani <pmalani@chromium.org> | 2019-10-03 00:09:33 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-10-03 18:50:44 +0300 |
| commit | 151ea094378d057dfca76c0110da76dd29cf1de3 (patch) | |
| tree | d7030d6c68ec0029898a1a642217acf7e009ac22 /tools/perf/scripts/python | |
| parent | fab401e1ee96efc58dc3891c6a9e9ee3cc6ba0f8 (diff) | |
| download | linux-151ea094378d057dfca76c0110da76dd29cf1de3.tar.xz | |
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 <pmalani@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Acked-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
