Re: [PATCH 01/11] block: nvme-scsi: Fix probable mask then right shift defects

2014-11-10 Thread Verma, Vishal L
On Sun, 2014-10-26 at 22:24 -0700, Joe Perches wrote: > Precedence of & and >> is not the same and is not left to right. > shift has higher precedence and should be done after the mask. > > Add parentheses around the mask. > > Signed-off-by: Joe Perches Acked-by: Vishal Verma > --- > drivers

[PATCH 01/11] block: nvme-scsi: Fix probable mask then right shift defects

2014-10-26 Thread Joe Perches
Precedence of & and >> is not the same and is not left to right. shift has higher precedence and should be done after the mask. Add parentheses around the mask. Signed-off-by: Joe Perches --- drivers/block/nvme-scsi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --gi