diff options
| author | Arnd Bergmann <[email protected]> | 2020-01-07 22:43:46 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-01-08 16:58:36 +0100 |
| commit | 17da9b8e5ab89ad815671a95db1b53d835093060 (patch) | |
| tree | f9f9d241757c6735642e15b6efb519c956b7b6fa /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 9521e47e9ab8401eb42e8ef5c2c9a46ac7dd8876 (diff) | |
usb: host: oxu210hp-hcd: fix gcc warning
gcc -O3 warns about correct code:
inlined from 'oxu_hub_control.constprop' at drivers/usb/host/oxu210hp-hcd.c:3652:3:
include/linux/string.h:411:9: error: argument 1 null where non-null expected [-Werror=nonnull]
return __builtin_memset(p, c, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/host/oxu210hp-hcd.c: In function 'oxu_hub_control.constprop':
include/linux/string.h:411:9: note: in a call to built-in function '__builtin_memset'
Expand the code slightly to let gcc better understand it and
not warn any more.
Signed-off-by: Arnd Bergmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions