]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
i40e: fix shift precedence issue
authorShannon Nelson <shannon.nelson@intel.com>
Sat, 21 Feb 2015 06:41:47 +0000 (06:41 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Feb 2015 12:53:57 +0000 (04:53 -0800)
commitde78fc5ac1702059ca13203010fd0a3dd20d426f
tree327e2bee78ca823aed0747188949a72c5f596739
parentdda094a312dbb2cd96e3e46fce7784aca999bcf1
i40e: fix shift precedence issue

Add parens to make sure the shift and bitwise precedences don't work backwards
for us.

Change-ID: I60c10ef4fad6bc654522b9d8a53da2e270a0f268
Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c