Skip to contentSkip to conversation

linux-next: build warning in Linus' tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Feb 18, 2021 – Feb 23, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Building Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation.

Introduced by commit

c159376490ee ("x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/")

Or maybe an ealier one.

This has been around for some time.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi,
We made a special effort to squash the unexpected indentation warnings in c159376490ee (https://lore.kernel.org/lkml/[email protected]/), so I was surprised to see this again. Commit:

c9624cb7db1c ("x86/platform/uv: Update sysfs documentation")

is the culprit here. I suspect it was written and submitted before we made the effort to fix the Unexpected indentation in c159376490ee, so it misplaced the first line of a codeblock, the original problem that was reported and fixed.

The fix:

Documentation/ABI/testing/sysfs-firmware-sgi_uv +1 -1
index 637c668cbe45..12ed843e1d3e 100644
@@ -39,8 +39,8 @@ Description:
 
                The uv_type entry contains the hub revision number.
                This value can be used to identify the UV system version::
-                       "0.*" = Hubless UV ('*' is subtype)
 
+                       "0.*" = Hubless UV ('*' is subtype)
                        "3.0" = UV2
                        "5.0" = UV3
                        "7.0" = UV4

Thanks,
Justin

Quoted 18 lines

Hi all,

Building Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation.

Introduced by commit

c159376490ee ("x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/")

Or maybe an ealier one.

This has been around for some time.

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi all,

Quoted 26 lines · Justin

Hi,
We made a special effort to squash the unexpected indentation warnings in c159376490ee (https://lore.kernel.org/lkml/[email protected]/), so I was surprised to see this again. Commit:

c9624cb7db1c ("x86/platform/uv: Update sysfs documentation")

is the culprit here. I suspect it was written and submitted before we made the effort to fix the Unexpected indentation in c159376490ee, so it misplaced the first line of a codeblock, the original problem that was reported and fixed.

The fix:

Documentation/ABI/testing/sysfs-firmware-sgi_uv +1 -1
index 637c668cbe45..12ed843e1d3e 100644
@@ -39,8 +39,8 @@ Description:
 
                The uv_type entry contains the hub revision number.
                This value can be used to identify the UV system version::
-                       "0.*" = Hubless UV ('*' is subtype)
 
+                       "0.*" = Hubless UV ('*' is subtype)
                        "3.0" = UV2
                        "5.0" = UV3
                        "7.0" = UV4
Quoted 15 lines

Thanks,
Justin

Quoted 12 lines

Building Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation.

Introduced by commit

c159376490ee ("x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/")

Or maybe an ealier one.

This has been around for some time.

I am still seeing this warning.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw
Quoted 44 lines

Hi all,

Quoted 3 lines · Justin

Hi,
We made a special effort to squash the unexpected indentation warnings in c159376490ee

(https://lore.kernel.org/lkml/[email protected]/), so I was surprised to see this again.

Quoted 5 lines

Commit:

c9624cb7db1c ("x86/platform/uv: Update sysfs documentation")

is the culprit here. I suspect it was written and submitted before we made the effort to fix the

Unexpected indentation in c159376490ee, so it misplaced the first line of a codeblock, the original problem that was reported and fixed.

Documentation/ABI/testing/sysfs-

Quoted 4 lines

The fix:

Documentation/ABI/testing/sysfs- renamed from Documentation/ABI/testing/sysfs-firmware-sgi_uv +0 -0

firmware-sgi_uv

Quoted 24 lines

index 637c668cbe45..12ed843e1d3e 100644

Documentation/ABI/testing/sysfs-firmware-sgi_uv +1 -1
@@ -39,8 +39,8 @@ Description:
 
                The uv_type entry contains the hub revision number.
                This value can be used to identify the UV system version::
-                       "0.*" = Hubless UV ('*' is subtype)
 
+                       "0.*" = Hubless UV ('*' is subtype)
                        "3.0" = UV2
                        "5.0" = UV3
                        "7.0" = UV4

Thanks,
Justin

Quoted 7 lines

Building Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation.

Introduced by commit

Quoted 7 lines
Quoted 5 lines
Quoted 5 lines

c159376490ee ("x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/")

Or maybe an ealier one.

This has been around for some time.

I am still seeing this warning.

I submitted a patch here: https://lore.kernel.org/lkml/[email protected]/

Thanks,
Justin Ernst

Quoted 4 lines

--
Cheers,
Stephen Rothwell