lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 17 Oct 2021 21:20:39 +0200
From:   Arnd Bergmann <>
To:     Randy Dunlap <>
Cc:     Linux Kernel Mailing List <>,
        Pierre Ossman <>,
        Ulf Hansson <>,
        linux-mmc <>,
        Geert Uytterhoeven <>,
        linux-m68k <>,
        Arnd Bergmann <>
Subject: Re: [PATCH] mmc: winbond: don't build on M68K

On Sun, Oct 17, 2021 at 7:59 PM Randy Dunlap <> wrote:
> The Winbond MMC driver fails to build on ARCH=m68k so prevent
> that build config. Silences these build errors:
> ../drivers/mmc/host/wbsd.c: In function 'wbsd_request_end':
> ../drivers/mmc/host/wbsd.c:212:28: error: implicit declaration of function 'claim_dma_lock' [-Werror=implicit-function-declaration]
>   212 |                 dmaflags = claim_dma_lock();
> ../drivers/mmc/host/wbsd.c:215:17: error: implicit declaration of function 'release_dma_lock'; did you mean 'release_task'? [-Werror=implicit-function-declaration]
>   215 |                 release_dma_lock(dmaflags);

It looks like m68k and sparc declare this function in asm/floppy.h,
while everyone
else has it in asm/dma.h.

Not sure if it's worth fixing in a better way, but I suspect sparc
would have the
same issue here.


Powered by blists - more mailing lists