From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5F60C2D0EE for ; Tue, 31 Mar 2020 13:05:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B64C0206CC for ; Tue, 31 Mar 2020 13:05:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730753AbgCaNFz (ORCPT ); Tue, 31 Mar 2020 09:05:55 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:43660 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730473AbgCaNFz (ORCPT ); Tue, 31 Mar 2020 09:05:55 -0400 Received: by mail-ot1-f66.google.com with SMTP id a6so21866240otb.10; Tue, 31 Mar 2020 06:05:55 -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; bh=2lL3cc0+MLMUVgNxutwV4nelpkfVoe9QC8B4R4mxIaY=; b=hVzgIplCZND9HdgX5wfEz4cfSLChljNDSYtWHuDeJ94Iv7+Lw1v0S9whlRP7CClmJK 2fycJj7UlQXEJ0FFTQjr/yeZPZIWOeuUxxphcXWKOuwhw23l5uUBFo/Ta4g6kwMPk/rW 8DoQJ0F30Dq8SNq0KEm80gAC9vSamurhs4eZFR84anBK6BhVfnMpKASeGo2M4MeWB4Fi jctII3gfrNjWTMDw1EMkJmzs90C/5+WcVzPr3mXvaxZO9j5c8r2Y+0AlDVdPv7siGVBr ScrClouoIKLPvEqdMJ9Yl9HTBr/kwxUbooBmDblNVvBhu3WjK4jNlKmFITF6Uy5sRB13 /7bw== X-Gm-Message-State: ANhLgQ1E34xNVXikYakmR4cqu3rvhJ6CZjX77r/2mui4By7ptOWmlPBs NryrSwL7c92h8g3UPgp0jAGH1bQiXAIW/ON4PaE= X-Google-Smtp-Source: ADFU+vvDqnuQ/DJt2n59x2spJjEJqGsVW0X1eFZ0rsGDSujIauwzGg83pehLslULQgKjkVWIbuVCHg9KB6/4G2QjJsI= X-Received: by 2002:a9d:76c7:: with SMTP id p7mr1737406otl.145.1585659954586; Tue, 31 Mar 2020 06:05:54 -0700 (PDT) MIME-Version: 1.0 References: <20200330090257.2332864-1-thierry.reding@gmail.com> In-Reply-To: <20200330090257.2332864-1-thierry.reding@gmail.com> From: Geert Uytterhoeven Date: Tue, 31 Mar 2020 15:05:43 +0200 Message-ID: Subject: Re: [PATCH] gpio: Avoid using pin ranges with !PINCTRL To: Thierry Reding Cc: Linus Walleij , Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Stephen Rothwell , kbuild test robot Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, Thanks for your patch! On Mon, Mar 30, 2020 at 11:03 AM Thierry Reding wrote: > From: Thierry Reding > > Do not use the struct gpio_device's .pin_ranges field if the PINCTRL > Kconfig symbol is not selected to avoid build failures. > > Fixes: d2fbe53a806e ("gpio: Support GPIO controllers without pin-ranges") WARNING: Unknown commit id 'd2fbe53a806e', maybe rebased or not pulled? Fixes: 2ab73c6d8323fa1e ("gpio: Support GPIO controllers without pin-ranges") > Reported-by: Stephen Rothwell > Reported-by: kbuild test robot > Signed-off-by: Thierry Reding With the above fixed: Reviewed-by: Geert Uytterhoeven This fixes the build (and boot) for rbtx4927, so: Tested-by: Geert Uytterhoeven 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