Message ID | 20210318104036.3175910-7-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 45f2933b81ccb6a08261df8504f4470da30697f8 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp356793jai; Thu, 18 Mar 2021 03:41:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy6QO61aBllerqHzXua993RF7JRiB09ZaITHH2aCfwqLVzrlKUNoQpMd9zPEYONZytVKNl X-Received: by 2002:a17:906:fcb2:: with SMTP id qw18mr39170762ejb.434.1616064099789; Thu, 18 Mar 2021 03:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616064099; cv=none; d=google.com; s=arc-20160816; b=USUm6u/4YgHIU1XODjxOF5CoQo6WHQNGfaDp6iBf+giolDc41W+c4qeKFv/bI2uwyJ kvUkok3ewqRPiliMOFIlHGd5euaRiKemqV3o8h4fsGIw0MJbXFHRcDXLFcsCQtU5Tt2v cITDc+L0Y0v4kdlMXsqfLD93GmkoqKkkQJh89ZtHNB8/qulVHFPa4Vgg4UA8TNOd+ESk dNeBga+xuur7u+loTTWvjovDiQL9c+5Iy4NYVgHiKCVQY5NKfUnrfpscmw/j3gkWwGDv Y8BLji7l7JqC1reQyKpkxyqrS3JYA1fOQLlEQFLn/rWitkIRXjFEGb9RGEQyQbaFJ2DN 3ejg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/yMyTx/PpExLvmIr8KOOoFx0Kjtq3v/0W3wLq2/Ei0c=; b=xsDdMbIXusi6FtQAA1TZpOARM+Lfx4ZTe8uYfB1Ckew3DsHQ8zwGFAYtxtKUAt4qlA L5D4WBOwXL8cGa3e4FKFKAcLgjz0Jk5ArGY6gnlev9fbiWJtqogOUmOTRxFnppIEcStd mSF18eZ8KDDTJh1/BM1c8F6ZWUi8nLxyEvzw3xcAeb42oslKev680OFYjJGOQC6y12As pPSG5DXSde87ZbutdJ48If2479cc0S4j6rRtVV+fz/aEjZTOVXlmRVmJwH4kzee6GuVq dHFDGgvDNsHZZj+OpXNHAXnGl1RFgSQvQNDkGJcIHNSTrxgGt5BLxn3XDliTaw/Iyuzx N8Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LWbXmDN3; 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: <devicetree-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si1279805edx.180.2021.03.18.03.41.39; Thu, 18 Mar 2021 03:41:39 -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=LWbXmDN3; 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 S230239AbhCRKlF (ORCPT <rfc822;semen.protsenko@linaro.org> + 6 others); Thu, 18 Mar 2021 06:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230241AbhCRKkv (ORCPT <rfc822; devicetree@vger.kernel.org>); Thu, 18 Mar 2021 06:40:51 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CFD21C06174A for <devicetree@vger.kernel.org>; Thu, 18 Mar 2021 03:40:50 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id k8so4947413wrc.3 for <devicetree@vger.kernel.org>; Thu, 18 Mar 2021 03:40:50 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=/yMyTx/PpExLvmIr8KOOoFx0Kjtq3v/0W3wLq2/Ei0c=; b=LWbXmDN3q+yD7+Q955ekFxtm0xCrculnsCqRaoaJ0kzLDZCRQjA0lTbP4IRdre01sE prSEqoK6g7fj92lXouxAtmctw+TmODnQapL+d+g8FTgAL/B89pWQ/7t6rhYgvxC2nj1T MmbrY+NiBnqDRqGOVxspdnfBSZa+yiSw++DSzOqUn+pcUTKRY5eMTfoR8TZcLI2MpgJp tDuwKqU3v2i5UPUjtu2YVEv2L8TQsbY9AJylLYhGYGILkLea5DsoS+rvrmN//tvX9eN/ PcYS8SL4BWXCUoo/Lg7r2zPIcSFbWXJ9nMZO/f5mXroke/BHjowSFyR0zrGWYrST1Jji P/Ug== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=/yMyTx/PpExLvmIr8KOOoFx0Kjtq3v/0W3wLq2/Ei0c=; b=MgqfmqCxm4iKGEUGwx9kQhPVCf9RzHqIwNwPM4yAjRWGd/z4gaZF/nvo6SoU40A/9b qHrrUc/mPJjRnTWJoM8zYKy2c9NQv9idi0VZEGDBpO5ET1RxyAKQ1oM2gs8T5+4cS/uG xYO4pzhW82Q3geBjuk0QrRuUUSzTJwiQJ+d0B49BtpmQ3J2ao/YQ1fXLH8tc+Vv9whr/ /ocu0TTtDrFNsvDBgfkFrP56n94zvIIwOxObPPfgd8XAlJzKiTwaNNGawBNCN/1rgohu f98SoYgPl9OK5e5raBLDI39g4opNqCIWyjWOf0dvsfckme9t9man+qtCdRjTBqLkleUt EhGg== X-Gm-Message-State: AOAM530wa+sre7Oa5uvdiHnciS2yTRVb+DtfLv433mGg7QUMyD6jE2TV CnczeaDx3fyGuZtZ/okAaP9QItlwVAZdcQ== X-Received: by 2002:a5d:4e83:: with SMTP id e3mr9051990wru.82.1616064049654; Thu, 18 Mar 2021 03:40:49 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id z1sm2426033wru.95.2021.03.18.03.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 03:40:49 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Frank Rowand <frowand.list@gmail.com>, devicetree@vger.kernel.org Subject: [PATCH 06/10] of: address: Provide descriptions for 'of_address_to_resource's params Date: Thu, 18 Mar 2021 10:40:32 +0000 Message-Id: <20210318104036.3175910-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210318104036.3175910-1-lee.jones@linaro.org> References: <20210318104036.3175910-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <devicetree.vger.kernel.org> X-Mailing-List: devicetree@vger.kernel.org |
Series |
Rid W=1 warnings from OF
|
expand
|
diff --git a/drivers/of/address.c b/drivers/of/address.c index 73ddf2540f3fe..7de41abe7153f 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -857,6 +857,9 @@ static int __of_address_to_resource(struct device_node *dev, /** * of_address_to_resource - Translate device tree address and return as resource + * @dev: Caller's Device Node + * @index: Index into the array + * @r: Pointer to resource array * * Note that if your address is a PIO address, the conversion will fail if * the physical address can't be internally converted to an IO token with
Fixes the following W=1 kernel build warning(s): drivers/of/address.c:868: warning: Function parameter or member 'dev' not described in 'of_address_to_resource' drivers/of/address.c:868: warning: Function parameter or member 'index' not described in 'of_address_to_resource' drivers/of/address.c:868: warning: Function parameter or member 'r' not described in 'of_address_to_resource' Cc: Rob Herring <robh+dt@kernel.org> Cc: Frank Rowand <frowand.list@gmail.com> Cc: devicetree@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/of/address.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.27.0