Re: [PATCH] staging: unisys: Add s-Par visorhba

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

 



On Wed, Jul 15, 2015 at 04:53:24PM +0000, Kershner, David A wrote:
> ERROR: Macros with complex values should be enclosed in parentheses
> #31: FILE: drivers/staging/unisys/visorhba/visorhba_main.c:157:
> +#define for_each_vdisk_match(iter, list, match)                          \
> +       for (iter = &list->head; iter->next; iter = iter->next) \
> +               if (iter->channel == match->channel &&            \
> +                   iter->id == match->id &&                      \
> +                   iter->lun == match->lun)
> 
> total: 1 errors, 0 warnings, 0 checks, 275 lines checked
> 
> Your patch has style problems, please review.
> 
> Any ideas what needs to be wrapped to resolved the checkpatch error?

It's a false positive, just ignore the warning.

regards,
dan carpenter

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