mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Alpha MTD_TSUNAMI BROKEN?
@ 2023-02-22  5:37 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2023-02-22  5:37 UTC (permalink / raw)
  To: Arnd Bergmann, Richard Henderson, Ivan Kokshaysky, Matt Turner
  Cc: linux-alpha, linux-kernel

Hi,

In an alpha kernel config with CONFIG_ALPHA_TSUNAMI=y
and CONFIG_MTD_TSUNAMI=y, the MTD driver build fails with:

../drivers/mtd/maps/tsunami_flash.c: In function 'tsunami_flash_read8':
../drivers/mtd/maps/tsunami_flash.c:21:20: error: implicit declaration of function 'tsunami_tig_readb'; did you mean 'tsunami_readb'? [-Werror=implicit-function-declaration]
   21 |         val.x[0] = tsunami_tig_readb(offset);
      |                    ^~~~~~~~~~~~~~~~~
      |                    tsunami_readb
../drivers/mtd/maps/tsunami_flash.c: In function 'tsunami_flash_write8':
../drivers/mtd/maps/tsunami_flash.c:27:9: error: implicit declaration of function 'tsunami_tig_writeb'; did you mean 'tsunami_writeb'? [-Werror=implicit-function-declaration]
   27 |         tsunami_tig_writeb(value.x[0], offset);
      |         ^~~~~~~~~~~~~~~~~~
      |         tsunami_writeb


The tsunami_tig_{readb,writeb{}() functions are completely missing.
I don't see any macros that would generate such function names.

I have searched both kernel/git/history/history.git and
kernel/git/mpe/linux-fullhistory.git (both at git.kernel.org)
and found no such functions. (It's possible that I could have
missed something here: all I did was 'git grep tsunami_tig'.
Do I need to do 'git checkout <something really old>' first?)

Should these functions just be tsunami_readb() and tsunami_writeb()
like the compiler asks?
Or should we mark this driver as BROKEN?

Thanks.
-- 
~Randy

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

only message in thread, other threads:[~2023-02-22  5:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-22  5:37 Alpha MTD_TSUNAMI BROKEN? Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®