linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'?
@ 2023-11-28 12:25 Naresh Kamboju
  2023-11-29  7:08 ` Bagas Sanjaya
  2023-11-29 11:55 ` David Sterba
  0 siblings, 2 replies; 5+ messages in thread
From: Naresh Kamboju @ 2023-11-28 12:25 UTC (permalink / raw)
  To: open list, lkft-triage, regressions, linux-btrfs,
	Linux-Next Mailing List
  Cc: Josef Bacik, David Sterba, Chris Mason, Anders Roxell, Arnd Bergmann

Following x86 and i386 build regressions noticed on Linux next-20231128 tag.

Build log:
-----------
fs/btrfs/super.c: In function 'btrfs_parse_param':
fs/btrfs/super.c:416:25: error: 'ret' undeclared (first use in this
function); did you mean 'net'?
  416 |                         ret = -EINVAL;
      |                         ^~~
      |                         net
fs/btrfs/super.c:416:25: note: each undeclared identifier is reported
only once for each function it appears in
fs/btrfs/super.c:417:25: error: label 'out' used but not defined
  417 |                         goto out;
      |                         ^~~~
make[5]: *** [scripts/Makefile.build:243: fs/btrfs/super.o] Error 1

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

Links:
 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/log

 - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/details/
 - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/config

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'?
  2023-11-28 12:25 btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'? Naresh Kamboju
@ 2023-11-29  7:08 ` Bagas Sanjaya
  2023-11-29  8:59   ` Naresh Kamboju
  2023-11-29 11:55 ` David Sterba
  1 sibling, 1 reply; 5+ messages in thread
From: Bagas Sanjaya @ 2023-11-29  7:08 UTC (permalink / raw)
  To: Naresh Kamboju, Linux Kernel Mailing List, lkft-triage,
	Linux Regressions, Linux btrfs, Linux Next Mailing List
  Cc: Josef Bacik, David Sterba, Chris Mason, Anders Roxell, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]

On Tue, Nov 28, 2023 at 05:55:51PM +0530, Naresh Kamboju wrote:
> Following x86 and i386 build regressions noticed on Linux next-20231128 tag.
> 
> Build log:
> -----------
> fs/btrfs/super.c: In function 'btrfs_parse_param':
> fs/btrfs/super.c:416:25: error: 'ret' undeclared (first use in this
> function); did you mean 'net'?
>   416 |                         ret = -EINVAL;
>       |                         ^~~
>       |                         net
> fs/btrfs/super.c:416:25: note: each undeclared identifier is reported
> only once for each function it appears in
> fs/btrfs/super.c:417:25: error: label 'out' used but not defined
>   417 |                         goto out;
>       |                         ^~~~
> make[5]: *** [scripts/Makefile.build:243: fs/btrfs/super.o] Error 1
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> Links:
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/log
> 
>  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/details/
>  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/
> - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/config
> 

Is it W=1 build? I can't reproduce on btrfs tree with
CONFIG_BTRFS_FS_POSIX_ACL=y and without W=1.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'?
  2023-11-29  7:08 ` Bagas Sanjaya
@ 2023-11-29  8:59   ` Naresh Kamboju
  2023-11-29  9:58     ` Bagas Sanjaya
  0 siblings, 1 reply; 5+ messages in thread
From: Naresh Kamboju @ 2023-11-29  8:59 UTC (permalink / raw)
  To: Bagas Sanjaya
  Cc: Linux Kernel Mailing List, lkft-triage, Linux Regressions,
	Linux btrfs, Linux Next Mailing List, Josef Bacik, David Sterba,
	Chris Mason, Anders Roxell, Arnd Bergmann

On Wed, 29 Nov 2023 at 12:38, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
>
> On Tue, Nov 28, 2023 at 05:55:51PM +0530, Naresh Kamboju wrote:
> > Following x86 and i386 build regressions noticed on Linux next-20231128 tag.
> >
> > Build log:
> > -----------
> > fs/btrfs/super.c: In function 'btrfs_parse_param':
> > fs/btrfs/super.c:416:25: error: 'ret' undeclared (first use in this
> > function); did you mean 'net'?
> >   416 |                         ret = -EINVAL;
> >       |                         ^~~
> >       |                         net
> > fs/btrfs/super.c:416:25: note: each undeclared identifier is reported
> > only once for each function it appears in
> > fs/btrfs/super.c:417:25: error: label 'out' used but not defined
> >   417 |                         goto out;
> >       |                         ^~~~
> > make[5]: *** [scripts/Makefile.build:243: fs/btrfs/super.o] Error 1
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > Links:
> >  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/log
> >
> >  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/details/
> >  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/
> > - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/config
> >
>
> Is it W=1 build? I can't reproduce on btrfs tree with
> CONFIG_BTRFS_FS_POSIX_ACL=y and without W=1.

