diff options
author | 2022-03-29 10:12:51 +0800 | |
---|---|---|
committer | 2022-03-29 23:54:26 -0400 | |
commit | 99241e119f4a2077383f994a174b38ced21d6fca (patch) | |
tree | fa14979c07e8f4feb591cc0f3d4ae40b06ad002c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | scsi: hisi_sas: Remove stray fallthrough annotation (diff) | |
download | wireguard-linux-99241e119f4a2077383f994a174b38ced21d6fca.tar.xz wireguard-linux-99241e119f4a2077383f994a174b38ced21d6fca.zip |
scsi: core: sysfs: Remove comments that conflict with the actual logic
Christoph Hellwig Says:
=======================
I think we should just handle the error properly and remove the comment.
There's no good reason to ignore bsg registration errors.
In fact, after commit 92c4b58b15c5 ("scsi: core: Register sysfs attributes
earlier"), we are already forced to return errno.
We discuss this issue in [1].
[1] https://lore.kernel.org/all/20211022010201.426746-1-liu.yun@linux.dev/
Link: https://lore.kernel.org/r/20220329021251.123805-1-liu.yun@linux.dev
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions