Re: [PATCH] make ds1wm driver to check ds1wm_platform_data pointer against NULL

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Evgeniy Polyakov <johnpol@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, <szabolcs.gyurko@...>
Date: Saturday, November 10, 2007 - 10:26 pm

On Nov 11, 2007 1:08 AM, Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:

Yes, that's exactly what this patch meant to prevent. That no use of
this platform driver in vanilla kernel doesn't mean the check is
unnecessary. Actually, from the code of this driver, the platform_data
is mandatory for the driver to work properly.  Well, if an oops is
on purpose when platform_data == NULL, this is, I agree, completely
unnecessary.

-- 
Cheers
- eric
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] make ds1wm driver to check ds1wm_platform_data p..., eric miao, (Sat Nov 10, 10:26 pm)