summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igbvf/netdev.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2023-12-06 02:01:00 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-12-18 20:15:31 +0100
commit236f31bb21c00b0d926916d43bee09100432b8d0 (patch)
treef40a57a4998d37d63441959c27bc092429944cb2 /drivers/net/ethernet/intel/igbvf/netdev.c
parentMerge branch 'rtnl-rcu' (diff)
downloadlinux-236f31bb21c00b0d926916d43bee09100432b8d0.tar.xz
linux-236f31bb21c00b0d926916d43bee09100432b8d0.zip
e1000e: make lost bits explicit
For more than 15 years this code has passed in a request for a page and masked off that page when read/writing. This code has been here forever, but FIELD_PREP finds the bug when converted to use it. Change the code to do exactly the same thing but allow the conversion to FIELD_PREP in a later patch. To make it clear what we lost when making this change I left a comment, but there is no point to change the code to generate a correct sequence at this point. This is not a Fixes tagged patch on purpose because it doesn't change the binary output. Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igbvf/netdev.c')
0 files changed, 0 insertions, 0 deletions