From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30F19C433DF for ; Wed, 26 Aug 2020 10:48:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 00B77206EB for ; Wed, 26 Aug 2020 10:48:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598438898; bh=hlDPMvHxCpSsrfha9G6lVN3vMoyc02reshHmPW66AD0=; h=From:To:Cc:Subject:Date:List-ID:From; b=OaXB/nz1632VEurq2SnHBSVEW1nlD5quD5DpYS+SQhqboOuYqhGxFroSHXEtnRlQH Gv8MAkOdgT8QUaeFoA2yWBLLRBKAkXYozGI1nJn2ox8Xdam/mWYp902gSVtLfouk3p YqLnkepHE3t0QE4x8tOTDaFAgG0h1v3D/Betf1Vs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728719AbgHZKsP (ORCPT ); Wed, 26 Aug 2020 06:48:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:36254 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728679AbgHZKrq (ORCPT ); Wed, 26 Aug 2020 06:47:46 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 55F67206EB; Wed, 26 Aug 2020 10:47:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598438866; bh=hlDPMvHxCpSsrfha9G6lVN3vMoyc02reshHmPW66AD0=; h=From:To:Cc:Subject:Date:From; b=NGzEFJ4IRH2xPydCUWlTSGd6SWEoiIqNptcj7Hjg+CosC1pQGo8SD9pSczRwqPmRv HLpDX4kX/p4Yg2hnIq7obNVDqSweIqKYxPAKy6PwlsVQBQEU2ZeQ4hQ0GbFqvIfzfu ydrIL0tEL4UMtR1IfrgDMqHlHyKZp8zhmiByw6f8= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kAsy0-002EZC-8X; Wed, 26 Aug 2020 12:47:44 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH] scripts: device_attr_show.cocci: update location of sysfs doc Date: Wed, 26 Aug 2020 12:47:43 +0200 Message-Id: <20200826104743.532611-1-mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sysfs.txt was converted and renamed to sysfs.rst. Update device_attr_show.cocci script accordingly. Signed-off-by: Mauro Carvalho Chehab --- scripts/coccinelle/api/device_attr_show.cocci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/coccinelle/api/device_attr_show.cocci b/scripts/coccinelle/api/device_attr_show.cocci index d8ec4bb8ac41..a28dc061653a 100644 --- a/scripts/coccinelle/api/device_attr_show.cocci +++ b/scripts/coccinelle/api/device_attr_show.cocci @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /// -/// From Documentation/filesystems/sysfs.txt: +/// From Documentation/filesystems/sysfs.rst: /// show() must not use snprintf() when formatting the value to be /// returned to user space. If you can guarantee that an overflow /// will never happen you can use sprintf() otherwise you must use -- 2.26.2