Re: [PATCH bpf v2] xsk: improve documentation for AF_XDP

2019-10-20 Thread Magnus Karlsson
On Sat, Oct 19, 2019 at 11:48 AM Alexei Starovoitov wrote: > > On Fri, Oct 18, 2019 at 11:33:40AM +0200, Magnus Karlsson wrote: > > + > > + #include > > + #include "bpf_helpers.h" > > + > > + #define MAX_SOCKS 16 > > + > > + struct { > > +__uint(type, BPF_MAP_TYPE_XSKMAP); > > +

[PATCH] kernel-doc: trivial improvement for warning message

2019-10-20 Thread Changbin Du
The message "Function parameter or member ..." looks weird. Signed-off-by: Changbin Du --- scripts/kernel-doc | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 81dc91760b23..cd3d2ca52c34 100755 --- a/scripts/kernel-doc +++

Re: [PATCH v2 1/2] hwmon: Add support for ltc2947

2019-10-20 Thread Guenter Roeck
On Fri, Oct 11, 2019 at 01:48:52PM +0200, Nuno Sá wrote: > The ltc2947 is a high precision power and energy monitor with an > internal sense resistor supporting up to +/- 30A. Three internal no > Latency ADCs ensure accurate measurement of voltage and current, while > high-bandwidth analog multipli

Re: [PATCH] hwmon: (ina3221) Add summation feature support

2019-10-20 Thread Guenter Roeck
On Wed, Oct 16, 2019 at 04:57:02PM -0700, Nicolin Chen wrote: > This patch implements the summation feature of INA3221, mainly the > SCC (enabling) and SF (warning flag) bits of MASK_ENABLE register, > INA3221_SHUNT_SUM (summation of shunt voltages) register, and the > INA3221_CRIT_SUM (its critica

Re: [PATCH bpf v2] xsk: improve documentation for AF_XDP

2019-10-20 Thread Alexei Starovoitov
On Sun, Oct 20, 2019 at 10:13:49AM +0200, Magnus Karlsson wrote: > On Sat, Oct 19, 2019 at 11:48 AM Alexei Starovoitov > wrote: > > > > On Fri, Oct 18, 2019 at 11:33:40AM +0200, Magnus Karlsson wrote: > > > + > > > + #include > > > + #include "bpf_helpers.h" > > > + > > > + #define MAX_SOCK

Re: [PATCH bpf v2] xsk: improve documentation for AF_XDP

2019-10-20 Thread Magnus Karlsson
On Sun, Oct 20, 2019 at 7:25 PM Alexei Starovoitov wrote: > > On Sun, Oct 20, 2019 at 10:13:49AM +0200, Magnus Karlsson wrote: > > On Sat, Oct 19, 2019 at 11:48 AM Alexei Starovoitov > > wrote: > > > > > > On Fri, Oct 18, 2019 at 11:33:40AM +0200, Magnus Karlsson wrote: > > > > + > > > > + #inc

[PATCH] docs/core-api: memory-allocation: fix typo

2019-10-20 Thread Chris Packham
"on the safe size" should be "on the safe side". Signed-off-by: Chris Packham --- Documentation/core-api/memory-allocation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/core-api/memory-allocation.rst b/Documentation/core-api/memory-allocation.rst index 77

[PATCH] docs: ioctl: fix typo

2019-10-20 Thread Chris Packham
"pointres" should be "pointers". Signed-off-by: Chris Packham --- Documentation/ioctl/botching-up-ioctls.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ioctl/botching-up-ioctls.rst b/Documentation/ioctl/botching-up-ioctls.rst index ac697fef3545..2d4829b2fb

[PATCH] docs: admin-guide/perf: fix imx-ddr.rst warnings

2019-10-20 Thread Randy Dunlap
From: Randy Dunlap Fix Sphinx warnings in imx-ddr.rst: Documentation/admin-guide/perf/imx-ddr.rst:21: WARNING: Unexpected indentation. Documentation/admin-guide/perf/imx-ddr.rst:34: WARNING: Unexpected indentation. Documentation/admin-guide/perf/imx-ddr.rst:40: WARNING: Unexpected indentation. D

Re: [PATCH] docs/core-api: memory-allocation: fix typo

2019-10-20 Thread Matthew Wilcox
On Mon, Oct 21, 2019 at 01:38:32PM +1300, Chris Packham wrote: > "on the safe size" should be "on the safe side". > > Signed-off-by: Chris Packham Yes, it should. Acked-by: Matthew Wilcox (Oracle) If you like, you could do a follow-up patch mentioning the use of struct_size(), array_size() an