Re: [PATCH]scsi: check the return value of device_create_file() in powertec.c

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Qinghuang Feng <s3c24xx@...>
Cc: <linux-arm-kernel@...>, <linux-kernel@...>
Date: Wednesday, May 28, 2008 - 10:42 am

On Sun, May 25, 2008 at 09:18:25PM +0800, Qinghuang Feng wrote:

I'd prefer not to kill the driver if device_create_file fails.  Just
arrange to print a warning instead (and remember not to unregister
the file if it wasn't created.)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH]scsi: check the return value of device_create_fil..., Russell King - ARM Linux, (Wed May 28, 10:42 am)