lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210060618.Ipotkyee-lkp@intel.com>
Date:   Thu, 6 Oct 2022 06:20:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jeff Johnson <quic_jjohnson@...cinc.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        0day robot <lkp@...el.com>, Alex Elder <elder@...aro.org>,
        Sibi Sankar <quic_sibis@...cinc.com>
Subject: drivers/net/ipa/ipa_qmi_msg.c:293:35: warning: initialization
 discards 'const' qualifier from pointer target type

tree:   https://github.com/intel-lab-lkp/linux/commits/UPDATE-20221006-045615/Jeff-Johnson/net-ipa-Make-QMI-message-rules-const/20220915-084715
head:   625973aae44edb66956930749da30a66e8ec8c33
commit: 26b534ea602238a35a78ea9d2fe9374eb4f22b42 net: ipa: Make QMI message rules const
date:   81 minutes ago
config: loongarch-allyesconfig
compiler: loongarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/intel-lab-lkp/linux/commit/26b534ea602238a35a78ea9d2fe9374eb4f22b42
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review UPDATE-20221006-045615/Jeff-Johnson/net-ipa-Make-QMI-message-rules-const/20220915-084715
        git checkout 26b534ea602238a35a78ea9d2fe9374eb4f22b42
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/net/ipa/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

>> drivers/net/ipa/ipa_qmi_msg.c:293:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     293 |                 .ei_array       = ipa_mem_bounds_ei,
         |                                   ^~~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:314:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     314 |                 .ei_array       = ipa_mem_array_ei,
         |                                   ^~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:335:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     335 |                 .ei_array       = ipa_mem_array_ei,
         |                                   ^~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:396:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     396 |                 .ei_array       = ipa_mem_range_ei,
         |                                   ^~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:457:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     457 |                 .ei_array       = ipa_mem_bounds_ei,
         |                                   ^~~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:478:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     478 |                 .ei_array       = ipa_mem_bounds_ei,
         |                                   ^~~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:499:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     499 |                 .ei_array       = ipa_mem_array_ei,
         |                                   ^~~~~~~~~~~~~~~~
   drivers/net/ipa/ipa_qmi_msg.c:520:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     520 |                 .ei_array       = ipa_mem_array_ei,
         |                                   ^~~~~~~~~~~~~~~~


vim +/const +293 drivers/net/ipa/ipa_qmi_msg.c

