OSDN Git Service

scripts: device_attr_show.cocci: update location of sysfs doc
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 9 Sep 2020 14:10:43 +0000 (16:10 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 10 Sep 2020 16:47:52 +0000 (10:47 -0600)
sysfs.txt was converted and renamed to sysfs.rst.

Update device_attr_show.cocci script accordingly.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/048ed24b09aefa0051d76396d6250e35e6ba035c.1599660067.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/coccinelle/api/device_attr_show.cocci

index d8ec4bb..a28dc06 100644 (file)
@@ -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