When print the difference between two pointers, we should use
the ptrdiff_t modifier %t.
Signed-off-by: Miles Chen
---
Documentation/core-api/printk-formats.rst | 14 ++
1 file changed, 14 insertions(+)
diff --git a/Documentation/core-api/printk-formats.rst
b/Documentation/core-api
On 23/09/2019 12:46, Thomas Bogendoerfer wrote:
nvmem_device_find provides a way to search for nvmem devices with
the help of a match function simlair to bus_find_device.
Signed-off-by: Thomas Bogendoerfer
---
Thanks for the patch,
This patch looks good for me.
Do you know which tree is
Resolving a couple of Sphinx documentation warnings
that are generated in the networking section.
- WARNING: document isn't included in any toctree
- WARNING: Title underline too short.
Signed-off-by: Adam Zerella
---
v2: Moved 'netronome/nfp' into alphabetical order
---
Documentation/networki
On Mon, Sep 30, 2019 at 11:37:54AM -0700, Jakub Kicinski wrote:
> On Sat, 28 Sep 2019 22:39:17 +1000, Adam Zerella wrote:
> > Resolving a couple of Sphinx documentation warnings
> > that are generated in the networking section.
> >
> > - WARNING: document isn't included in any toctree
> > - WARNIN
On Mon, Sep 30, 2019 at 01:28:23PM +0100, Will Deacon wrote:
> On Sat, Sep 28, 2019 at 10:58:19PM +1000, Adam Zerella wrote:
> > Sphinx generates the following warnings for the arm64 doc
> > pages:
> >
> > Documentation/arm64/memory.rst:158: WARNING: Unexpected indentation.
> > Documentation/arm64
On Mon, Sep 30, 2019 at 10:18:43AM -0700, H. Peter Anvin wrote:
> On 2019-09-30 08:01, Daniel Kiper wrote:
> >
> > OK.
> >
> >> field for the entire .kernel_info section, thus ensuring it is a
> >> single self-contained blob.
> >
> > .rodata.kernel_info contains its total size immediately behind th
On Tue, 24 Sep 2019 16:29:58 -0700
Kees Cook wrote:
> While sphinx 1.7 and later supports "-jauto" for parallelism, this
> effectively ignores the "-j" flag used in the "make" invocation, which
> may cause confusion for build systems. Instead, extract the available
> parallelism from "make"'s job
On Wed, 25 Sep 2019 17:17:44 +0700
bhenryj0...@gmail.com wrote:
> From: Brendan Jackman
>
> The reStructuredText syntax is wrong here; not sure how it was
> intended but we can just use the section header as an implicit
> hyperlink target, with a single "outward" underscore.
>
> Signed-off-by:
On Wed, 25 Sep 2019 13:06:28 -0700
Kees Cook wrote:
> > +always appears first in the stack of LSM hooks. A
> > +:c:func:`security_add_hooks()` function (in ``security/security.c``)
>
> IIUC, the :c:func:`...()` marking isn't needed any more, just having a
> word followed by "()" should trigger
On Wed, 25 Sep 2019 15:32:10 +0100
Catalin Marinas wrote:
> On Wed, Sep 25, 2019 at 02:31:14PM +, Jeremy Cline wrote:
> > Commit c5665868183f ("mm: kmemleak: use the memory pool for early
> > allocations") renamed CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE to
> > CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE
On Wed, 25 Sep 2019 12:56:04 -0700
Jon Haslam wrote:
> The current cgroup-v2.rst file contains an incorrect description of when
> memory is reclaimed from a cgroup that is using the 'memory.low'
> mechanism. This fix simply corrects the text to reflect the actual
> implementation.
>
> Fixes: 785
On Tue, 17 Sep 2019 16:41:46 -0300
André Almeida wrote:
> -if ($x =~
> /(struct|union)\s+(\w+)\s*\{(.*)\}(\s*(__packed|__aligned|__attribute__\s*\(\([a-z0-9,_\s\(\)]*\)\)))*/)
> {
> +if ($x =~
> /(struct|union)\s+(\w+)\s*\{(.*)\}(\s*(__packed|__aligned|cacheline_aligned_in_smp|__at
On Sun, 15 Sep 2019 18:20:10 +1000
Adam Zerella wrote:
> Sphinx is currently outputting a warning where
> the file 'imx-ddr.rst' is not included in the
> documentation index. Additionally, the code
> highlighting and doc formatting can be slightly
> improved.
>
> Signed-off-by: Adam Zerella
> -
On Mon, 16 Sep 2019 09:03:16 +0200
Christoph Hellwig wrote:
> The earlycon options without arguments is supposed on all device
> tree platforms, not just arm64.
>
> Signed-off-by: Christoph Hellwig
> ---
> Documentation/admin-guide/kernel-parameters.txt | 10 --
> 1 file changed, 4 ins
On Mon, 16 Sep 2019 13:01:40 +
Chester Lin wrote:
> Correct the sequence of the magic number 2 since it's little endian.
>
> Signed-off-by: Chester Lin
> ---
> Documentation/riscv/boot-image-header.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
So I'm slowly digging my way th
On Tue, 24 Sep 2019 16:02:06 -0700
Kees Cook wrote:
> Commit log from Patch 2 repeated here for cover letter:
>
> In order to have the MAINTAINERS file visible in the rendered ReST
> output, this makes some small changes to the existing MAINTAINERS file
> to allow for better machine processing,
On Fri, Jul 12, 2019 at 08:56:44AM -0700, h...@zytor.com wrote:
> On July 4, 2019 9:36:11 AM PDT, Daniel Kiper wrote:
[...]
> >diff --git a/arch/x86/include/uapi/asm/bootparam.h
> >b/arch/x86/include/uapi/asm/bootparam.h
> >index b05318112452..17fa6ad6 100644
> >--- a/arch/x86/include/uapi/a
Em Tue, 1 Oct 2019 08:31:47 -0600
Jonathan Corbet escreveu:
> On Tue, 24 Sep 2019 16:02:06 -0700
> Kees Cook wrote:
>
> > Commit log from Patch 2 repeated here for cover letter:
> >
> > In order to have the MAINTAINERS file visible in the rendered ReST
> > output, this makes some small changes
On Tue, Oct 01, 2019 at 12:09:30PM -0300, Mauro Carvalho Chehab wrote:
> Em Tue, 1 Oct 2019 08:31:47 -0600
> Jonathan Corbet escreveu:
>
> > On Tue, 24 Sep 2019 16:02:06 -0700
> > Kees Cook wrote:
> >
> > > Commit log from Patch 2 repeated here for cover letter:
> > >
> > > In order to have th
From: Adam Zerella
Date: Tue, 1 Oct 2019 21:16:58 +1000
> Resolving a couple of Sphinx documentation warnings
> that are generated in the networking section.
>
> - WARNING: document isn't included in any toctree
> - WARNING: Title underline too short.
>
> Signed-off-by: Adam Zerella
Applied.
On Tue, Oct 01, 2019 at 08:31:47AM -0600, Jonathan Corbet wrote:
> On a separate note...it occurred to me, rather belatedly as usual, that
> last time we discussed doing this that there was some opposition to adding
> a second MAINTAINERS parser to the kernel; future changes to the format of
> that
On Tue, 1 Oct 2019 09:16:41 -0700
Kees Cook wrote:
> > > This almost certainly has to do with the fact that I'm (intentionally)
> > > running the Python2 Sphinx build here. Something's not doing unicode that
> > > should be.
>
> Given this would be for v5.5, and python2 is EOL in 2 months[1],
On Tue, 1 Oct 2019 12:09:30 -0300
Mauro Carvalho Chehab wrote:
> > Sphinx parallel build error:
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8:
> > ordinal not in range(128)
> >
> > For extra fun, the build process simply hangs, requiring a ^C to blow it
> > away
On Tue, 1 Oct 2019 09:27:29 -0700
Kees Cook wrote:
> On Tue, Oct 01, 2019 at 08:31:47AM -0600, Jonathan Corbet wrote:
> > On a separate note...it occurred to me, rather belatedly as usual, that
> > last time we discussed doing this that there was some opposition to adding
> > a second MAINTAINERS
drivers/dma_buf/reservation.c was renamed to dma-resv.c (and
include/linux/reservation.h to dma-resv.h), but the documentation was not
updated to match, leading to these build errors:
Error: Cannot open file ./drivers/dma-buf/reservation.c
Error: Cannot open file ./drivers/dma-buf/reservation.
Right now any ":Field Name: Field Contents" lines end up with significant
padding due to CSS from the "table" CSS which rightly needs padding to
make tables readable. However, field lists don't need this as they tend
to be stacked together. The future heavy use of fields in the parsed
MAINTAINERS f
In order to have the MAINTAINERS file visible in the rendered ReST
output, this makes some small changes to the existing MAINTAINERS file
to allow for better machine processing, and adds a new Sphinx directive
"maintainers-include" to perform the rendering.
Features include:
- Per-subsystem refere
v1: https://lore.kernel.org/lkml/20190924230208.12414-1-keesc...@chromium.org
v2: fix python2 utf-8 issue thanks to Jonathan Corbet
Commit log from Patch 2 repeated here for cover letter:
In order to have the MAINTAINERS file visible in the rendered ReST
output, this makes some small changes to
On Tue, Oct 01, 2019 at 11:35:06AM -0600, Jonathan Corbet wrote:
> for line in open(path):
> +if sys.version_info.major == 2:
> +line = unicode(line, 'utf-8')
Ah-ha! Thanks. I've sent v2 now. :)
--
Kees Cook
Hi Jon,
On Tue, 1 Oct 2019, Jonathan Corbet wrote:
> On Mon, 16 Sep 2019 13:01:40 +
> Chester Lin wrote:
>
> > Correct the sequence of the magic number 2 since it's little endian.
> >
> > Signed-off-by: Chester Lin
> > ---
> > Documentation/riscv/boot-image-header.txt | 2 +-
> > 1 file
On 2019-10-01 04:41, Daniel Kiper wrote:
>
> OK, so, this is more or less what I had in my v3 patch before sending
> this email. So, it looks that I am on good track. Great! Though I am not
> sure that we should have magic for chunked objects. If yes could you
> explain why? I would just leave len
31 matches
Mail list logo