Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp452540pxh; Tue, 9 Nov 2021 13:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzg3mS8sL8VrP6fM4Dg7Sf/DQTn5O+/TJJoOhe/Gv+YyU0iLcj9RwG0hMAW89G16dZC6Bga X-Received: by 2002:a05:6e02:170a:: with SMTP id u10mr7937875ill.156.1636493103249; Tue, 09 Nov 2021 13:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636493103; cv=none; d=google.com; s=arc-20160816; b=Oh6JoCR/S6t23H3aX54fD07kf38x20hi2HCGK24Eghi6UfqpjDzGRXVqKHZ3j2GOQg uY4k1y6syOKNr5Ye2TmWyDiP/T/X4IWOkhmnoMc5k9/DlH1/h5CVey0RcRZf9SOQL859 Obv2eJJhYJfrbcLJg6dkOjZ4NoNa1oHAO6s4mkm9kf5V8jByB6z/wUMOJvFFfErIb5mi z0AhuH15jSI6IzDEBfMDksY4ZMTevKRT4lfPB3ZhR50/XaOstqemFHb5d20ku1UHWbBk Z1iBFusqxg0JI0iVYxydHn7YgZf/hiWz8BIIXaSrkRPuJe2+xuAmNi8VjS3BI8t+WKc0 YfRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=mYqUiKJPxE8WcvdjGFDszJTtEouwO1eby2WwIJp4IpU=; b=fu/OSqBSqghWs7NOlN1fJo2zqjigLXazU40SIdiLCWcqSwptbS0Q5Tgk3VO+/eb/SZ RE8MJZnH3KR5Dc5KwyJzcWz6GuiTPsJVhIDShRhRf5ukR5lXb1FKJP9DBuFrP/2wO3tw nR9tTG+c4GdLLWBBjtBr9Y/XGfvxU8jyG6/fDdcSeQwihK89d+/H3/rHYZLJaOXlfu7O fEimDRtYIiHfYsv1IRtuXrjLsIEAyRC3Szfx/+wKv24cYnDDZHjismRSfDZY7Pl6/cNp aRJo6Rpt4kf3cbaO3uUYoaMWTtX+Qkg0BuE1UMaAkt3DQBo1pVfoSHdIOlcZAyxod5Ee Rp5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZwUfBGi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si23721032jag.43.2021.11.09.13.24.49; Tue, 09 Nov 2021 13:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aZwUfBGi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234386AbhKILI4 (ORCPT + 99 others); Tue, 9 Nov 2021 06:08:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234786AbhKILIy (ORCPT ); Tue, 9 Nov 2021 06:08:54 -0500 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B329FC061766 for ; Tue, 9 Nov 2021 03:06:08 -0800 (PST) Received: by mail-oi1-x22f.google.com with SMTP id o83so33040084oif.4 for ; Tue, 09 Nov 2021 03:06:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mYqUiKJPxE8WcvdjGFDszJTtEouwO1eby2WwIJp4IpU=; b=aZwUfBGi5QPPO9Krq4MF/SAmMwQlcG+By1Hwxp93gL8wfKzs9TM6wQ1+VVOHlRSeLl 8lY9XjEfRvM5Y4keR655VoOYIinQPJgey3R8dK5JXZQN04i/eHB9LM3Y5aQiPRpMZ5ob 4ZjpPGCj9bTbGZuS3pHzUoBPY+WHqnmcKRDCllvdvII9B2za9ZVQGa7CWYc69YedOvqy bpv8HIgd8eRXYht53MbpQbr62IckLtMtrzL5uA+fi+Yr2ExR2VlprViLWuiwOM7Xy1tb F8/VFWuL/XrnLmYRf8nhpLvpHlsUCiz7ZBW17HDZI+EIfn19RffiGtccdceOjVJIXWg/ SJpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mYqUiKJPxE8WcvdjGFDszJTtEouwO1eby2WwIJp4IpU=; b=XSS0bvU93mKASg20U+wKuUbtiznKrje2V1lboaVY7arJwoWV1oPMOXGCptwh3nqSzb 5MghT+/33DJo6hkhuxdin2LWZOnzVx8wePgN2CyBr6ryTaYrd0eKw4c/J5GacjMjshfd xKPznOmZuOcUn5Sm/pmvRplTWQkw9GE2161TpR1kn0mz4twOz2+j4KWKRL1qYJdsWFPo go5/ORWj8NTpCOg/Ai6pVB9A8inTlZs7KOU3xh/7Xlx6HbCCxDkfLvI4xwiKozt3Zb0d ZRAYETqb8a9qnpxMKsCdL6wFWtrBX7a8xEAYLrTOY1Am8oI/7FNS9cbswcWdGg88jlvj NNGQ== X-Gm-Message-State: AOAM532gnJtqCSG/RtMJx0iQ+lkhpboeqjuoIStcIsVlJev7iQvbOcHn KsGKVKaiKc4wNy+dXKOSTisIy8p5Ygb7y7pvdc2KLQ== X-Received: by 2002:aca:120f:: with SMTP id 15mr4676175ois.132.1636455968114; Tue, 09 Nov 2021 03:06:08 -0800 (PST) MIME-Version: 1.0 References: <20211101150640.46553-1-sven@svenpeter.dev> In-Reply-To: <20211101150640.46553-1-sven@svenpeter.dev> From: Linus Walleij Date: Tue, 9 Nov 2021 12:05:56 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: apple: Always return valid type in apple_gpio_irq_type To: Sven Peter Cc: Hector Martin , Joey Gouly , Alyssa Rosenzweig , Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 1, 2021 at 4:07 PM Sven Peter wrote: > apple_gpio_irq_type can possibly return -EINVAL which triggers the > following compile error with gcc 9 because the type no longer fits > into the mask. Patch applied for fixes, thanks for fixing this! Yours, Linus Walleij