From faa50afe90de23dccaf5a873b3e35ca8e69f344c Mon Sep 17 00:00:00 2001 From: Bharat Nihalani Date: Fri, 7 Jul 2017 23:39:41 +0530 Subject: scripts: update checkpatch.pl with latest K4.9 snapshot This contains a fix for an issue seen when a new file is added. The issue reported is: Use of uninitialized value $root in concatenation (.) or string at /tmp/tmp3tca6a line 767. Also add const_structs.checkpatch file which is added for K4.9, which will fix the following issue reported in ACV: No structs that should be const will be found - file '/tmp/const_structs.checkpatch': No such file or directory Bug 1928069 Change-Id: I72b8a7b0d3e5c0f3d68258ce68e9961987275bb3 Signed-off-by: Bharat Nihalani Reviewed-on: https://git-master.nvidia.com/r/1515451 Reviewed-by: Jani Uusi-Rantala --- scripts/const_structs.checkpatch | 64 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 scripts/const_structs.checkpatch (limited to 'scripts/const_structs.checkpatch') diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch new file mode 100644 index 000000000..ac5f12671 --- /dev/null +++ b/scripts/const_structs.checkpatch @@ -0,0 +1,64 @@ +acpi_dock_ops +address_space_operations +backlight_ops +block_device_operations +clk_ops +comedi_lrange +component_ops +dentry_operations +dev_pm_ops +dma_map_ops +driver_info +drm_connector_funcs +drm_encoder_funcs +drm_encoder_helper_funcs +ethtool_ops +extent_io_ops +file_lock_operations +file_operations +hv_ops +ide_dma_ops +ide_port_ops +inode_operations +intel_dvo_dev_ops +irq_domain_ops +item_operations +iwl_cfg +iwl_ops +kgdb_arch +kgdb_io +kset_uevent_ops +lock_manager_operations +machine_desc +microcode_ops +mlxsw_reg_info +mtrr_ops +neigh_ops +net_device_ops +nlmsvc_binding +nvkm_device_chip +of_device_id +pci_raw_ops +pipe_buf_operations +platform_hibernation_ops +platform_suspend_ops +proto_ops +regmap_access_table +rpc_pipe_ops +rtc_class_ops +sd_desc +seq_operations +sirfsoc_padmux +snd_ac97_build_ops +snd_soc_component_driver +soc_pcmcia_socket_ops +stacktrace_ops +sysfs_ops +tty_operations +uart_ops +usb_mon_operations +v4l2_ctrl_ops +v4l2_ioctl_ops +vm_operations_struct +wacom_features +wd_ops -- cgit v1.2.2