From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754734AbbJNWko (ORCPT ); Wed, 14 Oct 2015 18:40:44 -0400 Received: from bh-25.webhostbox.net ([208.91.199.152]:37268 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754663AbbJNWkl (ORCPT ); Wed, 14 Oct 2015 18:40:41 -0400 Subject: Re: [PATCH v2] watchdog: Compile possible drivers with COMPILE_TEST To: Luis de Bethencourt , linux-kernel@vger.kernel.org References: <1444848906-19187-1-git-send-email-luisbg@osg.samsung.com> <561ECA86.2050100@roeck-us.net> <561ED31C.7090605@osg.samsung.com> Cc: linux-watchdog@vger.kernel.org, wim@iguana.be, javier@osg.samsung.com From: Guenter Roeck Message-ID: <561ED9E6.8070600@roeck-us.net> Date: Wed, 14 Oct 2015 15:40:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <561ED31C.7090605@osg.samsung.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated_sender: linux@roeck-us.net X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-Get-Message-Sender-Via: bh-25.webhostbox.net: authenticated_id: linux@roeck-us.net X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/14/2015 03:11 PM, Luis de Bethencourt wrote: > On 14/10/15 22:35, Guenter Roeck wrote: >> On 10/14/2015 11:55 AM, Luis de Bethencourt wrote: >>> These drivers have depends that aren't build dependencies, so it's >>> a good idea to allow these drivers to always be built when the >>> COMPILE_TEST option is enabled. >>> >>> That way, the drivers can be built with a config generated by make >>> allyesconfig and check if a patch would break the build. >>> >>> Signed-off-by: Luis de Bethencourt >> >> What architectures have you actually tested this for ? >> >> Guenter >> > > I've compiled it in x86 and then I tried ARM > (with CROSS_COMPILE="ccache arm-linux-gnueabihf-" ARCH=arm) > > But ARM kept failing due to other drivers, first Lustre then an Ethernet > driver (I40E), and more. > arm:allmodconfig should build fine. Either case, you can always run "make -i" to ignore errors, to ensure that you at least don't introduce new problems. > Is there a better way of doing this? > Sure, at least run allmodconfig for _all_ architectures, or at least for the major architectures. Guenter