Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 28 Apr 2010 11:28:33 -0700 | From | Greg KH <> | Subject | Re: [PATCH 11/13] drivers/staging/vt6655: Hoist assign from if |
| |
On Wed, Mar 24, 2010 at 10:17:05PM -0700, Joe Perches wrote: > @@ -361,7 +362,8 @@ typedef struct tagDEVICE_TD_INFO{ > /* > static inline PDEVICE_TD_INFO alloc_td_info(void) { > PDEVICE_TD_INFO ptr; > - if ((ptr = kmalloc(sizeof(DEVICE_TD_INFO),GFP_ATOMIC))==NULL) > + ptr = kmalloc(sizeof(DEVICE_TD_INFO),GFP_ATOMIC); > + if (ptr==NULL)
Same issue again...
| ![\](/images/icornerr.gif) |