From patchwork Tue Aug 28 14:24:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 145331 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp1253830ljw; Tue, 28 Aug 2018 07:24:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZWiHlOVwHwY8+4jRb8Zn4DcuFjxoUfYT9+W1E5EEKkPKLR9xsn1kyjWW2zSTx0pmiX+Ewa X-Received: by 2002:a62:c082:: with SMTP id g2-v6mr1881042pfk.72.1535466266223; Tue, 28 Aug 2018 07:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535466266; cv=none; d=google.com; s=arc-20160816; b=ShisUN3UfbhJ9v/ReavSPEKTdifMhEBV3bzoYDzAn0RRldNZ+34vZw9ShnCvw6Y/VZ kRcLxrZvX5kDHyalFxsExnzGxd8VlBk5pdCGL6b+yKcJ/u3t1VwzW8BK0LvWr5ocWK5y bC8m826oUyaDOGxkKO/Odd7F0W4wbLyQKLppVvPMMXPoEs+0mIAeE59T0T62/2K9j7vr a2cdDb9nCuHR04uXO8UC93+cHbp0+nl7qmnQk50vteRuaSBD9j1AH68t2WwNUowA5Thn 9F+wYtFCxeXvMPe0HRfGx3Ohhj6/RanARvuiOPFNVzagMiv7z1wqrAheKnOf8lnk/s9A 6WYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=KcFzbcYOQ1xiLMaN/Eh0sKOGIuSv1gy9/LNssarYENM=; b=Qo9swQfIk+gENcRyopqxBtBZQuLwWOtBoUWxJReDeGZB9Ch7Cw3Gzg2ZlmuBexQhWU mKkOW+7/I8P1Dz8XIWdkK5Jw5hZHXrfmUwW13ldRYCrgG5fg4ik/GG/1AP1f6iaYGO+U NOHV8zcpj1fqxTLANTmMLpBpSfMrkeLebEwHig67686QpzEwhK3EBTf4jCFLw0H3oP17 O8wh07cUpu/76CBRsCioqX47GJAuoFiFLbDj4IbduK9wpjOEk6uQPN2XCrw2B/V2CpSf o+mL2//QwDw2bAT2wSycMAYObqQoFszSahDGxuxNuFR2dk6FL4H5M5vokwAOEKdUfrs4 ip7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RBQT1Wl3; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i64-v6si1097579pfc.16.2018.08.28.07.24.26; Tue, 28 Aug 2018 07:24:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RBQT1Wl3; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727519AbeH1SQT (ORCPT + 1 other); Tue, 28 Aug 2018 14:16:19 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:40716 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbeH1SQT (ORCPT ); Tue, 28 Aug 2018 14:16:19 -0400 Received: by mail-lj1-f195.google.com with SMTP id j19-v6so1581385ljc.7 for ; Tue, 28 Aug 2018 07:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=KcFzbcYOQ1xiLMaN/Eh0sKOGIuSv1gy9/LNssarYENM=; b=RBQT1Wl3bFurHVO5Ruk+fKm+zAVK02EKXodRYHFuZ1lzVO/GdcQkOHvCAukziVpfuH LdaKV8yyX7cQx2u/PZ5S2CCZdmDapX36VUPZNw1sGlBN/uzuZVs7zEqF8EIzrC/QHgrm kAqqshq3yAUWVEnk6QRgIWBz4QbwYWic6w9qw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=KcFzbcYOQ1xiLMaN/Eh0sKOGIuSv1gy9/LNssarYENM=; b=rz0ctbtdhIMvYcEAMoH37ZZpCbSZkDDtQllCi/xM4Xbq58KL+Wnqo1OoR5cNTXP+A9 IdqbXC+9+2uiShbkJ/Yrh3f9HYW60wZDGE8emircgr0Vy5XQttL+X98iyFNn+AXssMwz Ctx4XSgXCDDMz3xuV84a4OdjBAZ3TkseCuQprsNV71z5TnFHx1bSAoN1yzPI7stHUZgk whiPYzlEn+lSoSBfFzHPLYB75Qlu3R32aHkG8oSskq8Q2YOut9tz6YjUlSdpkecdwZFu MxLE172iLkCghoHLfrtB0IFsVZGGhBas/bKFn2Mg4glPtl5Bu/5Cc8QwIEEgApLfLvxB doQg== X-Gm-Message-State: APzg51CskGN3x7RgWlD0Eph5aX+1qVmlM9MAQsIvh1zY1HoOFFz5pAR2 56HrXXWFp9GlUulCY3ahQEZA5w== X-Received: by 2002:a2e:3005:: with SMTP id w5-v6mr1463002ljw.20.1535466263478; Tue, 28 Aug 2018 07:24:23 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id c5-v6sm229607lff.65.2018.08.28.07.24.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 07:24:22 -0700 (PDT) From: Sam Protsenko To: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, codalist@coda.cs.cmu.edu, coda@cs.cmu.edu Cc: Jan Harkes , "James E.J. Bottomley" , "Martin K. Petersen" , Praneeth Bajjuri , Paul Sokolovsky , Miklos Szeredi , Sumit Semwal , Ruslan Bilovol , Andy Shevchenko Subject: [PATCH 0/2] Fix allmodconfig build with bare-metal toolchain Date: Tue, 28 Aug 2018 17:24:19 +0300 Message-Id: <20180828142421.15335-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org 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 | 2 +- drivers/scsi/aic7xxx/aic79xx.h | 4 ++-- drivers/scsi/aic7xxx/aic79xx_core.c | 12 ++++++------ drivers/scsi/aic7xxx/aic79xx_pci.c | 2 +- drivers/scsi/aic7xxx/aic7xxx.h | 4 ++-- drivers/scsi/aic7xxx/aic7xxx_93cx6.c | 2 +- drivers/scsi/aic7xxx/aic7xxx_core.c | 12 ++++++------ drivers/scsi/aic7xxx/aic7xxx_pci.c | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm.h | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_scan.l | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c | 2 +- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h | 2 +- include/uapi/linux/coda.h | 5 +++++ 16 files changed, 32 insertions(+), 27 deletions(-) -- 2.18.0