Messages in this thread Patch in this message |  | | From | Hui Tang <> | Subject | [PATCH 14/24] scsi: proc: remove leading spaces before tabs | Date | Sat, 22 May 2021 16:37:18 +0800 |
| |
There are a few leading spaces before tabs and remove it by running the following commard:
$ find . -name '*.[ch]' | xargs sed -r -i 's/^[ ]+\t/\t/'
Signed-off-by: Hui Tang <tanghui20@huawei.com> --- drivers/scsi/scsi_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/scsi_proc.c b/drivers/scsi/scsi_proc.c index d6982d3..7cab3d7 100644 --- a/drivers/scsi/scsi_proc.c +++ b/drivers/scsi/scsi_proc.c @@ -106,7 +106,7 @@ void scsi_proc_hostdir_add(struct scsi_host_template *sht) mutex_lock(&global_host_template_mutex); if (!sht->present++) { sht->proc_dir = proc_mkdir(sht->proc_name, proc_scsi); - if (!sht->proc_dir) + if (!sht->proc_dir) printk(KERN_ERR "%s: proc_mkdir failed for %s\n", __func__, sht->proc_name); } -- 2.8.1
|  |