Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4362730pxb; Tue, 2 Mar 2021 13:11:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaX/aebrbvg7p++6ZDgEjVfySzRchcXCja2UO5djw4FtZ/fyodMDuuZKxtyNRT3e/85SA/ X-Received: by 2002:a17:907:94cc:: with SMTP id dn12mr142402ejc.177.1614719507305; Tue, 02 Mar 2021 13:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614719507; cv=none; d=google.com; s=arc-20160816; b=H2Onp7YnVHg0lo/RaEDrJhB6Z2Umg7bLNCONIBlARiPOWRy9hfmb+9eEi4AtC0lBRT F48fgZF4iUe1rL68QVyuccPa7YSOos/Wm6yH78b7SrO9tpLNDm0W+AdxYdzicwniVKzT HZyQLgRZLPFRFP3d9NWVQkF0L9/9uBlPf9Hvcagm6XNgADi8gSXP472+AGzeR6XOPPfY 7rz9nPm5gcJR1yih8DhEp/pN0vA8puacxfs52z8c56BSPy52Y6H6ZbgqLJDD8Rc/OudI K0ODaeEZtKVZQb/V7B/eJB03jd4WXesKC9rsolhhS8aqLowlwlE1K9j3jutVhfUjJioz sQXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=69MhIKzfJHQHYQ5oYHVlFUrLycuJ1vsu6Q89RKIZ76I=; b=USILSsQus6Somn4DIqvK8J0+cfLNOVsfJS4iBppdgpmt02QY2mpgkUozqB3R/Oiioa QYyzKv+cz3kn/XoryPWDM1Nnqge4fyiS+sdCu1TjwFhnc1OEiHy/p2QR3kyBVV+7OaYi aJVsV48sC66RBrI5QofmYXSGPxpgN1S7AEV55nEasbh6F+gDb6i7xAlZKV6eh2XQdcCj pW58YJTs/F55PzS2krQWzydlgjc6fepO072Sdo3QcXUZzz+z+lVrDYdmVMx+/PNjugtZ przXt9YGe9IGdclP+EwbzTBVNnpvHceqApLnPuesJJd4K2XmHjMzThYEVopXq2Wq+jPW nAAA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si13308129ejd.179.2021.03.02.13.11.22; Tue, 02 Mar 2021 13:11:47 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378874AbhCBJFQ (ORCPT + 99 others); Tue, 2 Mar 2021 04:05:16 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:32973 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381800AbhCBIqh (ORCPT ); Tue, 2 Mar 2021 03:46:37 -0500 Received: by mail-wr1-f48.google.com with SMTP id 7so18954494wrz.0; Tue, 02 Mar 2021 00:46:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=69MhIKzfJHQHYQ5oYHVlFUrLycuJ1vsu6Q89RKIZ76I=; b=l1rebV3enwoxgQSRU3dO1WtRjhBJxG5cHJs8DzfWF0VTI1NiFGVkRNZKhnlvfSS7Gj DthO7C3k2MOljT2cxhVoOnkLMrocvxjVUBIlP7OL2nNh+s8in313naKCUs8zTXxtjtie nSyvhX0OwQZr1pkExq+Xsz/F6NOlACjjRGRtBc48Wekoxl6SOD4QkuspGhQn+H3QJAAp XHzwKpoLoNBJQwnpBSUCc59SA9PLUvfQVYCETLfRdWCBkS6YLDQRlikp+xRUK0VjpNJP GdihN1UON2wZWhGev6mku5jc2jIijtndGh0kfXOZRGcvjneEk4Ib49CFJVZ+vxSaIfiX rrSQ== X-Gm-Message-State: AOAM531TR3SjGCHPgDhb6NtOaqnPfi63Gy80Ky6pZhVIGkXinIs04UOO 9b2/9+s4adtncboHnPHMc7E= X-Received: by 2002:adf:e582:: with SMTP id l2mr21116779wrm.207.1614674755215; Tue, 02 Mar 2021 00:45:55 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id z9sm27555628wrv.56.2021.03.02.00.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Mar 2021 00:45:54 -0800 (PST) Date: Tue, 2 Mar 2021 09:45:53 +0100 From: Krzysztof Kozlowski To: Yang Li Cc: thierry.reding@gmail.com, jonathanh@nvidia.com, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH] memory: tegra: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE Message-ID: <20210302084553.xd4xocoveykv5pm6@kozik-lap> References: <1614243958-55847-1-git-send-email-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1614243958-55847-1-git-send-email-yang.lee@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 25, 2021 at 05:05:58PM +0800, Yang Li wrote: > Fix the following coccicheck warning: > ./drivers/memory/tegra/tegra124-emc.c:1207:0-23: WARNING: > tegra_emc_debug_min_rate_fops should be defined with > DEFINE_DEBUGFS_ATTRIBUTE > ./drivers/memory/tegra/tegra124-emc.c:1237:0-23: WARNING: > tegra_emc_debug_max_rate_fops should be defined with > DEFINE_DEBUGFS_ATTRIBUTE > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/memory/tegra/tegra124-emc.c | 4 ++-- Thanks, applied. Best regards, Krzysztof