From patchwork Wed Aug 29 17:00:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 145461 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp900185ljw; Wed, 29 Aug 2018 10:00:21 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZS4fdsdDAeNTzppYkKo5CpqD1nk38qcHkk1r+aTwiVmvIpPNp1WPSmGcwk5LEtvDLONNrn X-Received: by 2002:a63:1153:: with SMTP id 19-v6mr4251366pgr.53.1535562021190; Wed, 29 Aug 2018 10:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535562021; cv=none; d=google.com; s=arc-20160816; b=JX6ljxyRTaxNOKjLLlOqW/yKWJENY9FZB1WxDclZ1oUgXxNJ59H1bBX+Z+OZwAiu+O /eNo428bmCHH7KUIMFAFlnWVCwabjUPhxNk+GjsKJink5f+dd4t/iMBCLLosDf1y8MTC 2S3PVyPewfQ1N1Q0kiP1j/Jab8AlX9We8al90SY5lziOFxFfXaZv3viBEmoNmGG5T020 EYMEpIy5M3iosSTc3TI7xF7+vY/tE1LjUOoDMNouQI0nw9njpOnnyPTGAC+XK4lxEGWw xNsPqN+xSS1/g11FoOp866Olw03t1obWqpu2dEBJppKWU01L72QL32TD8Or0b8rb0zms 8Beg== 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=YqKsD95f2OO61iVJlaOUp1to5LgjMVcac79gGsdZvNE=; b=095ZN1fH4azvmNZLYtay/PR+NdRU2ciYngp+vnQhWhMUKMxn7EOP33bnUMfsG0qqhg b9CVuj+ybG73HdFg64P5AQU26EORmh3keuzWy7XGK5RbZrS+l/TrBd8+eMQj1T6AbzDe T+QOvdHtOf8M7yEKy4iFoVX4Ax4/nxiIppcOxldkf6P8YAGN1mdb2+4MXtvHh3bNnMBp Hc3vujV+CHNvbKARCMkMYFvzimnvuZ/v78GwzaXXuGij7YWMNw9h/i+KQysAyoIzg+gR PCLqtS9CzAoSOuxKTg/TyZf2kUfWcygC14ATUadNbjdNwXQZBD9u/rnLO+Z4/x6HQhgX QTng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aMSAX4QY; 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 f40-v6si4391861plb.504.2018.08.29.10.00.20; Wed, 29 Aug 2018 10:00:21 -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=aMSAX4QY; 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 S1728295AbeH2U6J (ORCPT + 1 other); Wed, 29 Aug 2018 16:58:09 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:43449 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727245AbeH2U6I (ORCPT ); Wed, 29 Aug 2018 16:58:08 -0400 Received: by mail-lf1-f65.google.com with SMTP id h64-v6so4855282lfi.10 for ; Wed, 29 Aug 2018 10:00:18 -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=YqKsD95f2OO61iVJlaOUp1to5LgjMVcac79gGsdZvNE=; b=aMSAX4QYBwEw+7GsjeG+hreLJIjA53lamtIntHnyljzGBhmH47r95StQw8h53oJnCk yzxeK17s7Obh4w6bDGd2q7bPT8RVxkQNP6z+zxhIgNR86PG+Mk8MamViDwG9dL3rHdqv s1cGS7drzpgJk7t4qiSiBB/ssy8xNmr/SG5is= 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=YqKsD95f2OO61iVJlaOUp1to5LgjMVcac79gGsdZvNE=; b=DhucCeX/7zBqo6Ripi9SpQfZFU84C/KyIDjEINkH9nKV73vJy8Ku3vM3WQJnYUtnNY GLva85dKge4aJbr3JaCT9G7VhfWin4QI0qkmAItNNR3zLE+MnNDI0/OA2kZCq4Zd1bgr 1kiHO7Y8kjsSxwxwGN+GWku1I3nhXhmq0nEezSwQn6RqIz+9gPTVtvG+hRLlEDIKnzwp llmu64D0S67JphItg77VBntmvpPllRdgtD7bm95Gv//vRXJ/aM7PtnaNg8Ao4s/vzSQB badct3OWmBEC9gQfvLn+fvNXMvtlr+nBnDwxRTdH97uN5yMd+/rhI3YrRN5WlpYQbXPs iNcA== X-Gm-Message-State: APzg51CvBcFG562bCqnqG5T5zN7BWiKLhzrNRPYC9X1kaGPGvNKhIry5 31IQqq3ydkpHMiYY4F+0Yv4uTw== X-Received: by 2002:a19:c38b:: with SMTP id t133-v6mr5108791lff.7.1535562017307; Wed, 29 Aug 2018 10:00:17 -0700 (PDT) Received: from localhost ([195.238.92.132]) by smtp.gmail.com with ESMTPSA id m71-v6sm788577lje.84.2018.08.29.10.00.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 10:00:16 -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 , Christoph Hellwig Subject: [PATCH v2 0/2] Fix allmodconfig build with bare-metal toolchain Date: Wed, 29 Aug 2018 20:00:13 +0300 Message-Id: <20180829170015.7729-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 | 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