Re: [PATCH v2 2/2] scsi: aic7xxx: Fix build using bare-metal toolchain

From: Martin K. Petersen
Date: Thu Aug 30 2018 - 07:44:02 EST



Sam,

> Bare-metal toolchains don't define __linux__, so aic7xxx build with
> bare-metal toolchain is broken. This driver codebase used to be
> partially shared with FreeBSD, but these days there is no point in
> keeping the compatibility around. So let's just drop FreeBSD related
> code and get rid of __linux__ checking in order to fix the build using
> bare-metal toolchains.

Applied to 4.20/scsi-queue, thank you!

--
Martin K. Petersen Oracle Linux Engineering