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
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to