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

Dan Carpenter dan.carpenter at oracle.com
Wed Jul 15 18:34:42 UTC 2015


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



More information about the devel mailing list