Re: [PATCH 11/13] drivers/staging/vt6655: Hoist assign from if

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux