Skip to contentSkip to conversation

arch/*/: remove CONFIG_VIRT_TO_BUS

PATCH Arnd Bergmann 1 participant 1 message Jun 7, 2022 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 23 lines · kernel test robot

Hi Arnd,

I love your patch! Yet something to improve:

[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on linus/master v5.19-rc1 next-20220607] [cannot apply to jejb-scsi/for-next mkp-scsi/for-next]
[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/intel-lab-lkp/linux/commits/Arnd-Bergmann/phase-out-CONFIG_VIRT_TO_BUS/20220606-164645
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git f2906aa863381afb0015a9eb7fefad885d4e5a56
config: mips-db1xxx_defconfig (https://download.01.org/0day-ci/archive/20220607/202206071416.2G4RtjW1-lkp(a)intel.com/config)
compiler: mipsel-linux-gcc (GCC) 11.3.0

All errors (new ones prefixed by >>):

   drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes]
     574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB)
         |      ^~~~~~~~~~~~~~~~
   drivers/net/ethernet/amd/au1000_eth.c: In function 'au1000_probe':
Quoted 5 lines
Quoted 1 line
Quoted 1 line

drivers/net/ethernet/amd/au1000_eth.c:1238:45: error: implicit declaration of function 'virt_to_bus'; did you mean 'virt_to_fix'? [-Werror=implicit-function-declaration]

    1238 |                 pDB->dma_addr = (dma_addr_t)virt_to_bus(pDB->vaddr);
         |                                             ^~~~~~~~~~~
         |                                             virt_to_fix

cc1: some warnings being treated as errors

Right, looks like I missed that one. I think Manuel Lauss still cares about the au1xxx platform
using this driver, so I've added a fixup [1] to my series.

Arnd

[1] https://lore.kernel.org/netdev/20220607090206.19830-1-arnd(a)kernel.org/T/