Skip to contentSkip to conversation

counter: fix docum. build problems after filename change

PATCH In review Randy Dunlap 3 participants 3 messages Oct 5, 2021 – Oct 7, 2021

Subsystems (3)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 counter: fix docum. build problems after filename change

Fix documentation build warnings due to a source file being renamed.

WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -export ../drivers/counter/counter.c' failed with return code 2

Error: Cannot open file ../drivers/counter/counter.c

Fixes d70e46af7531 ("counter: Internalize sysfs interface code")
Cc William Breathitt Gray <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Jonathan Corbet <[email protected]>
---
 Documentation/driver-api/generic-counter.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/generic-counter.rst +1 -1
@@ -247,7 +247,7 @@ for defining a counter device.
 .. kernel-doc:: include/linux/counter.h
    :internal:
 
-.. kernel-doc:: drivers/counter/counter.c
+.. kernel-doc:: drivers/counter/counter-core.c
    :export:
 
 Driver Implementation
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Randy Dunlap

Fix documentation build warnings due to a source file being renamed.

WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -export ../drivers/counter/counter.c' failed with return code 2

Error: Cannot open file ../drivers/counter/counter.c

Quoted 7 lines
Fixes d70e46af7531 ("counter: Internalize sysfs interface code")
Cc William Breathitt Gray <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Jonathan Corbet <[email protected]>
Quoted 15 lines
---
 Documentation/driver-api/generic-counter.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/generic-counter.rst +1 -1
@@ -247,7 +247,7 @@ for defining a counter device.
 .. kernel-doc:: include/linux/counter.h
    :internal:
 
-.. kernel-doc:: drivers/counter/counter.c
+.. kernel-doc:: drivers/counter/counter-core.c
    :export:
 
 Driver Implementation
maintainer
#2 lore raw
Quoted 16 lines · On Tue, 5 Oct 2021 15:02:52 +0900 William Breathitt Gray…
Quoted 7 lines · Randy Dunlap

Fix documentation build warnings due to a source file being renamed.

WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -export ../drivers/counter/counter.c' failed with return code 2

Error: Cannot open file ../drivers/counter/counter.c

Quoted 7 lines
Fixes d70e46af7531 ("counter: Internalize sysfs interface code")
Cc William Breathitt Gray <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Jonathan Corbet <[email protected]>
Quoted 1 line

Applied to the togreg branch of iio.git and pushed out as testing to let 0-day poke at other things I have queued up before I make a potential mess of next.

Thanks,

Jonathan

Quoted 16 lines
Quoted 16 lines
---
 Documentation/driver-api/generic-counter.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/driver-api/generic-counter.rst +1 -1
@@ -247,7 +247,7 @@ for defining a counter device.
 .. kernel-doc:: include/linux/counter.h
    :internal:
 
-.. kernel-doc:: drivers/counter/counter.c
+.. kernel-doc:: drivers/counter/counter-core.c
    :export:
 
 Driver Implementation