aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_tc_lib.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2024-07-08 08:15:45 +0000
committerGreg Kroah-Hartman <[email protected]>2024-07-10 07:36:02 +0000
commitab7a880263c30b1675850a584c206770f5545c2f (patch)
treedfde1a68789354fb648e6de1fc19c49804e27dfb /drivers/net/ethernet/intel/ice/ice_tc_lib.c
parentfirmware_loader: fix soundness issue in `request_internal` (diff)
downloadkernel-ab7a880263c30b1675850a584c206770f5545c2f.tar.gz
kernel-ab7a880263c30b1675850a584c206770f5545c2f.zip
driver core: make driver_[create|remove]_file take a const *
The functions driver_create_file() and driver_remove_file() do not modify the struct device_driver structure directly, so they are safe to be marked as a constant pointer type. Cc: "Rafael J. Wysocki" <[email protected]> Link: https://lore.kernel.org/r/2024070844-volley-hatchling-c812@gregkh Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_tc_lib.c')
0 files changed, 0 insertions, 0 deletions