Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp488817rdb; Thu, 21 Dec 2023 16:00:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIuhfpwlekOBOzc5zoe50FCsLNAllTuCQxfOgPO3kf1/iu3g7JNUCdidHPwY0MBsuS6oxn X-Received: by 2002:a50:d55a:0:b0:54c:5e18:50e6 with SMTP id f26-20020a50d55a000000b0054c5e1850e6mr205565edj.42.1703203205248; Thu, 21 Dec 2023 16:00:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703203205; cv=none; d=google.com; s=arc-20160816; b=bI8FLwuF6BEhzs2KP+jt4tfdGaMWgmviCBLhNvtodl4bM3kaQ9tkyNtslY8x3wTtOY rSsz9Djl7bOB+9lrN6W6/gWT+oCQqLoN4biZLGpeByiOetV0eorBvzUeffF6t4GKDlLS OG3rkkm5CC6VHP+h9bWHrnDUHKUZivAUu/C43ju0qzXSyt+HogwjHuPTVaGLYYALeh5a fO9v3Tjfv1OYjeh3wQNIfnq152qxtfe3iqRHfuJkthyUCKx4HOGosKJzkF+rQWi9+ETp VW8VX3SEdFFmf6IWcT4tqCQi1hKeK0IaF0NFLd5D6ZufOswhlD8aRkcXPkvj6nY+Baww oH0g== 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=GoyFDQmGnb660Pi6Gq/ALTiVqe1qLyDsC2KvlSw7HRs=; fh=dVy+OIdE50uUnRM2gki6CAwkFRwD9qj4P3JvN0Tgcyk=; b=Duqvxx/7wMrsook+mIDtovzGaXXKKsyNT1qc8VVxxaGxFjwxDu6FE/bu9ymdLhglwa Mu82k2MAwycmbFs7aKyMhZyLs1vDgmG8rYCOFd9IvBGqtWH2XyuN0hdcO9dhmYnKrEk4 biy/R96ytsM8nw4I2JBdpymelFRcAJqdOh7hNhZfmghs+45vsSPiVUMumYDzGtRcRSYX LjbtUOyeR1wEdtLdkUeIrLx5DTubHg9dI/Dj5bYjslGCfKWVWc1XgopNTF8+udD2m/ZG 2a7F0UW2eRz1R1/LDYxp6fIwI0vDQErLw1lXVqvw5RCnxmooV/3I7KYQz/axmt9Ph8qW PNwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VkNDNnEa; spf=pass (google.com: domain of linux-kernel+bounces-9194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id z14-20020a056402274e00b00553e3070251si1337571edd.283.2023.12.21.16.00.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 16:00:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=VkNDNnEa; spf=pass (google.com: domain of linux-kernel+bounces-9194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9194-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 004711F25337 for ; Fri, 22 Dec 2023 00:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC75679952; Thu, 21 Dec 2023 23:59:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="VkNDNnEa" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (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 C0C1F79460 for ; Thu, 21 Dec 2023 23:59:53 +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-f176.google.com with SMTP id 00721157ae682-5e74b4d5445so12988877b3.1 for ; Thu, 21 Dec 2023 15:59:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703203193; x=1703807993; 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=GoyFDQmGnb660Pi6Gq/ALTiVqe1qLyDsC2KvlSw7HRs=; b=VkNDNnEan0OQeqq+cfm6uMoJkMnja4i4kw+bo7ryirOo3pETW8YjYR/mvLjy1HBd+V WBlvtGS/xgXd+UWkpdDjp4iMtiBM/YT2bkv/yUyjNQErHRhJe8tzHeHWXQrPYjLI3gRT w7n2qlxlUM2dOqi8g99IRBOqgVdtSVBPTY/F8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703203193; x=1703807993; 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=GoyFDQmGnb660Pi6Gq/ALTiVqe1qLyDsC2KvlSw7HRs=; b=kW10LeeeCKSX3rLX7GEA5nnWhifGQpQ7OXhalCSy4XHX2SYgMPVgD2pZuLXMyfr2C+ AOjQIxWYMANcaImwNvoZxOh7sC/qhwOXU5cJlhNqRf3jNNxIIrkNckKALukWaZapUuAQ KqFc7KSVaiSgCim1bJIv3qJsd6zQEHQMlpPHktWC+jlQk7wUj2w1KZrwNDBtpVYUVy94 GuAsLQKwFZc0m/NiTxFh5DUmjsyIjgS8g8mxAfAfncHhNqNCpWt6qjtvpkCpY8Oz9Dte KCrfj3ElL5Oin80K/oPXXBEXu04Vx/SVBk9rPBoktmTR4wakISxAQ5YCGMbzKFFJiMxY o/Pg== X-Gm-Message-State: AOJu0YyC94/5tzmmNhQ1aNPP1xEtSrxcvrkFgh+94gF657CrMa4pROzs WgXfvO7omrM+XJSvI/WLHaojq74/AHvyvGaGscETwRpGOAjZ X-Received: by 2002:a0d:ff47:0:b0:5e0:765f:1e2b with SMTP id p68-20020a0dff47000000b005e0765f1e2bmr645819ywf.78.1703203192838; Thu, 21 Dec 2023 15:59:52 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220235459.2965548-1-markhas@chromium.org> <20231220165423.v2.20.I38ac58ab04985a404ed6551eb5813fa7841ef410@changeid> In-Reply-To: From: Mark Hasemeyer Date: Thu, 21 Dec 2023 16:59:42 -0700 Message-ID: Subject: Re: [PATCH v2 20/22] device property: Modify fwnode irq_get() to use resource To: Raul Rangel Cc: Andy Shevchenko , LKML , AngeloGioacchino Del Regno , Krzysztof Kozlowski , Tzung-Bi Shih , Konrad Dybcio , Rob Herring , Sudeep Holla , Daniel Scally , Frank Rowand , Greg Kroah-Hartman , Heikki Krogerus , Len Brown , "Rafael J. Wysocki" , Rob Herring , Sakari Ailus , devicetree@vger.kernel.org, linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" >> > > -int fwnode_irq_get(const struct fwnode_handle *fwnode, unsigned int index) >> > > +int fwnode_irq_get_resource(const struct fwnode_handle *fwnode, >> > > + unsigned int index, struct resource *r) >> > >> > It's perfectly fine to replace ) by , on the previous line, no need >> > to make it shorter. >> >> That puts the line at 115 chars? checkpatch.pl allows a maximum line >> length of 100. I can bump the 'index' argument up a line and keep it >> to a length of 95? > > > clang-format should do the right thing. It formats the line as-is in the patch: with 'unsigned int index' on the next line.