[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4FB740C4.6080805@mev.co.uk>
Date: Sat, 19 May 2012 07:42:12 +0100
From: Ian Abbott <abbotti@....co.uk>
To: Greg KH <gregkh@...uxfoundation.org>
CC: H Hartley Sweeten <hartleys@...ionengravers.com>,
Linux Kernel <linux-kernel@...r.kernel.org>,
"devel@...verdev.osuosl.org" <devel@...verdev.osuosl.org>,
"fmhess@...rs.sourceforge.net" <fmhess@...rs.sourceforge.net>,
Ian Abbott <ian.abbott@....co.uk>
Subject: Re: [PATCH] staging: comedi: cleanup all the comedi_driver 'detach'
functions
On 19/05/12 01:32, Greg KH wrote:
> On Thu, May 17, 2012 at 05:11:14PM -0700, H Hartley Sweeten wrote:
>> All of the printk output is really just noise. The user did a rmmod to
>> unload the driver, we really don't need to tell them about it.
>>
>> Also, some of the messages are output using:
>>
>> dev_dbg(dev->hw_dev, ...
>> or
>> dev_info(dev->hw_dev, ...
>>
>> Unfortunately the hw_dev value is only used by drivers that are doing
>> DMA. For most drivers this variable is going to be NULL so the output
>> is not going to work as expected.
They don't crash and still produce kernel logs, but replaces the device
class and device name in the log entry with "(NULL device *)" or
something like that.
> Sorry about that, I probably caused a lot of that. As no one ever
> complained, odds are no one is using those drivers :)
Most of them seem to have from Ravishankar Karkala Mallikarjunayya.
--
-=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@....co.uk> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists