[device-mapper-dm:dm-vdo-wip 61/61] drivers/md/dm-vdo/action-manager.c:64: warning: Excess struct member 'Scheduler' description in 'action_manager'

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

 



Hi Mike,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git dm-vdo-wip
head:   e64f626707d0a0b2908bf0d47705d755ada6fd2d
commit: e64f626707d0a0b2908bf0d47705d755ada6fd2d [61/61] dm vdo: use a proper Makefile for dm-vdo
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20231215/202312150044.hPIyz3eh-lkp@xxxxxxxxx/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231215/202312150044.hPIyz3eh-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/202312150044.hPIyz3eh-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

   drivers/md/dm-vdo/action-manager.c:64: warning: Function parameter or member 'scheduler' not described in 'action_manager'
>> drivers/md/dm-vdo/action-manager.c:64: warning: Excess struct member 'Scheduler' description in 'action_manager'


vim +64 drivers/md/dm-vdo/action-manager.c

dcbcd2b05e60cfe Matthew Sakai 2023-11-16  38  
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  39  /**
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  40   * struct action_manager - Definition of an action manager.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  41   * @completion: The completion for performing actions.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  42   * @state: The state of this action manager.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  43   * @actions: The two action slots.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  44   * @current_action: The current action slot.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  45   * @zones: The number of zones in which an action is to be applied.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  46   * @Scheduler: A function to schedule a default next action.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  47   * @get_zone_thread_id: A function to get the id of the thread on which to apply an action to a
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  48   *                      zone.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  49   * @initiator_thread_id: The ID of the thread on which actions may be initiated.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  50   * @context: Opaque data associated with this action manager.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  51   * @acting_zone: The zone currently being acted upon.
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  52   */
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  53  struct action_manager {
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  54  	struct vdo_completion completion;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  55  	struct admin_state state;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  56  	struct action actions[2];
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  57  	struct action *current_action;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  58  	zone_count_t zones;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  59  	vdo_action_scheduler_fn scheduler;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  60  	vdo_zone_thread_getter_fn get_zone_thread_id;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  61  	thread_id_t initiator_thread_id;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  62  	void *context;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  63  	zone_count_t acting_zone;
dcbcd2b05e60cfe Matthew Sakai 2023-11-16 @64  };
dcbcd2b05e60cfe Matthew Sakai 2023-11-16  65  

:::::: The code at line 64 was first introduced by commit
:::::: dcbcd2b05e60cfead83f389a2585e78f45491d56 dm vdo: add administrative state and action manager

:::::: TO: Matthew Sakai <msakai@xxxxxxxxxx>
:::::: CC: Mike Snitzer <snitzer@xxxxxxxxxx>

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




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux