Hi Muneendra,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on scsi/for-next]
[also build test ERROR on mkp-scsi/for-next cgroup/for-next v5.9 next-20201016]
[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/Muneendra/blkcg-Support-to-track...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: h8300-randconfig-r026-20201019 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/59922d2173fdbcd3bf8c22d8ae58bf8b8...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201019-223933
git checkout 59922d2173fdbcd3bf8c22d8ae58bf8b82e8d39e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/nvme/host/fc.c: In function 'fc_update_appid':
> drivers/nvme/host/fc.c:3824:8: error: implicit declaration of
function 'blkcg_set_app_identifier' [-Werror=implicit-function-declaration]
3824 | ret = blkcg_set_app_identifier(app_id, cgrp_id, sizeof(app_id));
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/blkcg_set_app_identifier +3824 drivers/nvme/host/fc.c
3793
3794 /*
3795 * fc_update_appid :parses and updates the appid in the blkcg associated with
3796 * cgroupid.
3797 * @buf: buf contains both cgrpid and appid info
3798 * @count: size of the buffer
3799 */
3800 static int fc_update_appid(const char *buf, size_t count)
3801 {
3802 u64 cgrp_id;
3803 int appid_len = 0;
3804 int cgrpid_len = 0;
3805 char app_id[APPID_LEN];
3806 int ret = 0;
3807
3808 if (buf[count-1] == '\n')
3809 count--;
3810
3811 if ((count > (16+1+APPID_LEN)) || (!strchr(buf, ':')))
3812 return -EINVAL;
3813
3814 cgrpid_len = fc_parse_cgrpid(buf, &cgrp_id);
3815 if (cgrpid_len < 0)
3816 return -EINVAL;
3817 /*appid len is count - cgrpid_len -1 (: + \n) */
3818 appid_len = count - cgrpid_len - 1;
3819 if (appid_len > APPID_LEN)
3820 return -EINVAL;
3821
3822 memset(app_id, 0x0, sizeof(app_id));
3823 memcpy(app_id, &buf[cgrpid_len+1], appid_len);
3824 ret = blkcg_set_app_identifier(app_id, cgrp_id,
sizeof(app_id));
3825 if (ret < 0)
3826 return ret;
3827 return count;
3828 }
3829
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org