* linux-next: build warnings after merge of the origin tree
@ 2021-02-18 21:02 Stephen Rothwell
2021-02-19 15:33 ` Vitaly Kuznetsov
0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2021-02-18 21:02 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Vitaly Kuznetsov, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
Hi all,
Building Linus' tree, today's linux-next build (htmldocs) produced
these warnings:
Documentation/virt/kvm/api.rst:4537: WARNING: Unexpected indentation.
Documentation/virt/kvm/api.rst:4539: WARNING: Block quote ends without a blank line; unexpected unindent.
Introduced by commit
c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl")
These have been around for some time.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2021-02-18 21:02 linux-next: build warnings after merge of the origin tree Stephen Rothwell
@ 2021-02-19 15:33 ` Vitaly Kuznetsov
2021-02-19 16:01 ` Paolo Bonzini
0 siblings, 1 reply; 12+ messages in thread
From: Vitaly Kuznetsov @ 2021-02-19 15:33 UTC (permalink / raw)
To: Stephen Rothwell, Paolo Bonzini
Cc: Linux Kernel Mailing List, Linux Next Mailing List
Stephen Rothwell <sfr@canb.auug.org.au> writes:
> Hi all,
>
> Building Linus' tree, today's linux-next build (htmldocs) produced
> these warnings:
>
> Documentation/virt/kvm/api.rst:4537: WARNING: Unexpected indentation.
> Documentation/virt/kvm/api.rst:4539: WARNING: Block quote ends without a blank line; unexpected unindent.
>
> Introduced by commit
>
> c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl")
>
> These have been around for some time.
I remember seeing a patch fixing these:
https://lore.kernel.org/kvm/20210104095938.24838-1-lukas.bulwahn@gmail.com/
Paolo, could you please queue it up? Thanks!
--
Vitaly
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2021-02-19 15:33 ` Vitaly Kuznetsov
@ 2021-02-19 16:01 ` Paolo Bonzini
2021-02-23 21:56 ` Stephen Rothwell
0 siblings, 1 reply; 12+ messages in thread
From: Paolo Bonzini @ 2021-02-19 16:01 UTC (permalink / raw)
To: Vitaly Kuznetsov, Stephen Rothwell
Cc: Linux Kernel Mailing List, Linux Next Mailing List
On 19/02/21 16:33, Vitaly Kuznetsov wrote:
> Stephen Rothwell <sfr@canb.auug.org.au> writes:
>
>> Hi all,
>>
>> Building Linus' tree, today's linux-next build (htmldocs) produced
>> these warnings:
>>
>> Documentation/virt/kvm/api.rst:4537: WARNING: Unexpected indentation.
>> Documentation/virt/kvm/api.rst:4539: WARNING: Block quote ends without a blank line; unexpected unindent.
>>
>> Introduced by commit
>>
>> c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl")
>>
>> These have been around for some time.
>
> I remember seeing a patch fixing these:
> https://lore.kernel.org/kvm/20210104095938.24838-1-lukas.bulwahn@gmail.com/
>
> Paolo, could you please queue it up? Thanks!
I was expecting Jon to pick it up, but yes I can do that too.
Paolo
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2021-02-19 16:01 ` Paolo Bonzini
@ 2021-02-23 21:56 ` Stephen Rothwell
2021-02-26 1:57 ` Stephen Rothwell
0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2021-02-23 21:56 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Vitaly Kuznetsov, Linux Kernel Mailing List,
Linux Next Mailing List, Chenyi Qiang
[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]
Hi all,
On Fri, 19 Feb 2021 17:01:13 +0100 Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 19/02/21 16:33, Vitaly Kuznetsov wrote:
> > Stephen Rothwell <sfr@canb.auug.org.au> writes:
> >>
> >> Building Linus' tree, today's linux-next build (htmldocs) produced
> >> these warnings:
> >>
> >> Documentation/virt/kvm/api.rst:4537: WARNING: Unexpected indentation.
> >> Documentation/virt/kvm/api.rst:4539: WARNING: Block quote ends without a blank line; unexpected unindent.
> >>
> >> Introduced by commit
> >>
> >> c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl")
> >>
> >> These have been around for some time.
> >
> > I remember seeing a patch fixing these:
> > https://lore.kernel.org/kvm/20210104095938.24838-1-lukas.bulwahn@gmail.com/
> >
> > Paolo, could you please queue it up? Thanks!
>
> I was expecting Jon to pick it up, but yes I can do that too.
I am still seeing the above and have noticed another one:
Documentation/virt/kvm/api.rst:5002: WARNING: Unexpected indentation.
Documentation/virt/kvm/api.rst:5002: WARNING: Inline emphasis start-string without end-string.
Introduced by commit
c32b1b896d2a ("KVM: X86: Add the Document for KVM_CAP_X86_BUS_LOCK_EXIT")
(Not new, but newly reported - or maybe just changed line number)
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2021-02-23 21:56 ` Stephen Rothwell
@ 2021-02-26 1:57 ` Stephen Rothwell
0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2021-02-26 1:57 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Vitaly Kuznetsov, Linux Kernel Mailing List,
Linux Next Mailing List, Chenyi Qiang
[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]
Hi all,
On Wed, 24 Feb 2021 08:56:54 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Fri, 19 Feb 2021 17:01:13 +0100 Paolo Bonzini <pbonzini@redhat.com> wrote:
> >
> > On 19/02/21 16:33, Vitaly Kuznetsov wrote:
> > > Stephen Rothwell <sfr@canb.auug.org.au> writes:
> > >>
> > >> Building Linus' tree, today's linux-next build (htmldocs) produced
> > >> these warnings:
> > >>
> > >> Documentation/virt/kvm/api.rst:4537: WARNING: Unexpected indentation.
> > >> Documentation/virt/kvm/api.rst:4539: WARNING: Block quote ends without a blank line; unexpected unindent.
> > >>
> > >> Introduced by commit
> > >>
> > >> c21d54f0307f ("KVM: x86: hyper-v: allow KVM_GET_SUPPORTED_HV_CPUID as a system ioctl")
> > >>
> > >> These have been around for some time.
> > >
> > > I remember seeing a patch fixing these:
> > > https://lore.kernel.org/kvm/20210104095938.24838-1-lukas.bulwahn@gmail.com/
> > >
> > > Paolo, could you please queue it up? Thanks!
> >
> > I was expecting Jon to pick it up, but yes I can do that too.
>
> I am still seeing the above and have noticed another one:
So the above are now gone, thanks, but the below is still there (line
number changed to 5004).
>
> Documentation/virt/kvm/api.rst:5002: WARNING: Unexpected indentation.
> Documentation/virt/kvm/api.rst:5002: WARNING: Inline emphasis start-string without end-string.
>
> Introduced by commit
>
> c32b1b896d2a ("KVM: X86: Add the Document for KVM_CAP_X86_BUS_LOCK_EXIT")
>
> (Not new, but newly reported - or maybe just changed line number)
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* linux-next: build warnings after merge of the origin tree
@ 2022-06-20 8:02 Stephen Rothwell
0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2022-06-20 8:02 UTC (permalink / raw)
To: Theodore Ts'o, Wang Jianjian
Cc: Linus Torvalds, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 35415 bytes --]
Hi all,
After merging the origin tree, today's linux-next build (htmldocs)
produced these warnings:
Documentation/filesystems/ext4/ifork.rst:5: WARNING: Malformed table.
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| i.i_block Offset | Where It Points |
+=====================+==============================================================================================================================================================================================================================+
| 0 to 11 | Direct map to file blocks 0 to 11. |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 12 | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 1035 if 4KiB blocks) |
| | |
| | +------------------------------+--------------------------------------------------------------------+ |
| | | Indirect Block Offset | Where It Points | |
| | +==============================+====================================================================+ |
| | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | |
| | +------------------------------+--------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 13 | Double-indirect block: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 11, or 1036 to 1049611 if 4KiB blocks) |
| | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
| | | Double Indirect Block Offset | Where It Points | |
| | +================================+=========================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | | | | Indirect Block Offset | Where It Points | | |
| | | | +==============================+====================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 14 | Triple-indirect block: (file blocks (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12, or 1049612 to 1074791436 if 4KiB blocks) |
| | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
| | | Triple Indirect Block Offset | Where It Points | |
| | +================================+================================================================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | | | | Double Indirect Block Offset | Where It Points | | |
| | | | +================================+=========================================================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | | |
| | | | | | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | | | | Indirect Block Offset | Where It Points | | | |
| | | | | | +==============================+====================================================================+ | | |
| | | | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Documentation/filesystems/ext4/blockmap.rst:3: WARNING: Malformed table.
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| i.i_block Offset | Where It Points |
+=====================+==============================================================================================================================================================================================================================+
| 0 to 11 | Direct map to file blocks 0 to 11. |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 12 | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 1035 if 4KiB blocks) |
| | |
| | +------------------------------+--------------------------------------------------------------------+ |
| | | Indirect Block Offset | Where It Points | |
| | +==============================+====================================================================+ |
| | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | |
| | +------------------------------+--------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 13 | Double-indirect block: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 11, or 1036 to 1049611 if 4KiB blocks) |
| | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
| | | Double Indirect Block Offset | Where It Points | |
| | +================================+=========================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | | | | Indirect Block Offset | Where It Points | | |
| | | | +==============================+====================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 14 | Triple-indirect block: (file blocks (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12, or 1049612 to 1074791436 if 4KiB blocks) |
| | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
| | | Triple Indirect Block Offset | Where It Points | |
| | +================================+================================================================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | | | | Double Indirect Block Offset | Where It Points | | |
| | | | +================================+=========================================================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | | |
| | | | | | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | | | | Indirect Block Offset | Where It Points | | | |
| | | | | | +==============================+====================================================================+ | | |
| | | | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Documentation/filesystems/ext4/dynamic.rst:5: WARNING: Malformed table.
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| i.i_block Offset | Where It Points |
+=====================+==============================================================================================================================================================================================================================+
| 0 to 11 | Direct map to file blocks 0 to 11. |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 12 | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 1035 if 4KiB blocks) |
| | |
| | +------------------------------+--------------------------------------------------------------------+ |
| | | Indirect Block Offset | Where It Points | |
| | +==============================+====================================================================+ |
| | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | |
| | +------------------------------+--------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 13 | Double-indirect block: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 11, or 1036 to 1049611 if 4KiB blocks) |
| | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
| | | Double Indirect Block Offset | Where It Points | |
| | +================================+=========================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | | | | Indirect Block Offset | Where It Points | | |
| | | | +==============================+====================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | |
| | | | +------------------------------+--------------------------------------------------------------------+ | |
| | +--------------------------------+---------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 14 | Triple-indirect block: (file blocks (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12, or 1049612 to 1074791436 if 4KiB blocks) |
| | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
| | | Triple Indirect Block Offset | Where It Points | |
| | +================================+================================================================================================================================================+ |
| | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) double indirect blocks (1024 if 4KiB blocks) | |
| | | | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | | | | Double Indirect Block Offset | Where It Points | | |
| | | | +================================+=========================================================================================================+ | |
| | | | | 0 to (``$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) | | |
| | | | | | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | | | | Indirect Block Offset | Where It Points | | | |
| | | | | | +==============================+====================================================================+ | | |
| | | | | | | 0 to (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | | | |
| | | | | | +------------------------------+--------------------------------------------------------------------+ | | |
| | | | +--------------------------------+---------------------------------------------------------------------------------------------------------+ | |
| | +--------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------+ |
+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Introduced by commit
3103084afcf2 ("ext4, doc: remove unnecessary escaping")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* linux-next: build warnings after merge of the origin tree
@ 2023-05-08 4:39 Stephen Rothwell
2023-05-08 6:31 ` Maher Sanalla
0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2023-05-08 4:39 UTC (permalink / raw)
To: Saeed Mahameed
Cc: Maher Sanalla, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 618 bytes --]
Hi all,
While building Linus' tree, today's linux-next build (htmldocs)
produced these warnings:
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:287: ERROR: Unexpected indentation.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:288: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:290: ERROR: Unexpected indentation.
Introduced by commit
cf14af140a5a ("net/mlx5e: Add vnic devlink health reporter to representors")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* RE: linux-next: build warnings after merge of the origin tree
2023-05-08 4:39 Stephen Rothwell
@ 2023-05-08 6:31 ` Maher Sanalla
0 siblings, 0 replies; 12+ messages in thread
From: Maher Sanalla @ 2023-05-08 6:31 UTC (permalink / raw)
To: Stephen Rothwell, Saeed Mahameed
Cc: Linux Kernel Mailing List, Linux Next Mailing List
Hi Stephen,
The warnings were addressed and fixed by the following patches:
https://lore.kernel.org/netdev/20230503104724.GL525452@unreal/T/
Documentation: net/mlx5: Wrap vnic reporter devlink commands in code blocks
Documentation: net/mlx5: Use bullet and definition lists for vnic counters description
Documentation: net/mlx5: Add blank line separator before numbered lists
Documentation: net/mlx5: Wrap notes in admonition blocks
Thanks,
Maher
-----Original Message-----
From: Stephen Rothwell <sfr@canb.auug.org.au>
Sent: Monday, May 8, 2023 7:40 AM
To: Saeed Mahameed <saeedm@nvidia.com>
Cc: Maher Sanalla <msanalla@nvidia.com>; Linux Kernel Mailing List <linux-kernel@vger.kernel.org>; Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warnings after merge of the origin tree
Hi all,
While building Linus' tree, today's linux-next build (htmldocs) produced these warnings:
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:287: ERROR: Unexpected indentation.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:288: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/networking/device_drivers/ethernet/mellanox/mlx5/devlink.rst:290: ERROR: Unexpected indentation.
Introduced by commit
cf14af140a5a ("net/mlx5e: Add vnic devlink health reporter to representors")
--
Cheers,
Stephen Rothwell
^ permalink raw reply [flat|nested] 12+ messages in thread
* linux-next: build warnings after merge of the origin tree
@ 2024-07-29 22:22 Stephen Rothwell
2024-07-29 23:38 ` Linus Torvalds
2024-07-30 5:22 ` Stephen Rothwell
0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2024-07-29 22:22 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1899 bytes --]
Hi all,
After merging the origin tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:
In file included from include/asm-generic/percpu.h:7,
from arch/powerpc/include/asm/percpu.h:28,
from include/linux/irqflags.h:19,
from include/linux/spinlock.h:59,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/mm.h:7,
from include/linux/memblock.h:12,
from kernel/profile.c:20:
kernel/profile.c:52:28: warning: 'cpu_profile_flip' defined but not used [-Wunused-variable]
52 | static DEFINE_PER_CPU(int, cpu_profile_flip);
| ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
104 | __PCPU_ATTRS(sec) __typeof__(type) name
| ^~~~
kernel/profile.c:52:8: note: in expansion of macro 'DEFINE_PER_CPU'
52 | static DEFINE_PER_CPU(int, cpu_profile_flip);
| ^~~~~~~~~~~~~~
kernel/profile.c:51:48: warning: 'cpu_profile_hits' defined but not used [-Wunused-variable]
51 | static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
| ^~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
104 | __PCPU_ATTRS(sec) __typeof__(type) name
| ^~~~
kernel/profile.c:51:8: note: in expansion of macro 'DEFINE_PER_CPU'
51 | static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
| ^~~~~~~~~~~~~~
Introduced by commit
2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2024-07-29 22:22 Stephen Rothwell
@ 2024-07-29 23:38 ` Linus Torvalds
2024-07-29 23:57 ` Linus Torvalds
2024-07-30 5:22 ` Stephen Rothwell
1 sibling, 1 reply; 12+ messages in thread
From: Linus Torvalds @ 2024-07-29 23:38 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Mon, 29 Jul 2024 at 15:22, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the origin tree, today's linux-next build (powerpc
> ppc64_defconfig) produced these warnings:
My bad.
I wonder how I don't see them. I very much tested a config with both
SMP and PROC_FS, and those obviously correct warnings do not show up
for me on either arm64 or x86-64.
Does anybody have a clue-bat: what makes only the powerpc build show
this valid warning?
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: linux-next: build warnings after merge of the origin tree
2024-07-29 23:38 ` Linus Torvalds
@ 2024-07-29 23:57 ` Linus Torvalds
0 siblings, 0 replies; 12+ messages in thread
From: Linus Torvalds @ 2024-07-29 23:57 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
On Mon, 29 Jul 2024 at 16:38, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> Does anybody have a clue-bat: what makes only the powerpc build show
> this valid warning?
The obvious fix to just remove the stale static variables has been pushed out.
And it turns out I see the failure too, if I use clang.
Interestingly, clang did *not* complain about the
static DEFINE_MUTEX(profile_flip_mutex);
only about the static DEFINE_PER_CPU() cases.
So it looks like having an initializer ends up suppressing the
message, probably due to various historical usage patterns (eg things
like
static char *rcsid="$Id...";
which is a common traditional pattern).
I have the same gcc version on both arm64 and x86-64, so I guess it
could also be some gcc version dependency that caused me to not see
it.
Linus
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: linux-next: build warnings after merge of the origin tree
2024-07-29 22:22 Stephen Rothwell
2024-07-29 23:38 ` Linus Torvalds
@ 2024-07-30 5:22 ` Stephen Rothwell
1 sibling, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2024-07-30 5:22 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 2274 bytes --]
Hi Linus,
On Tue, 30 Jul 2024 08:22:04 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the origin tree, today's linux-next build (powerpc
> ppc64_defconfig) produced these warnings:
>
> In file included from include/asm-generic/percpu.h:7,
> from arch/powerpc/include/asm/percpu.h:28,
> from include/linux/irqflags.h:19,
> from include/linux/spinlock.h:59,
> from include/linux/mmzone.h:8,
> from include/linux/gfp.h:7,
> from include/linux/mm.h:7,
> from include/linux/memblock.h:12,
> from kernel/profile.c:20:
> kernel/profile.c:52:28: warning: 'cpu_profile_flip' defined but not used [-Wunused-variable]
> 52 | static DEFINE_PER_CPU(int, cpu_profile_flip);
> | ^~~~~~~~~~~~~~~~
> include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
> 104 | __PCPU_ATTRS(sec) __typeof__(type) name
> | ^~~~
> kernel/profile.c:52:8: note: in expansion of macro 'DEFINE_PER_CPU'
> 52 | static DEFINE_PER_CPU(int, cpu_profile_flip);
> | ^~~~~~~~~~~~~~
> kernel/profile.c:51:48: warning: 'cpu_profile_hits' defined but not used [-Wunused-variable]
> 51 | static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
> | ^~~~~~~~~~~~~~~~
> include/linux/percpu-defs.h:104:44: note: in definition of macro 'DEFINE_PER_CPU_SECTION'
> 104 | __PCPU_ATTRS(sec) __typeof__(type) name
> | ^~~~
> kernel/profile.c:51:8: note: in expansion of macro 'DEFINE_PER_CPU'
> 51 | static DEFINE_PER_CPU(struct profile_hit *[2], cpu_profile_hits);
> | ^~~~~~~~~~~~~~
>
> Introduced by commit
>
> 2accfdb7eff6 ("profiling: attempt to remove per-cpu profile flip buffer")
I also did not understand why my arm and x86_64 builds did not get
these warnings, but my i386 defconig build (that I only do at the end
of my merging) actually failed, so I remerged your tree with the fix in
it.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2024-07-30 5:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18 21:02 linux-next: build warnings after merge of the origin tree Stephen Rothwell
2021-02-19 15:33 ` Vitaly Kuznetsov
2021-02-19 16:01 ` Paolo Bonzini
2021-02-23 21:56 ` Stephen Rothwell
2021-02-26 1:57 ` Stephen Rothwell
-- strict thread matches above, loose matches on Subject: below --
2022-06-20 8:02 Stephen Rothwell
2023-05-08 4:39 Stephen Rothwell
2023-05-08 6:31 ` Maher Sanalla
2024-07-29 22:22 Stephen Rothwell
2024-07-29 23:38 ` Linus Torvalds
2024-07-29 23:57 ` Linus Torvalds
2024-07-30 5:22 ` Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox