mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
ixgbe: Change register variable to unsigned
I noticed this variable used for register reads wasn't an unsigned so this patch corrects that. I don't believe this was causing any issue as is but this is more consistent with the rest of the driver. Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
9f8fe731b8
commit
310ea1236c
@ -2663,7 +2663,7 @@ s32 ixgbe_disable_rx_buff_generic(struct ixgbe_hw *hw)
|
||||
**/
|
||||
s32 ixgbe_enable_rx_buff_generic(struct ixgbe_hw *hw)
|
||||
{
|
||||
int secrxreg;
|
||||
u32 secrxreg;
|
||||
|
||||
secrxreg = IXGBE_READ_REG(hw, IXGBE_SECRXCTRL);
|
||||
secrxreg &= ~IXGBE_SECRXCTRL_RX_DIS;
|
||||
|
Loading…
Reference in New Issue
Block a user