]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
fm10k: future-proof state bitmaps using DECLARE_BITMAP
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 12 Jan 2017 23:59:39 +0000 (15:59 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Apr 2017 05:47:30 +0000 (22:47 -0700)
commit469295578790150cf0ce3395bf815edce6e37fb1
tree1df8e82e336e8b1fe85ed2a4eb7de7043ad7b02f
parent3ee7b3a3b9deb26278af308743ec927847c70366
fm10k: future-proof state bitmaps using DECLARE_BITMAP

This ensures that future programmers do not have to remember to re-size
the bitmaps due to adding new values. Although this is unlikely for this
driver, it may happen and it's best to prevent it from ever being an
issue.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c
drivers/net/ethernet/intel/fm10k/fm10k_main.c
drivers/net/ethernet/intel/fm10k/fm10k_netdev.c
drivers/net/ethernet/intel/fm10k/fm10k_pci.c