tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tj/cgroup.git review-iocost-v2 head: deaaabcc443b8e576ad5a9cde55e87f67e5ae467 commit: d1409e6f65e258920b2a935a937a3761de2971a0 [8/12] blkcg: implement blk-iocost If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> New smatch warnings: block/blk-iocost.c:1866 ioc_cpd_alloc() error: potential null dereference 'iocc'. (kzalloc returns null) Old smatch warnings: include/linux/compiler.h:226 __write_once_size() warn: potential memory corrupting cast 8 vs 4 bytes vim +/iocc +1866 block/blk-iocost.c 1860 1861 static struct blkcg_policy_data *ioc_cpd_alloc(gfp_t gfp) 1862 { 1863 struct ioc_cgrp *iocc; 1864 1865 iocc = kzalloc(sizeof(struct ioc_cgrp), gfp); > 1866 iocc->dfl_weight = CGROUP_WEIGHT_DFL; 1867 1868 return &iocc->cpd; 1869 } 1870 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation