commit | 5b0eeac4bed4b1a261acf3cd893f929e68814a0d | [log] [tgz] |
---|---|---|
author | John Garry <john.garry@huawei.com> | Fri Jan 25 22:22:28 2019 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 29 01:41:19 2019 -0500 |
tree | b557d1ec3574b27213e0c039635491fb3466e6c6 | |
parent | c2c7e740577154e755ec373712e32e5864e88315 [diff] |
scsi: hisi_sas: Fix type casting and missing static qualifier in debugfs code Sparse can detect some type casting issues in the debugfs code, so fix it up. Also a missing static qualifier is added to hisi_sas_debugfs_to_reg_name(). Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>