All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jim Quinlan <jim2101024@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, open list <linux-kernel@vger.kernel.org>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Subject: Re: arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all'
Date: Sun, 22 May 2022 09:50:04 -0400	[thread overview]
Message-ID: <CANCKTBuu3M+5q=UY9Zc82vny4stMHCY+B_f7bSEz5RJT8wyZ5w@mail.gmail.com> (raw)
In-Reply-To: <202205220745.AYB1Q33g-lkp@intel.com>

On Sat, May 21, 2022 at 7:16 PM kernel test robot <lkp@intel.com> wrote:
>
> Hi Jim,get_mac_address(struct device_node *np, u8 *mac)

$ stbsrv-and-01  3:51pm  [Cwd: /work3/jq921458/git/up-linux-arm64]
                         [Git: pci-regression-for-cm4-w1-v1  2dda4836141d]
$
>
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   6c3f5bec9b40b9437410abb08eccd5cdd1598a3c
> commit: d552ddeaab4a15a8dc157ac007833aa0b3706862 MIPS: bmips: Remove obsolete DMA mapping support
> date:   4 months ago
> config: mips-randconfig-r004-20220522 (https://download.01.org/0day-ci/archive/20220522/202205220745.AYB1Q33g-lkp@intel.com/config)
> compiler: mips-linux-gcc (GCC) 11.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d552ddeaab4a15a8dc157ac007833aa0b3706862
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout d552ddeaab4a15a8dc157ac007833aa0b3706862
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/bmips/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
> >> arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all' [-Wmissing-prototypes]
>        7 | void arch_sync_dma_for_cpu_all(void)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> vim +/arch_sync_dma_for_cpu_all +7 arch/mips/bmips/dma.c

Hello,
I will take care of this ASAP.
Regards,
Jim Quinlan
Broadcom STB

>
> d666cd0246f78b arch/mips/bcm3384/dma.c Kevin Cernekee    2014-10-20  6
> 56e35f9c5b87ec arch/mips/bmips/dma.c   Christoph Hellwig 2019-11-07 @7  void arch_sync_dma_for_cpu_all(void)
>
> :::::: The code at line 7 was first introduced by commit
> :::::: 56e35f9c5b87ec1ae93e483284e189c84388de16 dma-mapping: drop the dev argument to arch_sync_dma_for_*
>
> :::::: TO: Christoph Hellwig <hch@lst.de>
> :::::: CC: Christoph Hellwig <hch@lst.de>
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

WARNING: multiple messages have this Message-ID (diff)
From: Jim Quinlan <jim2101024@gmail.com>
To: kbuild-all@lists.01.org
Subject: Re: arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all'
Date: Sun, 22 May 2022 09:50:04 -0400	[thread overview]
Message-ID: <CANCKTBuu3M+5q=UY9Zc82vny4stMHCY+B_f7bSEz5RJT8wyZ5w@mail.gmail.com> (raw)
In-Reply-To: <202205220745.AYB1Q33g-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2566 bytes --]

On Sat, May 21, 2022 at 7:16 PM kernel test robot <lkp@intel.com> wrote:
>
> Hi Jim,get_mac_address(struct device_node *np, u8 *mac)

$ stbsrv-and-01  3:51pm  [Cwd: /work3/jq921458/git/up-linux-arm64]
                         [Git: pci-regression-for-cm4-w1-v1  2dda4836141d]
$
>
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   6c3f5bec9b40b9437410abb08eccd5cdd1598a3c
> commit: d552ddeaab4a15a8dc157ac007833aa0b3706862 MIPS: bmips: Remove obsolete DMA mapping support
> date:   4 months ago
> config: mips-randconfig-r004-20220522 (https://download.01.org/0day-ci/archive/20220522/202205220745.AYB1Q33g-lkp(a)intel.com/config)
> compiler: mips-linux-gcc (GCC) 11.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d552ddeaab4a15a8dc157ac007833aa0b3706862
>         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>         git fetch --no-tags linus master
>         git checkout d552ddeaab4a15a8dc157ac007833aa0b3706862
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/bmips/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All warnings (new ones prefixed by >>):
>
> >> arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all' [-Wmissing-prototypes]
>        7 | void arch_sync_dma_for_cpu_all(void)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> vim +/arch_sync_dma_for_cpu_all +7 arch/mips/bmips/dma.c

Hello,
I will take care of this ASAP.
Regards,
Jim Quinlan
Broadcom STB

>
> d666cd0246f78b arch/mips/bcm3384/dma.c Kevin Cernekee    2014-10-20  6
> 56e35f9c5b87ec arch/mips/bmips/dma.c   Christoph Hellwig 2019-11-07 @7  void arch_sync_dma_for_cpu_all(void)
>
> :::::: The code at line 7 was first introduced by commit
> :::::: 56e35f9c5b87ec1ae93e483284e189c84388de16 dma-mapping: drop the dev argument to arch_sync_dma_for_*
>
> :::::: TO: Christoph Hellwig <hch@lst.de>
> :::::: CC: Christoph Hellwig <hch@lst.de>
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

  reply	other threads:[~2022-05-22 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-21 23:16 arch/mips/bmips/dma.c:7:6: warning: no previous prototype for 'arch_sync_dma_for_cpu_all' kernel test robot
2022-05-22 13:50 ` Jim Quinlan [this message]
2022-05-22 13:50   ` Jim Quinlan
  -- strict thread matches above, loose matches on Subject: below --
2022-04-23 20:24 kernel test robot

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='CANCKTBuu3M+5q=UY9Zc82vny4stMHCY+B_f7bSEz5RJT8wyZ5w@mail.gmail.com' \
    --to=jim2101024@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=tsbogend@alpha.franken.de \
    /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.