[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100428182833.GF8509@kroah.com>
Date: Wed, 28 Apr 2010 11:28:33 -0700
From: Greg KH <greg@...ah.com>
To: Joe Perches <joe@...ches.com>
Cc: linux-kernel@...r.kernel.org, devel@...verdev.osuosl.org,
Greg Kroah-Hartman <gregkh@...e.de>
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...
--
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