diff options
| author | Florian Fainelli <[email protected]> | 2021-11-30 12:38:12 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-12-06 22:17:18 -0500 |
| commit | 9f9b7fa946beaa36681a7011a286da7cbb953816 (patch) | |
| tree | fcfae9f7ab1002730a77ef361105c50ad4e4116b /scripts/objdiff | |
| parent | 4d6942e2666efb3a415213ed12ba72b7700620f3 (diff) | |
scsi: qedi: Fix SYSFS_FLAG_FW_SEL_BOOT formatting
The format used for formatting SYSFS_FLAG_FW_SEL_BOOT creates the
following warning:
drivers/scsi/qedi/qedi_main.c:2259:35: warning: format specifies type
'char' but the argument has type 'int' [-Wformat]
rc = snprintf(buf, 3, "%hhd\n",
SYSFS_FLAG_FW_SEL_BOOT);
Fix this to cast the constant as a char since the intention is to print it
via sysfs as a byte.
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Acked-by: Manish Rangankar <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions