[jens-wiklander-tee:testing/tuxbuild 3/4] drivers/mmc/core/block.c:212: warning: Function parameter or struct member 'rdev' not described in 'mmc_rpmb_data'

kernel test robot
2024-08-12T17:30:14Z

tree: http://git.linaro.org/people/jens.wiklander/linux-tee testing/tuxbuild
head: 1eeef6f8f4da434303136dbb1f5aee3e7fd20703
commit: d5fda642a1c63784e90a28fe4c66017bf6ec1994 [3/4] tee: add tee_device_set_dev_groups()
config: x86_64-buildonly-randconfig-002-20240812 (https://download.01.org/0day-ci/archive/20240813/202408130133.WeRnnzCd-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240813/202408130133.WeRnnzCd-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408130133.WeRnnzCd-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/mmc/core/block.c:212: warning: Function parameter or struct member 'rdev' not described in 'mmc_rpmb_data'

vim +212 drivers/mmc/core/block.c

97548575bef38a Linus Walleij 2017-09-20 194
97548575bef38a Linus Walleij 2017-09-20 195 /**
97548575bef38a Linus Walleij 2017-09-20 196 * struct mmc_rpmb_data - special RPMB device type for these areas
97548575bef38a Linus Walleij 2017-09-20 197 * @dev: the device for the RPMB area
97548575bef38a Linus Walleij 2017-09-20 198 * @chrdev: character device for the RPMB area
97548575bef38a Linus Walleij 2017-09-20 199 * @id: unique device ID number
97548575bef38a Linus Walleij 2017-09-20 200 * @part_index: partition index (0 on first)
97548575bef38a Linus Walleij 2017-09-20 201 * @md: parent MMC block device
97548575bef38a Linus Walleij 2017-09-20 202 * @node: list item, so we can put this device on a list
97548575bef38a Linus Walleij 2017-09-20 203 */
97548575bef38a Linus Walleij 2017-09-20 204 struct mmc_rpmb_data {
97548575bef38a Linus Walleij 2017-09-20 205 struct device dev;
97548575bef38a Linus Walleij 2017-09-20 206 struct cdev chrdev;
97548575bef38a Linus Walleij 2017-09-20 207 int id;
97548575bef38a Linus Walleij 2017-09-20 208 unsigned int part_index;
97548575bef38a Linus Walleij 2017-09-20 209 struct mmc_blk_data *md;
6f4804800b4e1d Jens Wiklander 2024-01-18 210 struct rpmb_dev *rdev;
97548575bef38a Linus Walleij 2017-09-20 211 struct list_head node;
97548575bef38a Linus Walleij 2017-09-20 @212 };
97548575bef38a Linus Walleij 2017-09-20 213

:::::: The code at line 212 was first introduced by commit
:::::: 97548575bef38abd06690a5a6f6816200c7e77f7 mmc: block: Convert RPMB to a character device

:::::: TO: Linus Walleij <linus.walleij@linaro.org>
:::::: CC: Ulf Hansson <ulf.hansson@linaro.org>

--
0-DAY CI Kernel Test Service