linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix allmodconfig build with bare-metal toolchain
@ 2018-08-29 17:00 Sam Protsenko
  2018-08-29 17:00 ` [PATCH v2 1/2] codafs: Fix build using " Sam Protsenko
  2018-08-29 17:00 ` [PATCH v2 2/2] scsi: aic7xxx: " Sam Protsenko
  0 siblings, 2 replies; 5+ messages in thread
From: Sam Protsenko @ 2018-08-29 17:00 UTC (permalink / raw)
  To: linux-kernel, linux-scsi, codalist, coda
  Cc: Jan Harkes, James E.J. Bottomley, Martin K. Petersen,
	Praneeth Bajjuri, Paul Sokolovsky, Miklos Szeredi, Sumit Semwal,
	Ruslan Bilovol, Andy Shevchenko, Christoph Hellwig

Attempt to build allmodconfig (for ARM platforms) using bare-metal
toolchain fails with errors related to __linux__ definition. It's only
defined on Linux toolchains, but not defined on bare-metal toolchains.
This patch series fixes that.

Some similar patches (for different files) were applied previously:
  - commit 4c82456eeb4d ("fuse: fix type definitions in uapi header")
  - commit b6330548383c ("drm.h: Fix DRM compilation with bare-metal
toolchain.")

Sam Protsenko (2):
  codafs: Fix build using bare-metal toolchain
  scsi: aic7xxx: Fix build using bare-metal toolchain

 drivers/scsi/aic7xxx/aic7770.c                |  6 ---
 drivers/scsi/aic7xxx/aic79xx.h                |  6 ---
 drivers/scsi/aic7xxx/aic79xx_core.c           | 43 -------------------
 drivers/scsi/aic7xxx/aic79xx_pci.c            |  6 ---
 drivers/scsi/aic7xxx/aic7xxx.h                |  6 ---
 drivers/scsi/aic7xxx/aic7xxx_93cx6.c          |  6 ---
 drivers/scsi/aic7xxx/aic7xxx_core.c           | 40 +----------------
 drivers/scsi/aic7xxx/aic7xxx_pci.c            |  7 ---
 drivers/scsi/aic7xxx/aicasm/aicasm.h          |  4 --
 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y     |  4 --
 .../scsi/aic7xxx/aicasm/aicasm_macro_gram.y   |  4 --
 .../scsi/aic7xxx/aicasm/aicasm_macro_scan.l   |  4 --
 drivers/scsi/aic7xxx/aicasm/aicasm_scan.l     |  4 --
 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c   |  4 --
 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h   |  4 --
 include/linux/coda.h                          |  3 +-
 16 files changed, 2 insertions(+), 149 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-09-11 16:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-29 17:00 [PATCH v2 0/2] Fix allmodconfig build with bare-metal toolchain Sam Protsenko
2018-08-29 17:00 ` [PATCH v2 1/2] codafs: Fix build using " Sam Protsenko
2018-09-11 16:53   ` Sam Protsenko
2018-08-29 17:00 ` [PATCH v2 2/2] scsi: aic7xxx: " Sam Protsenko
2018-08-30 11:41   ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).