Content-Type: multipart/mixed; boundary="===============7516908699126070497==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 2/2] misc: open-dice: Add driver to expose DICE data to userspace Date: Tue, 14 Dec 2021 11:56:27 +0800 Message-ID: <202112141150.Hh48OleF-lkp@intel.com> In-Reply-To: <20211213195833.772892-3-dbrazdil@google.com> List-Id: --===============7516908699126070497== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi David, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on robh/for-next] [also build test WARNING on char-misc/char-misc-testing soc/for-next v5.16-= rc5] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/David-Brazdil/Driver-for-O= pen-Profile-for-DICE/20211214-040051 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-= next config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/202112= 14/202112141150.Hh48OleF-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/6fb8e9472d98abcc2dfabd43e= 95fc4ec5819ecd0 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review David-Brazdil/Driver-for-Open-Prof= ile-for-DICE/20211214-040051 git checkout 6fb8e9472d98abcc2dfabd43e95fc4ec5819ecd0 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/mi= sc/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/misc/open-dice.c: In function 'open_dice_probe': >> drivers/misc/open-dice.c:30:21: warning: format '%d' expects argument of= type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-W= format=3D] 30 | #define DRIVER_NAME "open-dice" | ^~~~~~~~~~~ drivers/misc/open-dice.c:160:49: note: in expansion of macro 'DRIVER_NAM= E' 160 | snprintf(drvdata->name, sizeof(drvdata->name), DRIVER_NAME"%d",= dev_idx++); | ^~~~~~~~~~~ drivers/misc/open-dice.c:160:62: note: format string is defined here 160 | snprintf(drvdata->name, sizeof(drvdata->name), DRIVER_NAME"%d",= dev_idx++); | ~^ | | | int | %ld vim +30 drivers/misc/open-dice.c 29 = > 30 #define DRIVER_NAME "open-dice" 31 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============7516908699126070497==--