summaryrefslogtreecommitdiff
path: root/drivers/vfio
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-05-23 15:22:14 +0300
committerLuis Chamberlain <mcgrof@kernel.org>2023-05-24 07:43:25 +0300
commit93810936a6bfbc538771914836fca24570e3bcc5 (patch)
tree5bdf2d97b79b9e16bbb15cd41bdb38b59eed925f /drivers/vfio
parent7c0bf4dad6bf44eef4a573985dd053de77688df1 (diff)
downloadlinux-93810936a6bfbc538771914836fca24570e3bcc5.tar.xz
parport: Remove register_sysctl_table from parport_proc_register
This is part of the general push to deprecate register_sysctl_paths and register_sysctl_table. Register dev/parport/PORTNAME and dev/parport/PORTNAME/devices. Temporary allocation for name is freed at the end of the function. Remove all the struct elements that are no longer used in the parport_device_sysctl_template struct. Add parport specific defines that hide the base path sizes. To make sure the resulting directory structure did not change we made sure that `find /proc/sys/dev/ | sha1sum` was the same before and after the change. Signed-off-by: Joel Granados <j.granados@samsung.com> Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/r/202305150948.pHgIh7Ql-lkp@intel.com/ Reported-by: Dan Carpenter <error27@gmail.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions