Hi "Alex, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on linux/master] [cannot apply to char-misc/char-misc-testing linus/master v5.12-rc1 next-20210303] [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/Alex-Benn-e/RPMB-internal-and-user-space-API-WIP-virtio-rpmb-frontend/20210304-034302 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2ab38c17aac10bf55ab3efde4c4db3893d8691d2 config: i386-allyesconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/623292c00087bb73229681560c57142085144377 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Alex-Benn-e/RPMB-internal-and-user-space-API-WIP-virtio-rpmb-frontend/20210304-034302 git checkout 623292c00087bb73229681560c57142085144377 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): drivers/char/rpmb/virtio_rpmb.c: In function 'rpmb_virtio_get_write_count': >> drivers/char/rpmb/virtio_rpmb.c:227:1: warning: the frame size of 1104 bytes is larger than 1024 bytes [-Wframe-larger-than=] 227 | } | ^ drivers/char/rpmb/virtio_rpmb.c: In function 'rpmb_virtio_program_key': drivers/char/rpmb/virtio_rpmb.c:175:1: warning: the frame size of 1108 bytes is larger than 1024 bytes [-Wframe-larger-than=] 175 | } | ^ vim +227 drivers/char/rpmb/virtio_rpmb.c 191 192 static int rpmb_virtio_get_write_count(struct device *dev, u8 target) 193 { 194 struct virtio_device *vdev = dev_to_virtio(dev); 195 struct virtio_rpmb_info *vi = vdev->priv; 196 struct scatterlist out_frame; 197 struct scatterlist in_frame; 198 struct scatterlist *sgs[2]; 199 unsigned int len; 200 struct virtio_rpmb_frame resp; 201 struct virtio_rpmb_frame cmd = { 202 .req_resp = cpu_to_le16(VIRTIO_RPMB_REQ_GET_WRITE_COUNTER) 203 }; 204 205 mutex_lock(&vi->lock); 206 207 /* Wrap into SG array */ 208 sg_init_one(&out_frame, &cmd, sizeof(cmd)); 209 sg_init_one(&in_frame, &resp, sizeof(resp)); 210 sgs[0] = &out_frame; 211 sgs[1] = &in_frame; 212 213 /* Send it */ 214 virtqueue_add_sgs(vi->vq, sgs, 1, 1, vi, GFP_KERNEL); 215 virtqueue_kick(vi->vq); 216 wait_event(vi->have_data, virtqueue_get_buf(vi->vq, &len)); 217 218 mutex_unlock(&vi->lock); 219 220 if (le16_to_cpu(resp.req_resp) != VIRTIO_RPMB_RESP_GET_COUNTER) { 221 dev_err(dev, "failed to program key (%x/%x)", 222 le16_to_cpu(resp.req_resp), le16_to_cpu(resp.result)); 223 return -EPROTO; 224 } 225 226 return le16_to_cpu(resp.result) == VIRTIO_RPMB_RES_OK ? be32_to_cpu(resp.write_counter) : -EIO; > 227 } 228 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org