diff options
author | Damien Le Moal <[email protected]> | 2022-02-08 15:16:09 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2022-02-08 15:31:20 +0900 |
commit | 921d2eb09673af8e74aa11369a4de700e676a9c1 (patch) | |
tree | db1466e5de4bd021d8f922cb93a5b5c7b3f68574 /net/lapb/lapb_iface.c | |
parent | fda17afc6166e975bec1197bd94cd2a3317bce3f (diff) |
ata: sata_fsl: fix sscanf() and sysfs_emit() format strings
Use the %u format for unsigned int parameters handling with sscanf() and
sysfs_emit() to avoid compilation warnings. In
fsl_sata_rx_watermark_store(), the call to sscanf() to parse a single
argument is replaced with a call to kstrtouint().
While at it, also replace the printk(KERN_ERR) calls with dev_err()
calls and fix blank lines in fsl_sata_rx_watermark_store().
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions