[PATCH v8 01/16] cgroup: Added cgroup_get_from_id

kernel test robot lkp at intel.com
Thu Mar 4 16:26:45 GMT 2021


Hi Muneendra,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on scsi/for-next]
[also build test ERROR on mkp-scsi/for-next cgroup/for-next v5.12-rc1 next-20210304]
[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-FC-storage-blk-io-traffic/20210304-203516
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: sparc-defconfig (attached as .config)
compiler: sparc-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/4f325831dc87fa3065b51e0875a58a6c27027dba
        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/20210304-203516
        git checkout 4f325831dc87fa3065b51e0875a58a6c27027dba
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/memcontrol.h:13,
                    from include/linux/tracehook.h:50,
                    from arch/sparc/kernel/signal_32.c:22:
>> include/linux/cgroup.h:748:23: error: 'cgroup_get_from_id' defined but not used [-Werror=unused-function]
     748 | static struct cgroup *cgroup_get_from_id(u64 id)
         |                       ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/cgroup_get_from_id +748 include/linux/cgroup.h

   747	
 > 748	static struct cgroup *cgroup_get_from_id(u64 id)
   749	{
   750		return NULL;
   751	}
   752	#endif /* !CONFIG_CGROUPS */
   753	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 13305 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20210305/b16cc110/attachment-0001.gz>


More information about the Linux-nvme mailing list