lkml.org 
[lkml]   [2010]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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...


\
 
 \ /
  Last update: 2010-04-28 20:39    [W:0.058 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site