diff mbox series

[-next] counter: fix docum. build problems after filename change

Message ID 20211005055157.22937-1-rdunlap@infradead.org (mailing list archive)
State Accepted
Headers show
Series [-next] counter: fix docum. build problems after filename change | expand

Commit Message

Randy Dunlap Oct. 5, 2021, 5:51 a.m. UTC
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")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
Cc: linux-iio@vger.kernel.org
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
 Documentation/driver-api/generic-counter.rst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

William Breathitt Gray Oct. 5, 2021, 6:02 a.m. UTC | #1
On Mon, Oct 04, 2021 at 10:51:57PM -0700, Randy Dunlap wrote:
> 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")
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
> Cc: linux-iio@vger.kernel.org
> Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org

Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>

> ---
>  Documentation/driver-api/generic-counter.rst |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-next-20211001.orig/Documentation/driver-api/generic-counter.rst
> +++ linux-next-20211001/Documentation/driver-api/generic-counter.rst
> @@ -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
Jonathan Cameron Oct. 7, 2021, 3:37 p.m. UTC | #2
On Tue, 5 Oct 2021 15:02:52 +0900
William Breathitt Gray <vilhelm.gray@gmail.com> wrote:

> On Mon, Oct 04, 2021 at 10:51:57PM -0700, Randy Dunlap wrote:
> > 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")
> > Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> > Cc: William Breathitt Gray <vilhelm.gray@gmail.com>
> > Cc: linux-iio@vger.kernel.org
> > Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > Cc: Jonathan Corbet <corbet@lwn.net>
> > Cc: linux-doc@vger.kernel.org  
> 
> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
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

> 
> > ---
> >  Documentation/driver-api/generic-counter.rst |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > --- linux-next-20211001.orig/Documentation/driver-api/generic-counter.rst
> > +++ linux-next-20211001/Documentation/driver-api/generic-counter.rst
> > @@ -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
diff mbox series

Patch

--- linux-next-20211001.orig/Documentation/driver-api/generic-counter.rst
+++ linux-next-20211001/Documentation/driver-api/generic-counter.rst
@@ -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