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: 10580657 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A076F5A4 for ; Wed, 29 Aug 2018 17:00:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E2362B642 for ; Wed, 29 Aug 2018 17:00:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 81AD82B6B7; Wed, 29 Aug 2018 17:00:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2B5462B642 for ; Wed, 29 Aug 2018 17:00:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728295AbeH2U6J (ORCPT ); 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-Google-Smtp-Source: ANB0Vdb46NH5tA4g+PpbZKDIrN90TnJB/qaWIGwWterJLlZch/Y3EmNhP4CWFmRfKO3Hy8Mtow0+aA== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-)