Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp392672imm; Wed, 26 Sep 2018 00:05:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV62YiI+/YtYLjeDepDsWa8j1llhFXrKBuwUwPaJXtGYn+zFrhk6d0ov/cq20OBroeaTLY0a5 X-Received: by 2002:a17:902:7c15:: with SMTP id x21-v6mr4643074pll.157.1537945541566; Wed, 26 Sep 2018 00:05:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537945541; cv=none; d=google.com; s=arc-20160816; b=da0VfnWxEKCL8kA60gohaJnAbFt7X2XpFOQrWLyVKx/0fHqBpalUNQ3sGg8BC5DlDh x4zAI7/80BQeizBTZagm1ZwbrhVhUgwPzbVNnopUi9FjJ6ZenATDEoD5u/kF6bQFq9sp hjCH0RBncTLEZSnwTBHgzkW+5KQ1gTMuSKbk5MaL6bKeyf0yswaV/S3HkIgpmk1MqnWf lJv3ogwPOLbZ2AIeDk8wwRlTBczOEa370XVbkTMlzIVFw640vWg8MXdQawffZAZJJhan 8sOz7sU5yTqPsHn0fhGBqsv9/I1Ej258zYhlaDw8QZwemA+Qp3N9ivro6ONYbSCS9kkd unwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=j3pXZR6EefJcRpy/fa3vC2Zg2k5l0JSxCoG7mciAxxY=; b=RQEz6Q/zwUZZOgQy8Rm5KKHCu6clOyTdkZAcn3FuTWdzKcY2EwN9QoSUg9VW5Q22u+ oXy3zF0AL7RQQOhxGKDo+cZbdKrmw4ZTrtMd5GbN0O9NwKrD4H1PdS92kxPD0rTfyANB +WQvYg9Qia5oFD+Oh8sGCmPcSJH+oICGa+8GGhnlq4q0vxmZYz05KcfyeYIX9oG/yDHQ oq5gySYYPS+xHo6SgBTNJ8okH56lDsVq1Ic0CJJel0uGBE1QV4jwS19ULAfKPC1uKeWf DnIergWfypjfYCd4qqElyrPSv6KVUt7ObuJjAhgP7HQfepKBLWqY/jk0RJOo652UejCg SCQg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay10-v6si4528845plb.293.2018.09.26.00.05.25; Wed, 26 Sep 2018 00:05:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727139AbeIZNQo convert rfc822-to-8bit (ORCPT + 99 others); Wed, 26 Sep 2018 09:16:44 -0400 Received: from mail-vs1-f68.google.com ([209.85.217.68]:43987 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726467AbeIZNQo (ORCPT ); Wed, 26 Sep 2018 09:16:44 -0400 Received: by mail-vs1-f68.google.com with SMTP id y22-v6so1771325vsj.10; Wed, 26 Sep 2018 00:05:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=e+HTNIJM+xn+xoUx++zPbQFgb49So6CykUMhycjkewk=; b=WV9UUEXTzDFaSyDdlTds7nz4aD8BH4Kjpc0OuZz/EIO7tGkQlVRJB4an+CraYh+89a YfAX3gE8G8Rs9HM0nt260ZHTryzmH99RtWVVmkfvuYlVZ+MGN0Mlsc/bnme/9RRzLaxG L5u00n0/uzAaZK7eDNh3YjfDBjOBPTepPpImgCF4t2YeM6QY4451mTFWUefxsMiWcm2r 699bSGpoKgb1+FUFvBN3KY0n1qUIpBhG0rS7dJKMYEqNt96gQoKHQ+FluFMWY3za1vlG ZfT1wXilyNtiksRUKrbfGTpAcd6AibaDL5rmgr3MTD0ar5IFGSxJIfpaNyfVExXXH0sV Ay4Q== X-Gm-Message-State: ABuFfogGB1HZ+fP5+zH4ZAbzp+U7xpdG0fRiUWTL1U9iXJiHLqXI1NIi CmP3ThEw4URhv2VweJnJCYGSpM2zP8BuJit8sI4= X-Received: by 2002:a67:3a51:: with SMTP id h78-v6mr1234339vsa.63.1537945516501; Wed, 26 Sep 2018 00:05:16 -0700 (PDT) MIME-Version: 1.0 References: <20180926015147.GA14862@WindFlash> In-Reply-To: <20180926015147.GA14862@WindFlash> From: Geert Uytterhoeven Date: Wed, 26 Sep 2018 09:05:04 +0200 Message-ID: Subject: Re: [PATCH 0/7] Remove errors building drivers/DRIVERNAME To: leobras.c@gmail.com Cc: lkcamp@lists.libreplanetbr.org, Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Linux Kernel Mailing List , linux-m68k , oprofile-list@lists.sf.net, Parisc List , linux-s390 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leonardo, Thanks for your patch series! On Wed, Sep 26, 2018 at 3:51 AM Leonardo BrĂ¡s wrote: > This Patchset changes some driver's Makefile to allow them building > using the command 'make drivers/DRIVERNAME', if compatible. Please note that running "make drivers/DRIVERNAME" assumes that you know exactly what you're doing. In the normal build process, you should just run "make". > The changed drivers would return error if the above command was run > on them, after an x86 allyesconfig. That is expected, as the DIO, NuBus, and Zorro buses, and PA-RISC and S390 specific drivers are not supported on x86. That is also the reason why you cannot enable support for them when configuring your kernel. If you want to enable e.g. NuBus support, you have to configure a kernel for m68k/Mac, and (cross)compile it. At https://mirrors.edge.kernel.org/pub/tools/crosstool/, you can find cross compiler binaries for download. Altermatively, your Linux distribution may provide cross compiler packages. > The main reason of this patchset is to allow building lists of > drivers looking for warnings and errors to be fixed. We already have COMPILE_TEST for that. If you want to increase compile coverage, please look into adding "|| COMPILE_TEST" dependencies to subsystems and drivers that still lack it, and (if needed) modifying the code to make the result build. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds