All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [freescale-fslc:pr/642 2462/30000] drivers/staging/fsl_qbman/fsl_usdpaa.c:376:6: error: no previous prototype for 'dbci_portal'
Date: Thu, 16 Nov 2023 20:07:58 +0800	[thread overview]
Message-ID: <202311162040.c77bnPkd-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-11-16 12:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311162040.c77bnPkd-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.