[geert-renesas-drivers:topic/renesas-overlays-v6.6-rc1 6/137] drivers/of/overlay.c:76: warning: Function parameter or member 'ovcs' not described in 'fragment'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays-v6.6-rc1
head:   5b25c3b1c2d80478ded680c33b1067e3faed4c0d
commit: ccc4bf85f5a94ae31785151f50a3637e4cfe8808 [6/137] of: overlay: Add per overlay sysfs attributes
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20230928/202309280221.McwYanU6-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230928/202309280221.McwYanU6-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309280221.McwYanU6-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/of/overlay.c:76: warning: Function parameter or member 'ovcs' not described in 'fragment'
>> drivers/of/overlay.c:76: warning: Function parameter or member 'attr_group' not described in 'fragment'
>> drivers/of/overlay.c:76: warning: Function parameter or member 'attrs' not described in 'fragment'
>> drivers/of/overlay.c:76: warning: Function parameter or member 'target_attr' not described in 'fragment'
>> drivers/of/overlay.c:104: warning: Function parameter or member 'attr_groups' not described in 'overlay_changeset'
   drivers/of/overlay.c:104: warning: Function parameter or member 'kobj' not described in 'overlay_changeset'


vim +76 drivers/of/overlay.c

6b4955ba7bc05e Frank Rowand      2018-10-04   61  
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   62  /**
0290c4ca2536a3 Frank Rowand      2017-10-17   63   * struct fragment - info about fragment nodes in overlay expanded device tree
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   64   * @info:	info node that contains the target and overlay
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   65   * @target:	target of the overlay operation
0290c4ca2536a3 Frank Rowand      2017-10-17   66   * @overlay:	pointer to the __overlay__ node
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   67   */
0290c4ca2536a3 Frank Rowand      2017-10-17   68  struct fragment {
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   69  	struct device_node *overlay;
81225ea682f456 Frank Rowand      2018-10-04   70  	struct device_node *target;
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   71  	struct overlay_changeset *ovcs;
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   72  	struct device_node *info;
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   73  	struct attribute_group attr_group;
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   74  	struct attribute *attrs[2];
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23   75  	struct fragment_attribute target_attr;
7518b5890d8ac3 Pantelis Antoniou 2014-10-28  @76  };
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   77  
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   78  /**
0290c4ca2536a3 Frank Rowand      2017-10-17   79   * struct overlay_changeset
39a751a4cb7e47 Frank Rowand      2018-02-12   80   * @id:			changeset identifier
0290c4ca2536a3 Frank Rowand      2017-10-17   81   * @ovcs_list:		list on which we are located
1e4089667c7c73 Frank Rowand      2022-04-20   82   * @new_fdt:		Memory allocated to hold unflattened aligned FDT
067c098766c6af Frank Rowand      2022-04-20   83   * @overlay_mem:	the memory chunk that contains @overlay_root
1e4089667c7c73 Frank Rowand      2022-04-20   84   * @overlay_root:	expanded device tree that contains the fragment nodes
067c098766c6af Frank Rowand      2022-04-20   85   * @notify_state:	most recent notify action used on overlay
3912b7917ab78d Frank Rowand      2017-10-17   86   * @count:		count of fragment structures
3912b7917ab78d Frank Rowand      2017-10-17   87   * @fragments:		fragment nodes in the overlay expanded device tree
3912b7917ab78d Frank Rowand      2017-10-17   88   * @symbols_fragment:	last element of @fragments[] is the  __symbols__ node
0290c4ca2536a3 Frank Rowand      2017-10-17   89   * @cset:		changeset to apply fragments to live device tree
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   90   */
0290c4ca2536a3 Frank Rowand      2017-10-17   91  struct overlay_changeset {
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   92  	int id;
0290c4ca2536a3 Frank Rowand      2017-10-17   93  	struct list_head ovcs_list;
1e4089667c7c73 Frank Rowand      2022-04-20   94  	const void *new_fdt;
067c098766c6af Frank Rowand      2022-04-20   95  	const void *overlay_mem;
1e4089667c7c73 Frank Rowand      2022-04-20   96  	struct device_node *overlay_root;
067c098766c6af Frank Rowand      2022-04-20   97  	enum of_overlay_notify_action notify_state;
7518b5890d8ac3 Pantelis Antoniou 2014-10-28   98  	int count;
0290c4ca2536a3 Frank Rowand      2017-10-17   99  	struct fragment *fragments;
ccc4bf85f5a94a Pantelis Antoniou 2015-04-23  100  	const struct attribute_group **attr_groups;
3912b7917ab78d Frank Rowand      2017-10-17  101  	bool symbols_fragment;
7518b5890d8ac3 Pantelis Antoniou 2014-10-28  102  	struct of_changeset cset;
785f4b55d5d734 Pantelis Antoniou 2015-03-15  103  	struct kobject kobj;
7518b5890d8ac3 Pantelis Antoniou 2014-10-28 @104  };
7518b5890d8ac3 Pantelis Antoniou 2014-10-28  105  

:::::: The code at line 76 was first introduced by commit
:::::: 7518b5890d8ac366faa2326ce2356ef6392ce63d of/overlay: Introduce DT overlay support

:::::: TO: Pantelis Antoniou <pantelis.antoniou@xxxxxxxxxxxx>
:::::: CC: Grant Likely <grant.likely@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux