All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:pr/642 2462/30000] drivers/staging/fsl_qbman/fsl_usdpaa.c:376:6: error: no previous prototype for 'dbci_portal'
@ 2023-11-16 12:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-16 12:07 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: oe-kbuild-all

Hi Madalin,

First bad commit (maybe != root cause):

tree:   https://github.com/Freescale/linux-fslc pr/642
head:   c8b7cf62c7fea8456dec789d550b8006d73b8f04
commit: d30d0c1e963944b56c0b21744b1996039fa4eb8c [2462/30000] config: add SDK QBMan driver
config: arm-defconfig (https://download.01.org/0day-ci/archive/20231116/202311162040.c77bnPkd-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231116/202311162040.c77bnPkd-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311162040.c77bnPkd-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from include/linux/fsl_usdpaa.h:17,
                    from drivers/staging/fsl_qbman/dpa_sys.h:66,
                    from drivers/staging/fsl_qbman/fsl_usdpaa.c:26:
   include/linux/fsl_qman.h:415:1: error: alignment 1 of 'struct qm_eqcr_entry' is less than 8 [-Werror=packed-not-aligned]
     415 | } __packed;
         | ^
   include/linux/fsl_qman.h:469:17: error: alignment 1 of 'struct <anonymous>' is less than 8 [-Werror=packed-not-aligned]
     469 |                 } __packed ern;
         |                 ^
   include/linux/fsl_qman.h:468:38: error: 'fd' offset 15 in 'struct <anonymous>' isn't aligned to 8 [-Werror=packed-not-aligned]
     468 |                         struct qm_fd fd;
         |                                      ^~
   include/linux/fsl_qman.h:486:17: error: alignment 1 of 'struct <anonymous>' is less than 8 [-Werror=packed-not-aligned]
     486 |                 } __packed dcern;
         |                 ^
   include/linux/fsl_qman.h:485:38: error: 'fd' offset 15 in 'struct <anonymous>' isn't aligned to 8 [-Werror=packed-not-aligned]
     485 |                         struct qm_fd fd;
         |                                      ^~
   include/linux/fsl_qman.h:1679:1: error: alignment 1 of 'struct qm_mcr_ceetm_cq_peek_pop_xsfdrread' is less than 8 [-Werror=packed-not-aligned]
    1679 | } __packed;
         | ^
   include/linux/fsl_qman.h:1677:22: error: 'fd' offset 14 in 'struct qm_mcr_ceetm_cq_peek_pop_xsfdrread' isn't aligned to 8 [-Werror=packed-not-aligned]
    1677 |         struct qm_fd fd;
         |                      ^~
   In file included from drivers/staging/fsl_qbman/fsl_usdpaa.c:29:
   drivers/staging/fsl_qbman/qman_low.h: In function 'qm_shutdown_fq':
   drivers/staging/fsl_qbman/qman_low.h:1291:29: error: variable 'dequeue_wq' set but not used [-Werror=unused-but-set-variable]
    1291 |                         u16 dequeue_wq = 0;
         |                             ^~~~~~~~~~
   drivers/staging/fsl_qbman/fsl_usdpaa.c: At top level:
>> drivers/staging/fsl_qbman/fsl_usdpaa.c:376:6: error: no previous prototype for 'dbci_portal' [-Werror=missing-prototypes]
     376 | void dbci_portal(void *addr)
         |      ^~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/dbci_portal +376 drivers/staging/fsl_qbman/fsl_usdpaa.c

16ff861424bca7 Madalin Bucur 2017-05-10  373  
d74c7bad305495 Roy Pledge    2017-05-25  374  
d74c7bad305495 Roy Pledge    2017-05-25  375  /* Invalidate a portal */
d74c7bad305495 Roy Pledge    2017-05-25 @376  void dbci_portal(void *addr)
d74c7bad305495 Roy Pledge    2017-05-25  377  {
d74c7bad305495 Roy Pledge    2017-05-25  378  	int i;
d74c7bad305495 Roy Pledge    2017-05-25  379  
d74c7bad305495 Roy Pledge    2017-05-25  380  	for (i = 0; i < 0x4000; i += 64)
d74c7bad305495 Roy Pledge    2017-05-25  381  		dcbi(addr + i);
d74c7bad305495 Roy Pledge    2017-05-25  382  }
d74c7bad305495 Roy Pledge    2017-05-25  383  

:::::: The code at line 376 was first introduced by commit
:::::: d74c7bad3054956cf086061d138e3929718bc6dc fsl_qbman/usdpaa: Invalidate software portals before use

:::::: TO: Roy Pledge <roy.pledge@nxp.com>
:::::: CC: Dong Aisheng <aisheng.dong@nxp.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-16 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-16 12:07 [freescale-fslc:pr/642 2462/30000] drivers/staging/fsl_qbman/fsl_usdpaa.c:376:6: error: no previous prototype for 'dbci_portal' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.