530f9216a9537b5 Alex Elder   2020-03-05  251  
530f9216a9537b5 Alex Elder   2020-03-05  252  /* QMI message structure definition for struct ipa_init_modem_driver_req */
26b534ea602238a Jeff Johnson 2022-09-14  253  const struct qmi_elem_info ipa_init_modem_driver_req_ei[] = {
530f9216a9537b5 Alex Elder   2020-03-05  254  	{
530f9216a9537b5 Alex Elder   2020-03-05  255  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  256  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  257  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  258  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  259  				     platform_type_valid),
530f9216a9537b5 Alex Elder   2020-03-05  260  		.tlv_type	= 0x10,
74478ea4ded519d Alex Elder   2020-07-06  261  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  262  					   platform_type_valid),
530f9216a9537b5 Alex Elder   2020-03-05  263  	},
530f9216a9537b5 Alex Elder   2020-03-05  264  	{
530f9216a9537b5 Alex Elder   2020-03-05  265  		.data_type	= QMI_SIGNED_4_BYTE_ENUM,
530f9216a9537b5 Alex Elder   2020-03-05  266  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  267  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  268  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  269  				     platform_type),
530f9216a9537b5 Alex Elder   2020-03-05  270  		.tlv_type	= 0x10,
530f9216a9537b5 Alex Elder   2020-03-05  271  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  272  					   platform_type),
530f9216a9537b5 Alex Elder   2020-03-05  273  	},
530f9216a9537b5 Alex Elder   2020-03-05  274  	{
530f9216a9537b5 Alex Elder   2020-03-05  275  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  276  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  277  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  278  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  279  				     hdr_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  280  		.tlv_type	= 0x11,
530f9216a9537b5 Alex Elder   2020-03-05  281  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  282  					   hdr_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  283  	},
530f9216a9537b5 Alex Elder   2020-03-05  284  	{
530f9216a9537b5 Alex Elder   2020-03-05  285  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  286  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  287  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  288  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  289  				     hdr_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  290  		.tlv_type	= 0x11,
530f9216a9537b5 Alex Elder   2020-03-05  291  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  292  					   hdr_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05 @293  		.ei_array	= ipa_mem_bounds_ei,
530f9216a9537b5 Alex Elder   2020-03-05  294  	},
530f9216a9537b5 Alex Elder   2020-03-05  295  	{
530f9216a9537b5 Alex Elder   2020-03-05  296  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  297  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  298  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  299  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  300  				     v4_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  301  		.tlv_type	= 0x12,
530f9216a9537b5 Alex Elder   2020-03-05  302  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  303  					   v4_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  304  	},
530f9216a9537b5 Alex Elder   2020-03-05  305  	{
530f9216a9537b5 Alex Elder   2020-03-05  306  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  307  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  308  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  309  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  310  				     v4_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  311  		.tlv_type	= 0x12,
530f9216a9537b5 Alex Elder   2020-03-05  312  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  313  					   v4_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  314  		.ei_array	= ipa_mem_array_ei,
530f9216a9537b5 Alex Elder   2020-03-05  315  	},
530f9216a9537b5 Alex Elder   2020-03-05  316  	{
530f9216a9537b5 Alex Elder   2020-03-05  317  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  318  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  319  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  320  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  321  				     v6_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  322  		.tlv_type	= 0x13,
530f9216a9537b5 Alex Elder   2020-03-05  323  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  324  					   v6_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  325  	},
530f9216a9537b5 Alex Elder   2020-03-05  326  	{
530f9216a9537b5 Alex Elder   2020-03-05  327  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  328  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  329  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  330  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  331  				     v6_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  332  		.tlv_type	= 0x13,
530f9216a9537b5 Alex Elder   2020-03-05  333  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  334  					   v6_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  335  		.ei_array	= ipa_mem_array_ei,
530f9216a9537b5 Alex Elder   2020-03-05  336  	},
530f9216a9537b5 Alex Elder   2020-03-05  337  	{
530f9216a9537b5 Alex Elder   2020-03-05  338  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  339  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  340  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  341  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  342  				     v4_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  343  		.tlv_type	= 0x14,
530f9216a9537b5 Alex Elder   2020-03-05  344  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  345  					   v4_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  346  	},
530f9216a9537b5 Alex Elder   2020-03-05  347  	{
530f9216a9537b5 Alex Elder   2020-03-05  348  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  349  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  350  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  351  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  352  				     v4_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  353  		.tlv_type	= 0x14,
530f9216a9537b5 Alex Elder   2020-03-05  354  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  355  					   v4_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  356  	},
530f9216a9537b5 Alex Elder   2020-03-05  357  	{
530f9216a9537b5 Alex Elder   2020-03-05  358  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  359  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  360  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  361  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  362  				     v6_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  363  		.tlv_type	= 0x15,
530f9216a9537b5 Alex Elder   2020-03-05  364  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  365  					   v6_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  366  	},
530f9216a9537b5 Alex Elder   2020-03-05  367  	{
530f9216a9537b5 Alex Elder   2020-03-05  368  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  369  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  370  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  371  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  372  				     v6_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  373  		.tlv_type	= 0x15,
530f9216a9537b5 Alex Elder   2020-03-05  374  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  375  					   v6_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  376  	},
530f9216a9537b5 Alex Elder   2020-03-05  377  	{
530f9216a9537b5 Alex Elder   2020-03-05  378  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  379  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  380  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  381  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  382  				     modem_mem_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  383  		.tlv_type	= 0x16,
530f9216a9537b5 Alex Elder   2020-03-05  384  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  385  					   modem_mem_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  386  	},
530f9216a9537b5 Alex Elder   2020-03-05  387  	{
530f9216a9537b5 Alex Elder   2020-03-05  388  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  389  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  390  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  391  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  392  				     modem_mem_info),
530f9216a9537b5 Alex Elder   2020-03-05  393  		.tlv_type	= 0x16,
530f9216a9537b5 Alex Elder   2020-03-05  394  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  395  					   modem_mem_info),
530f9216a9537b5 Alex Elder   2020-03-05  396  		.ei_array	= ipa_mem_range_ei,
530f9216a9537b5 Alex Elder   2020-03-05  397  	},
530f9216a9537b5 Alex Elder   2020-03-05  398  	{
530f9216a9537b5 Alex Elder   2020-03-05  399  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  400  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  401  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  402  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  403  				     ctrl_comm_dest_end_pt_valid),
530f9216a9537b5 Alex Elder   2020-03-05  404  		.tlv_type	= 0x17,
530f9216a9537b5 Alex Elder   2020-03-05  405  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  406  					   ctrl_comm_dest_end_pt_valid),
530f9216a9537b5 Alex Elder   2020-03-05  407  	},
530f9216a9537b5 Alex Elder   2020-03-05  408  	{
530f9216a9537b5 Alex Elder   2020-03-05  409  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  410  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  411  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  412  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  413  				     ctrl_comm_dest_end_pt),
530f9216a9537b5 Alex Elder   2020-03-05  414  		.tlv_type	= 0x17,
530f9216a9537b5 Alex Elder   2020-03-05  415  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  416  					   ctrl_comm_dest_end_pt),
530f9216a9537b5 Alex Elder   2020-03-05  417  	},
530f9216a9537b5 Alex Elder   2020-03-05  418  	{
530f9216a9537b5 Alex Elder   2020-03-05  419  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  420  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  421  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  422  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  423  				     skip_uc_load_valid),
530f9216a9537b5 Alex Elder   2020-03-05  424  		.tlv_type	= 0x18,
530f9216a9537b5 Alex Elder   2020-03-05  425  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  426  					   skip_uc_load_valid),
530f9216a9537b5 Alex Elder   2020-03-05  427  	},
530f9216a9537b5 Alex Elder   2020-03-05  428  	{
530f9216a9537b5 Alex Elder   2020-03-05  429  		.data_type	= QMI_UNSIGNED_1_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  430  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  431  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  432  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  433  				     skip_uc_load),
530f9216a9537b5 Alex Elder   2020-03-05  434  		.tlv_type	= 0x18,
530f9216a9537b5 Alex Elder   2020-03-05  435  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  436  					   skip_uc_load),
530f9216a9537b5 Alex Elder   2020-03-05  437  	},
530f9216a9537b5 Alex Elder   2020-03-05  438  	{
530f9216a9537b5 Alex Elder   2020-03-05  439  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  440  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  441  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  442  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  443  				     hdr_proc_ctx_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  444  		.tlv_type	= 0x19,
530f9216a9537b5 Alex Elder   2020-03-05  445  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  446  					   hdr_proc_ctx_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  447  	},
530f9216a9537b5 Alex Elder   2020-03-05  448  	{
530f9216a9537b5 Alex Elder   2020-03-05  449  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  450  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  451  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  452  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  453  				     hdr_proc_ctx_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  454  		.tlv_type	= 0x19,
530f9216a9537b5 Alex Elder   2020-03-05  455  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  456  					   hdr_proc_ctx_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  457  		.ei_array	= ipa_mem_bounds_ei,
530f9216a9537b5 Alex Elder   2020-03-05  458  	},
530f9216a9537b5 Alex Elder   2020-03-05  459  	{
530f9216a9537b5 Alex Elder   2020-03-05  460  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  461  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  462  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  463  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  464  				     zip_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  465  		.tlv_type	= 0x1a,
530f9216a9537b5 Alex Elder   2020-03-05  466  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  467  					   zip_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  468  	},
530f9216a9537b5 Alex Elder   2020-03-05  469  	{
530f9216a9537b5 Alex Elder   2020-03-05  470  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  471  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  472  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  473  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  474  				     zip_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  475  		.tlv_type	= 0x1a,
530f9216a9537b5 Alex Elder   2020-03-05  476  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  477  					   zip_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  478  		.ei_array	= ipa_mem_bounds_ei,
530f9216a9537b5 Alex Elder   2020-03-05  479  	},
530f9216a9537b5 Alex Elder   2020-03-05  480  	{
530f9216a9537b5 Alex Elder   2020-03-05  481  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  482  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  483  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  484  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  485  				     v4_hash_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  486  		.tlv_type	= 0x1b,
530f9216a9537b5 Alex Elder   2020-03-05  487  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  488  					   v4_hash_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  489  	},
530f9216a9537b5 Alex Elder   2020-03-05  490  	{
530f9216a9537b5 Alex Elder   2020-03-05  491  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  492  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  493  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  494  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  495  				     v4_hash_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  496  		.tlv_type	= 0x1b,
530f9216a9537b5 Alex Elder   2020-03-05  497  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  498  					   v4_hash_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  499  		.ei_array	= ipa_mem_array_ei,
530f9216a9537b5 Alex Elder   2020-03-05  500  	},
530f9216a9537b5 Alex Elder   2020-03-05  501  	{
530f9216a9537b5 Alex Elder   2020-03-05  502  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  503  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  504  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  505  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  506  				     v6_hash_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  507  		.tlv_type	= 0x1c,
530f9216a9537b5 Alex Elder   2020-03-05  508  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  509  					   v6_hash_route_tbl_info_valid),
530f9216a9537b5 Alex Elder   2020-03-05  510  	},
530f9216a9537b5 Alex Elder   2020-03-05  511  	{
530f9216a9537b5 Alex Elder   2020-03-05  512  		.data_type	= QMI_STRUCT,
530f9216a9537b5 Alex Elder   2020-03-05  513  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  514  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  515  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  516  				     v6_hash_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  517  		.tlv_type	= 0x1c,
530f9216a9537b5 Alex Elder   2020-03-05  518  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  519  					   v6_hash_route_tbl_info),
530f9216a9537b5 Alex Elder   2020-03-05  520  		.ei_array	= ipa_mem_array_ei,
530f9216a9537b5 Alex Elder   2020-03-05  521  	},
530f9216a9537b5 Alex Elder   2020-03-05  522  	{
530f9216a9537b5 Alex Elder   2020-03-05  523  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  524  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  525  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  526  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  527  				     v4_hash_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  528  		.tlv_type	= 0x1d,
530f9216a9537b5 Alex Elder   2020-03-05  529  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  530  					   v4_hash_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  531  	},
530f9216a9537b5 Alex Elder   2020-03-05  532  	{
530f9216a9537b5 Alex Elder   2020-03-05  533  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  534  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  535  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  536  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  537  				     v4_hash_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  538  		.tlv_type	= 0x1d,
530f9216a9537b5 Alex Elder   2020-03-05  539  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  540  					   v4_hash_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  541  	},
530f9216a9537b5 Alex Elder   2020-03-05  542  	{
530f9216a9537b5 Alex Elder   2020-03-05  543  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  544  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  545  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  546  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  547  				     v6_hash_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  548  		.tlv_type	= 0x1e,
530f9216a9537b5 Alex Elder   2020-03-05  549  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  550  					   v6_hash_filter_tbl_start_valid),
530f9216a9537b5 Alex Elder   2020-03-05  551  	},
530f9216a9537b5 Alex Elder   2020-03-05  552  	{
530f9216a9537b5 Alex Elder   2020-03-05  553  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  554  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  555  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  556  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  557  				     v6_hash_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  558  		.tlv_type	= 0x1e,
530f9216a9537b5 Alex Elder   2020-03-05  559  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  560  					   v6_hash_filter_tbl_start),
530f9216a9537b5 Alex Elder   2020-03-05  561  	},
530f9216a9537b5 Alex Elder   2020-03-05  562  	{
530f9216a9537b5 Alex Elder   2020-03-05  563  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  564  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  565  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  566  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  567  				     hw_stats_quota_base_addr_valid),
530f9216a9537b5 Alex Elder   2020-03-05  568  		.tlv_type	= 0x1f,
530f9216a9537b5 Alex Elder   2020-03-05  569  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  570  					   hw_stats_quota_base_addr_valid),
530f9216a9537b5 Alex Elder   2020-03-05  571  	},
530f9216a9537b5 Alex Elder   2020-03-05  572  	{
7ac629e390bd685 Alex Elder   2021-03-15  573  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  574  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  575  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  576  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  577  				     hw_stats_quota_base_addr),
530f9216a9537b5 Alex Elder   2020-03-05  578  		.tlv_type	= 0x1f,
530f9216a9537b5 Alex Elder   2020-03-05  579  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  580  					   hw_stats_quota_base_addr),
530f9216a9537b5 Alex Elder   2020-03-05  581  	},
530f9216a9537b5 Alex Elder   2020-03-05  582  	{
530f9216a9537b5 Alex Elder   2020-03-05  583  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  584  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  585  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  586  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  587  				     hw_stats_quota_size_valid),
7ac629e390bd685 Alex Elder   2021-03-15  588  		.tlv_type	= 0x20,
530f9216a9537b5 Alex Elder   2020-03-05  589  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  590  					   hw_stats_quota_size_valid),
530f9216a9537b5 Alex Elder   2020-03-05  591  	},
530f9216a9537b5 Alex Elder   2020-03-05  592  	{
7ac629e390bd685 Alex Elder   2021-03-15  593  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  594  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  595  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  596  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  597  				     hw_stats_quota_size),
7ac629e390bd685 Alex Elder   2021-03-15  598  		.tlv_type	= 0x20,
530f9216a9537b5 Alex Elder   2020-03-05  599  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  600  					   hw_stats_quota_size),
530f9216a9537b5 Alex Elder   2020-03-05  601  	},
7ac629e390bd685 Alex Elder   2021-03-15  602  	{
7ac629e390bd685 Alex Elder   2021-03-15  603  		.data_type	= QMI_OPT_FLAG,
7ac629e390bd685 Alex Elder   2021-03-15  604  		.elem_len	= 1,
7ac629e390bd685 Alex Elder   2021-03-15  605  		.elem_size	=
7ac629e390bd685 Alex Elder   2021-03-15  606  			sizeof_field(struct ipa_init_modem_driver_req,
7ac629e390bd685 Alex Elder   2021-03-15  607  				     hw_stats_drop_base_addr_valid),
7ac629e390bd685 Alex Elder   2021-03-15  608  		.tlv_type	= 0x21,
7ac629e390bd685 Alex Elder   2021-03-15  609  		.offset		= offsetof(struct ipa_init_modem_driver_req,
7ac629e390bd685 Alex Elder   2021-03-15  610  					   hw_stats_drop_base_addr_valid),
7ac629e390bd685 Alex Elder   2021-03-15  611  	},
7ac629e390bd685 Alex Elder   2021-03-15  612  	{
7ac629e390bd685 Alex Elder   2021-03-15  613  		.data_type	= QMI_UNSIGNED_4_BYTE,
7ac629e390bd685 Alex Elder   2021-03-15  614  		.elem_len	= 1,
7ac629e390bd685 Alex Elder   2021-03-15  615  		.elem_size	=
7ac629e390bd685 Alex Elder   2021-03-15  616  			sizeof_field(struct ipa_init_modem_driver_req,
7ac629e390bd685 Alex Elder   2021-03-15  617  				     hw_stats_drop_base_addr),
7ac629e390bd685 Alex Elder   2021-03-15  618  		.tlv_type	= 0x21,
7ac629e390bd685 Alex Elder   2021-03-15  619  		.offset		= offsetof(struct ipa_init_modem_driver_req,
7ac629e390bd685 Alex Elder   2021-03-15  620  					   hw_stats_drop_base_addr),
7ac629e390bd685 Alex Elder   2021-03-15  621  	},
530f9216a9537b5 Alex Elder   2020-03-05  622  	{
530f9216a9537b5 Alex Elder   2020-03-05  623  		.data_type	= QMI_OPT_FLAG,
530f9216a9537b5 Alex Elder   2020-03-05  624  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  625  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  626  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  627  				     hw_stats_drop_size_valid),
7ac629e390bd685 Alex Elder   2021-03-15  628  		.tlv_type	= 0x22,
530f9216a9537b5 Alex Elder   2020-03-05  629  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  630  					   hw_stats_drop_size_valid),
530f9216a9537b5 Alex Elder   2020-03-05  631  	},
530f9216a9537b5 Alex Elder   2020-03-05  632  	{
7ac629e390bd685 Alex Elder   2021-03-15  633  		.data_type	= QMI_UNSIGNED_4_BYTE,
530f9216a9537b5 Alex Elder   2020-03-05  634  		.elem_len	= 1,
530f9216a9537b5 Alex Elder   2020-03-05  635  		.elem_size	=
530f9216a9537b5 Alex Elder   2020-03-05  636  			sizeof_field(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  637  				     hw_stats_drop_size),
7ac629e390bd685 Alex Elder   2021-03-15  638  		.tlv_type	= 0x22,
530f9216a9537b5 Alex Elder   2020-03-05  639  		.offset		= offsetof(struct ipa_init_modem_driver_req,
530f9216a9537b5 Alex Elder   2020-03-05  640  					   hw_stats_drop_size),
530f9216a9537b5 Alex Elder   2020-03-05  641  	},
530f9216a9537b5 Alex Elder   2020-03-05  642  	{
530f9216a9537b5 Alex Elder   2020-03-05  643  		.data_type	= QMI_EOTI,
530f9216a9537b5 Alex Elder   2020-03-05  644  	},
530f9216a9537b5 Alex Elder   2020-03-05  645  };
530f9216a9537b5 Alex Elder   2020-03-05  646  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

View attachment "config" of type "text/plain" (322979 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