[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <89b963ca-52d7-4a60-9c65-dd984efca76e@kili.mountain>
Date: Wed, 24 May 2023 07:16:14 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: Tomas Henzl <thenzl@...hat.com>
Cc: Dongliang Mu <dzm91@...t.edu.cn>, Jing Xu <U202112064@...t.edu.cn>,
Sathya Prakash <sathya.prakash@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>,
Suganath Prabu Subramani
<suganath-prabu.subramani@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
hust-os-kernel-patches@...glegroups.com,
MPT-FusionLinux.pdl@...adcom.com, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers: mpt3sas: mpt3sas_debugfs: return value check of
`mpt3sas_debugfs_root`
On Tue, May 23, 2023 at 07:56:02PM +0200, Tomas Henzl wrote:
> The only thing I'd like to see is to have corrected all debugfs_create*
> and that is also optional.
Yeah. We should fix everything in the file at once.
drivers/scsi/mpt3sas/mpt3sas_debugfs.c:102 mpt3sas_init_debugfs() warn: 'mpt3sas_debugfs_root' is an error pointer or valid
drivers/scsi/mpt3sas/mpt3sas_debugfs.c:127 mpt3sas_setup_debugfs() warn: 'ioc->debugfs_root' is an error pointer or valid
drivers/scsi/mpt3sas/mpt3sas_debugfs.c:137 mpt3sas_setup_debugfs() warn: 'ioc->ioc_dump' is an error pointer or valid
Ideally, someone would go through the kernel and do a mass update of
debugfs checking. CC Greg KH. Write a good cover letter that explains
all the background. That's how you get stuff like this merged with a
minimum fuss. It's probably too much to ask of the HUST students.
I have 120 of these warnings and most are debugfs related. I could
silence them but I'm hoping the iritation will make people fix it.
regards,
dan carpenter
View attachment "err-list" of type "text/plain" (13177 bytes)
Powered by blists - more mailing lists