[linux-next:master 3158/4257] drivers/soc/fsl/dpio/dpio-service.c:495:1: warning: the frame size of 1036 bytes is larger than 1024 bytes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bdc5461b23ca293a2a83c851423aae0dd32a48c0
commit: 9d98809711ae0ebcfb8115a0bc54604c59908710 [3158/4257] soc: fsl: dpio: Adding QMAN multiple enqueue interface
config: i386-randconfig-d003-20200225 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
        git checkout 9d98809711ae0ebcfb8115a0bc54604c59908710
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   drivers/soc/fsl/dpio/dpio-service.c: In function 'dpaa2_io_service_enqueue_multiple_desc_fq':
>> drivers/soc/fsl/dpio/dpio-service.c:495:1: warning: the frame size of 1036 bytes is larger than 1024 bytes [-Wframe-larger-than=]
    }
    ^

vim +495 drivers/soc/fsl/dpio/dpio-service.c

   464	
   465	/**
   466	 * dpaa2_io_service_enqueue_multiple_desc_fq() - Enqueue multiple frames
   467	 * to different frame queue using a list of fqids.
   468	 * @d: the given DPIO service.
   469	 * @fqid: the given list of frame queue ids.
   470	 * @fd: the frame descriptor which is enqueued.
   471	 * @nb: number of frames to be enqueud
   472	 *
   473	 * Return 0 for successful enqueue, -EBUSY if the enqueue ring is not ready,
   474	 * or -ENODEV if there is no dpio service.
   475	 */
   476	int dpaa2_io_service_enqueue_multiple_desc_fq(struct dpaa2_io *d,
   477					u32 *fqid,
   478					const struct dpaa2_fd *fd,
   479					int nb)
   480	{
   481		int i;
   482		struct qbman_eq_desc ed[32];
   483	
   484		d = service_select(d);
   485		if (!d)
   486			return -ENODEV;
   487	
   488		for (i = 0; i < nb; i++) {
   489			qbman_eq_desc_clear(&ed[i]);
   490			qbman_eq_desc_set_no_orp(&ed[i], 0);
   491			qbman_eq_desc_set_fq(&ed[i], fqid[i]);
   492		}
   493	
   494		return qbman_swp_enqueue_multiple_desc(d->swp, &ed[0], fd, nb);
 > 495	}
   496	EXPORT_SYMBOL(dpaa2_io_service_enqueue_multiple_desc_fq);
   497	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux