Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp176349imm; Tue, 25 Sep 2018 18:52:19 -0700 (PDT) X-Google-Smtp-Source: ACcGV63sI+HkBGHBqpbkrCIWetrsF1i5VA2m97Ush3csZUoABFhyxxPsTJwSZVRxF4HtTVCd5VO4 X-Received: by 2002:a62:c80d:: with SMTP id z13-v6mr3782565pff.176.1537926739421; Tue, 25 Sep 2018 18:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537926739; cv=none; d=google.com; s=arc-20160816; b=PjEKPafU1Fqrr4wiF6z3h9ik3lVGes2A9PmioYvUDVs7FxucwNzwJg9GsRXXkdL8rS KDbuZmlzRmrjkqT0Mx8wJktgqgsCRjGP2vNf++1i0bBZQKBEkkB/Yt6lH7SG4Oo8j7Ln l8FcPZ46eRrzlM/+l3RuB7a9RfWZ7aCt80UGarbB76bHVOjFJM7DKL3WCitquVvrtOEa jNAwsd+P1fn+P/56x45oMeor5eIRbdnzAfH1UhI85of/nVhaeCiwVyNZzQ6JAEbX+YSi /w+c/DgYLGemueFkkdv6vWgYJ012n+kY4tP3bSMN4Y92vhCiLTweLSgdxQdjW5zFTLsD uvJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=ulGHC4QQhwm75pxjmiUmW94PlIRpANSoQl6dsxZBdhA=; b=I+01XWwj+zb7u2IyV5Ws81of+N/VT+XP6mZscZoox7gL/O8gSG+X0SuUx8AV6kut55 w/+lrzu9A3G/H9ESBl+9DFtqMKG2SsRRGQNeZr/+0InwQZflvynSnu642aBqtmxPPs7S MojS1Kff8F6bcfTdGSHVAu5Rm3vicQj4CF4eKKCYUwP9a4oDIb9VmDf5GOPRyGl58bIL eLc2L+Hbxc53BwpVAAonwHIee0w8XzXa9k3nL2mb1ue/bJSXwuNIWhAPVYQhjaQYSRpY hLOZypozvLt9t5+SG/0DWoSz0LScrqxy2+Dh6tBkKaQLoX6DyuiBntYVa/a9Vf7C78HQ E9Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="qOOfxf/v"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si3735993pgk.688.2018.09.25.18.52.03; Tue, 25 Sep 2018 18:52:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@gmail.com header.s=20161025 header.b="qOOfxf/v"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727216AbeIZICT (ORCPT + 99 others); Wed, 26 Sep 2018 04:02:19 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:45258 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbeIZICT (ORCPT ); Wed, 26 Sep 2018 04:02:19 -0400 Received: by mail-qk1-f195.google.com with SMTP id q20-v6so10434883qkc.12; Tue, 25 Sep 2018 18:51:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=ulGHC4QQhwm75pxjmiUmW94PlIRpANSoQl6dsxZBdhA=; b=qOOfxf/vw6QuYn6OXzVz966/yociS5RE3D3Mk+TXi54qMJ3f4p6vIPEzZJBNzM8tmK Fw+M4ylAMUn4Pa4A082ufxmeaWZvwkylLz06kKV3VYRqtBFCeT6ocby4cFD8v7UCLd6b g/13OhJst4m82p4akDicVibISgNvA72iLgyquEDtDs31d+jVVTXgluanz5i0UXb84VRQ xc7TuG5njUtKcVO9QV26/yeqKLHVRXPQpRGQcptlzysDVyJiVF2AEFpJZh87knCaMdal hELPLc/XU29bWdZNKBy88X3XGsrrTK9FFaQW3u6r1mkAGyx4NM0+lNySI5LHhe/NrK2J mEoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:user-agent; bh=ulGHC4QQhwm75pxjmiUmW94PlIRpANSoQl6dsxZBdhA=; b=gjXI94jE0LpThaBf7/980zJr9lYJTxNbhNEROl5/7S9Qhds0mQd4Frc30hyes+n34p o3oWDZX/CnVpEAOSJUug/6vIlkg3D4uU3bfKo39iySgClYeFXeqBAMUGUs6nLt1K8Sha UMFt15O1AimsQwSRusgzy54ViT6LCJbNr3Gy6ts6tv/LFXygbsYI0YXgUKtOSAh1WOOd 6QOrFcND6sPnGYCoLVqK/Fs5UwyGQIclC0AOqKHJ/bSp1PA0/xEKlhNzNYXbR+SYpW1a OPTqH7YNHMKQQrZ9SHGvKXjIeMM0v/XWEMbioHWybJSAo28aKBwTG+m/uPDp1ymMFstu a6Vg== X-Gm-Message-State: ABuFfogg/eNLAgstZpT0/pyaQ3fY0Tog4QNtYHCMxpGuKONY65n3YdKZ q9202DDnFFAVjtNoezmkxI0= X-Received: by 2002:a37:2b0a:: with SMTP id r10-v6mr2729911qkh.292.1537926715838; Tue, 25 Sep 2018 18:51:55 -0700 (PDT) Received: from WindFlash ([179.159.21.48]) by smtp.gmail.com with ESMTPSA id y205-v6sm2275060qkb.56.2018.09.25.18.51.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Sep 2018 18:51:55 -0700 (PDT) Date: Tue, 25 Sep 2018 22:51:47 -0300 From: Leonardo =?utf-8?B?QnLDoXM=?= To: lkcamp@lists.libreplanetbr.org Cc: Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org Subject: [PATCH 0/7] Remove errors building drivers/DRIVERNAME Message-ID: <20180926015147.GA14862@WindFlash> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This Patchset changes some driver's Makefile to allow them building using the command 'make drivers/DRIVERNAME', if compatible. The changed drivers would return error if the above command was run on them, after an x86 allyesconfig. The main reason of this patchset is to allow building lists of drivers looking for warnings and errors to be fixed. My main objective is to allow developers with low processing power to do changes in the kernel and look bugs using free services like GiltabCI. If there is any interest helping/using this, I have a prototype in https://gitlab.com/LeoBras/linux-next. Leonardo BrĂ¡s (7): drivers: dio: Avoids building driver if CONFIG_DIO is disabled drivers: nubus: Avoids building driver if CONFIG_NUBUS is disabled drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled drivers: zorro: Avoids building proc.o if CONFIG_ZORRO is disabled drivers: s390: Avoids building drivers if ARCH is not s390. drivers: oprofile: Avoids building driver from direct make command drivers: hwtracing: Adds Makefile to enable building from directory. drivers/Makefile | 4 +--- drivers/dio/Makefile | 2 +- drivers/hwtracing/Makefile | 3 +++ drivers/nubus/Makefile | 6 +++--- drivers/oprofile/Makefile | 1 + drivers/parisc/Makefile | 2 +- drivers/s390/Makefile | 8 ++++---- drivers/zorro/Makefile | 2 +- 8 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 drivers/hwtracing/Makefile create mode 100644 drivers/oprofile/Makefile -- 2.19.0