diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-08 15:16:09 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-08 15:31:20 +0900 |
commit | 921d2eb09673af8e74aa11369a4de700e676a9c1 (patch) | |
tree | db1466e5de4bd021d8f922cb93a5b5c7b3f68574 /fs | |
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 <lkp@intel.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions