diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-03 18:41:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-09 16:46:59 +0200 |
commit | 142c8bb6c516a4caed569a68589489d4d91377e6 (patch) | |
tree | 4fc0cdc9566a9533dceaddd538bb1a7a1bb89633 /drivers/usb/storage/alauda.c | |
parent | f2926dd5938e278652cdec85cafe5f727997877a (diff) | |
download | linux-142c8bb6c516a4caed569a68589489d4d91377e6.tar.bz2 |
usb: host: xhci-debugfs: Use 'gnu_printf' format notation
Fixes the following W=1 kernel build warning(s):
drivers/usb/host/xhci-debugfs.c:128:2: warning: function ‘xhci_debugfs_regset’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
128 | vsnprintf(rgs->name, sizeof(rgs->name), fmt, args);
| ^~~~~~~~~
Cc: Mathias Nyman <mathias.nyman@intel.com>
Cc: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200703174148.2749969-19-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/storage/alauda.c')
0 files changed, 0 insertions, 0 deletions