From patchwork Mon Mar 29 15:24:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 410862 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp3712938jai; Mon, 29 Mar 2021 08:25:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5/fRDLt0lsBd+5EXwtHhq7VIP4vOlNCdR1zgD/lb08ezt2SP5kBDQU5Kzj7iNPaVhwDl8 X-Received: by 2002:a17:906:1a16:: with SMTP id i22mr29198433ejf.522.1617031538900; Mon, 29 Mar 2021 08:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617031538; cv=none; d=google.com; s=arc-20160816; b=VFS92MCgxX38TVMWleM2DS130ampkAvdpeybu9gskkEbLgNu9o0zl8LyDJEFeU9QtN GddMSR5gvuYMFNhF2QbZU2tCs9cNhgK6cDJsD2pg3gd0CJtu5OJqhTnzkk7zi2jSsv9s uFCRI54oJx7RKi4t1dVN+pKeZfHNTn7AafYM+87HaT5jEdkVmkPT/HdXrSlnvtbo2xcS ymIgYUHBQCrJQzmjEIAgvwTRsaWfFi95a2VJEVYNycTTeLEb3ccrWeYI6iJgtwOmygl8 xSpEmAPEyy/354OSBA8vXdV0XzgXkHy/Fech6m0aY3p9fzXZ/J88jRRspxAkBKBh56d4 Dagg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3BjDQPO5XvHFzQtUgs6LH7ol2ep0u1eLVhg0ffmIyak=; b=LP6vOU1RfP/E8let2m3UBHoUYvNPYC5Qxftgy8Qc2r9x7cdiKmoMvHx9DPf68pxzLD mu0c2on2S67r1FJypNTBA1bgOeTVqtnqTcDXeLkxdTJomlqy2um0Ad0g+lxTeDlbRmYs zIf6/w89eKC6C8S8iw5I4sANokWE9Hqzo9striNc0HgDVmBqBD+GD4SKWjoqG7sflKdn k9DxH9bFKrKjOgVo1eq5tZaQwMkvvYgE6HydajqBTA2s/ZztCk8/JZSJkFtKxTD+hA3v 6HKMlozBS4HJ3E35Y/HZMK1BYyzSEy3FXzvYwXKs/mDJ1nM/vJ0rAyh2JG4J9fE7+vxX 3+Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oOA2R79r; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 t4si12886616ejd.376.2021.03.29.08.25.38; Mon, 29 Mar 2021 08:25:38 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=oOA2R79r; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S230364AbhC2PZG (ORCPT + 6 others); Mon, 29 Mar 2021 11:25:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhC2PY4 (ORCPT ); Mon, 29 Mar 2021 11:24:56 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4730C061574 for ; Mon, 29 Mar 2021 08:24:55 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id x7so13266948wrw.10 for ; Mon, 29 Mar 2021 08:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3BjDQPO5XvHFzQtUgs6LH7ol2ep0u1eLVhg0ffmIyak=; b=oOA2R79rA1kOLLACi+uWoT+fQBLKYXGZc3JRMCJkJIP+tQHPQf0Qv5T+wRAhD4wamX bolMpKpTK2jgcViUCM0vz6FDnYp1kWJmsJNqEiTthgO2l+tlsOPxFqr9RJ3Ue67w9BwH wQVhxCCHBQU2R99CB2vnICWngOIOXSy10rFWu/bYAs7yAWvtMvAmg3lnqxchKO7yAxyJ XYONtOBI4jev+qzBFXMdEFmacG8AZLnlrQssdnYWJqgGmO1VuF+ob8dXOQOg0ZGXjpO5 Rh0sN8Bkv1z9INJlB6zQK0GzjwJTIOp6irVE2OBCnhZ2rnes/P0LakuAzulBNs7MoB93 PzDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3BjDQPO5XvHFzQtUgs6LH7ol2ep0u1eLVhg0ffmIyak=; b=oAoAlYnbUya0br+PWzHVK5fiV3kLw6Ddq8wHUBDWw4SHzQV4IiNCQFcNHGfGBkNr+c DMXnbqMo6KJTpVYJiwuuTt4loIiCtI+bYr1fdBO83zn6AXmmVpHNl8ihWGNkF8zA5A7A 5+KnegDzntCRGJJCeZYeXEMjtoXMqTRfu9ZeyNbsVCt5Yxf4wysaHwIF8GlPVqs71W8u Y0jgg6FEhvW4w/1Naq8R5c/r9YKMEGVETXopftaxavcCeOg5IIxndeioEqo7H33SDq1+ 3SNdngmzV1uju+uUPZGX4XDUy+qy56ED8+NPU2GqaxEomA9VvgGo5xUR9+U7C+KWarUD ccow== X-Gm-Message-State: AOAM530+9P2q4wWBB8P5Grf5FLx7SoDBzqep0aGhNC2Zkh0zwJ8Z4ORt hNQAvCBuwkqWi39zIF2QY3b0Sw== X-Received: by 2002:a5d:6587:: with SMTP id q7mr28738296wru.282.1617031494626; Mon, 29 Mar 2021 08:24:54 -0700 (PDT) Received: from dell.default ([91.110.221.217]) by smtp.gmail.com with ESMTPSA id p17sm23744377wmd.42.2021.03.29.08.24.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 08:24:54 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , "David S. Miller" , devicetree@vger.kernel.org Subject: [PATCH 1/1] of: base: Fix spelling issue with function param 'prop' Date: Mon, 29 Mar 2021 16:24:35 +0100 Message-Id: <20210329152435.900225-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/of/base.c:1781: warning: Function parameter or member 'prop' not described in '__of_add_property' drivers/of/base.c:1781: warning: Excess function parameter 'prob' description in '__of_add_property' drivers/of/base.c:1804: warning: Function parameter or member 'prop' not described in 'of_add_property' drivers/of/base.c:1804: warning: Excess function parameter 'prob' description in 'of_add_property' drivers/of/base.c:1855: warning: Function parameter or member 'prop' not described in 'of_remove_property' drivers/of/base.c:1855: warning: Excess function parameter 'prob' description in 'of_remove_property' Cc: Rob Herring Cc: Frank Rowand Cc: "David S. Miller" Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones --- drivers/of/base.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.27.0 diff --git a/drivers/of/base.c b/drivers/of/base.c index 457d1ec27300b..aaf52eaa8b8c7 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1775,7 +1775,7 @@ EXPORT_SYMBOL(of_count_phandle_with_args); /** * __of_add_property - Add a property to a node without lock operations * @np: Caller's Device Node - * @prob: Property to add + * @prop: Property to add */ int __of_add_property(struct device_node *np, struct property *prop) { @@ -1798,7 +1798,7 @@ int __of_add_property(struct device_node *np, struct property *prop) /** * of_add_property - Add a property to a node * @np: Caller's Device Node - * @prob: Property to add + * @prop: Property to add */ int of_add_property(struct device_node *np, struct property *prop) { @@ -1844,7 +1844,7 @@ int __of_remove_property(struct device_node *np, struct property *prop) /** * of_remove_property - Remove a property from a node. * @np: Caller's Device Node - * @prob: Property to remove + * @prop: Property to remove * * Note that we don't actually remove it, since we have given out * who-knows-how-many pointers to the data using get-property.