My config did not set this
# CONFIG_BTRFS_FS_POSIX_ACL is not set

Do you think the system should auto select the above config as default when
following config gets enabled ?

CONFIG_BTRFS_FS=m
(or)
CONFIG_BTRFS_FS=y

- Naresh

> Thanks.
>
> --
> An old man doll... just what I always wanted! - Clara

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'?
  2023-11-29  8:59   ` Naresh Kamboju
@ 2023-11-29  9:58     ` Bagas Sanjaya
  0 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2023-11-29  9:58 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: Linux Kernel Mailing List, lkft-triage, Linux Regressions,
	Linux btrfs, Linux Next Mailing List, Josef Bacik, David Sterba,
	Chris Mason, Anders Roxell, Arnd Bergmann

[-- Attachment #1: Type: text/plain, Size: 2102 bytes --]

On Wed, Nov 29, 2023 at 02:29:42PM +0530, Naresh Kamboju wrote:
> On Wed, 29 Nov 2023 at 12:38, Bagas Sanjaya <bagasdotme@gmail.com> wrote:
> >
> > On Tue, Nov 28, 2023 at 05:55:51PM +0530, Naresh Kamboju wrote:
> > > Following x86 and i386 build regressions noticed on Linux next-20231128 tag.
> > >
> > > Build log:
> > > -----------
> > > fs/btrfs/super.c: In function 'btrfs_parse_param':
> > > fs/btrfs/super.c:416:25: error: 'ret' undeclared (first use in this
> > > function); did you mean 'net'?
> > >   416 |                         ret = -EINVAL;
> > >       |                         ^~~
> > >       |                         net
> > > fs/btrfs/super.c:416:25: note: each undeclared identifier is reported
> > > only once for each function it appears in
> > > fs/btrfs/super.c:417:25: error: label 'out' used but not defined
> > >   417 |                         goto out;
> > >       |                         ^~~~
> > > make[5]: *** [scripts/Makefile.build:243: fs/btrfs/super.o] Error 1
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > >
> > > Links:
> > >  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/log
> > >
> > >  - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231128/testrun/21349057/suite/build/test/gcc-13-lkftconfig-kselftest/details/
> > >  - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/
> > > - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Ymoxor9n54ID51BFjRBS06YQ3U/config
> > >
> >
> > Is it W=1 build? I can't reproduce on btrfs tree with
> > CONFIG_BTRFS_FS_POSIX_ACL=y and without W=1.
> 
> My config did not set this
> # CONFIG_BTRFS_FS_POSIX_ACL is not set

OK.

> 
> Do you think the system should auto select the above config as default when
> following config gets enabled ?
> 
> CONFIG_BTRFS_FS=m
> (or)
> CONFIG_BTRFS_FS=y
> 

Nope, leave it as is.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'?
  2023-11-28 12:25 btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'? Naresh Kamboju
  2023-11-29  7:08 ` Bagas Sanjaya
@ 2023-11-29 11:55 ` David Sterba
  1 sibling, 0 replies; 5+ messages in thread
From: David Sterba @ 2023-11-29 11:55 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list, lkft-triage, regressions, linux-btrfs,
	Linux-Next Mailing List, Josef Bacik, David Sterba, Chris Mason,
	Anders Roxell, Arnd Bergmann

On Tue, Nov 28, 2023 at 05:55:51PM +0530, Naresh Kamboju wrote:
> Following x86 and i386 build regressions noticed on Linux next-20231128 tag.
> 
> Build log:
> -----------
> fs/btrfs/super.c: In function 'btrfs_parse_param':
> fs/btrfs/super.c:416:25: error: 'ret' undeclared (first use in this
> function); did you mean 'net'?
>   416 |                         ret = -EINVAL;
>       |                         ^~~
>       |                         net
> fs/btrfs/super.c:416:25: note: each undeclared identifier is reported
> only once for each function it appears in
> fs/btrfs/super.c:417:25: error: label 'out' used but not defined
>   417 |                         goto out;
>       |                         ^~~~
> make[5]: *** [scripts/Makefile.build:243: fs/btrfs/super.o] Error 1

Fixed in today's for-next snapshot, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-29 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-28 12:25 btrfs: super.c:416:25: error: 'ret' undeclared (first use in this function); did you mean 'net'? Naresh Kamboju
2023-11-29  7:08 ` Bagas Sanjaya
2023-11-29  8:59   ` Naresh Kamboju
2023-11-29  9:58     ` Bagas Sanjaya
2023-11-29 11:55 ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).