Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1819536rdb; Mon, 8 Jan 2024 11:09:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IE8Je9Y6iWN9MQewbShHYkaRk5ROqlfrF2+0NyNvy2Z/gRrsGK4QWPIDg74NMMGDRiJtx6J X-Received: by 2002:a05:6808:2343:b0:3bb:bd1a:ed0d with SMTP id ef3-20020a056808234300b003bbbd1aed0dmr4319353oib.41.1704740956311; Mon, 08 Jan 2024 11:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704740956; cv=none; d=google.com; s=arc-20160816; b=txVCpZbonQXH4DPMfhUvXzE1Hip1pKjgYmAGoRD2EaYfID8YCb4osRR6LdBTDHAn/B u2ggCQGTzr8cQZbo9riJWvA++H1m7mdEZfegz8h54GMIn+8EmuVSkzJWrsR0ubiai/jW GEYN6yEj7Aj47F4F7Ms++Uk+w2106NS9G4iyYQsWdGQ4ZmjWmh3KzdXnse7lzRtzPbPG 32xn09XpzAUaoiHw6Db7cjVIGMjZMRQ58TciMTJqRKheA9OopqwJ7pDGsJv/zdZLDPOh O7KvMvbElk+0reqe/nJnHfxCRn7/Zl3Cwbss27bYsaXpt2iaCwxkQoPjHq8eudwDPxtU pV/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=DdFDb54bQ/iPZlWQVp8olWIpdQfHr4McuEO6nhlwfQY=; fh=J/trub04jF5K9yD9P/+JVLFWchifCygoH034wnjOv74=; b=gtifpNggD4mkXP7pjqRnfWeqhjJubnEN7rsip9ysPxbyFU+2va4KuFcGXIh3D59z6c vsH+278JEnl0PTnbICcHUzaYSLtuj/hu+CMa6L5Nb7Cdg+ckTH9c5VPQU2vcellfdN2Q n6mq4/TJDF2AIYluBxKSwwRTAqYoTTOg//QXAiW6ptS1O8+zHN+ox85mJrQRTjqHv8K2 F6Zu3G9ZJNYUqT1iTftzXQw4+E5LLpCusw8OnySWWUabvhKUnS/uEgWiWD0hyFJsLA5a O/+EmRtHhm1Akl0V4wlDp7Hqw1RE8JAhaOpXsdXB8xOnkNZY81tMSmRozq3jN8M0x/MR XniA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GlG+GYPB; spf=pass (google.com: domain of linux-kernel+bounces-20006-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20006-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y10-20020a0cf14a000000b0067f9e856597si513888qvl.270.2024.01.08.11.09.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 11:09:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20006-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GlG+GYPB; spf=pass (google.com: domain of linux-kernel+bounces-20006-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20006-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0F5DC1C22BEA for ; Mon, 8 Jan 2024 19:09:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED53354FA6; Mon, 8 Jan 2024 19:09:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="GlG+GYPB" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1866454F86 for ; Mon, 8 Jan 2024 19:09:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-5e89ba9810aso16140567b3.2 for ; Mon, 08 Jan 2024 11:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704740945; x=1705345745; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=DdFDb54bQ/iPZlWQVp8olWIpdQfHr4McuEO6nhlwfQY=; b=GlG+GYPBaC93H4it9eM8pRSdwurFyP2Ql2YuSkEGmab95FTEjZ1k6R6yI37Vm8Ux0o Wmi931NCs9UBulRCUo8yNib1/G4lfTfNbsP40owBq85u0UpZ/HPKoiRO50cNR52ziYga wOVmUYSZ1ZJqDk4n0q7p6oQg+RqzFJimvrofs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704740945; x=1705345745; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DdFDb54bQ/iPZlWQVp8olWIpdQfHr4McuEO6nhlwfQY=; b=daTIr0teSes4ziR2/mzanVMy1QaUqLWJWa1Iwv3boxgyhQ0zNLKcJt1M8pltfMYAFn VBRDKCGPeZlmm+yCWhSlBuN3CQkR8f5OkA2R82EJqyfp8MHpF2ZfRJIWM64WbfTZQUyc Pr1BGy9OaRzfOF2COgEcUyVJTATTAN7t7/WK7JG5iRVtfQuWjjjDhQct1F0bv8bIPNNh dosLCvmi20f6rOkiJtQpydL98eNqeUMjvhtJ+pz0+WMskJ1J0RCnYzYdrHW6hnks89c8 8ySZcL82ymRD6uoOQLGqpDckxbCyLhBf2ziAnUZLbr05Gmhkdm0Ee3jguGcQK8xb6BIj rqjw== X-Gm-Message-State: AOJu0Yy0LcsdbZEmx0E7TA2eyXjmmLc/A4dashtBawxkjfyW0XjlwoRz rmVnES58lDtiZPTNqt2wBSWcwJdUNjEVjOCBMNgNNb53qMXT X-Received: by 2002:a81:f106:0:b0:5f6:dee2:2b25 with SMTP id h6-20020a81f106000000b005f6dee22b25mr2099819ywm.80.1704740945135; Mon, 08 Jan 2024 11:09:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240102210820.2604667-1-markhas@chromium.org> <20240102140734.v4.2.Ifd0903f1c351e84376d71dbdadbd43931197f5ea@changeid> In-Reply-To: From: Mark Hasemeyer Date: Mon, 8 Jan 2024 12:08:54 -0700 Message-ID: Subject: Re: [PATCH v4 02/24] gpiolib: acpi: Modify acpi_dev_irq_wake_get_by() to use resource To: Andy Shevchenko Cc: LKML , Sudeep Holla , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Konrad Dybcio , Raul Rangel , Tzung-Bi Shih , Bartosz Golaszewski , Len Brown , Linus Walleij , Mika Westerberg , "Rafael J. Wysocki" , Wolfram Sang , linux-acpi@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org Content-Type: text/plain; charset="UTF-8" > Missing blank line. > We put a commit message as > > $SUMARY > ...blank line... > $DESCRIPTION (can contain blank lines) > ...blank line... > $TAG block (may not contain blank lines) > > > Signed-off-by: Mark Hasemeyer Looks like a nuance of patman I need to iron out. > > ... > > > + unsigned long res_flags; > > Why not calling it irq_flags? irq_flags is already used within the same scope, although it's declared at the top of the function. I'll move the declaration to the scope where it's used and rename irq_flags -> irq_type, and irq_res -> irq_flags. > > +struct resource; > > This... > > > + struct resource r = {}; > > > + return ret ?: r.start; > > ...does _not_ cover these cases. > > Hence ioport.h must be included. Did I miss it? You're right. It didn't break the build, which means ioport.h must be included indirectly. I'll add it back.