Re: [kbuild:kunit 14/17] htmldocs: include/kunit/kunit-stream.h:58: warning: Function parameter or member '2' not described in '__printf'

2019-05-20 Thread Randy Dunlap
was first introduced by commit >> :: 8dcda743c31c1ffc0ac13f3d23f3dd1b85b545f8 kunit: test: add >> kunit_stream a std::stream like logger > > Thanks! --- From: Randy Dunlap Ignore __printf() function attributes just as other __attribute__ strings are ignored. Fixes this kernel-

[PATCH] net-next: net: Fix typos in ip-sysctl.txt

2019-05-20 Thread Masanari Iida
This patch fixes some spelling typos found in ip-sysctl.txt Signed-off-by: Masanari Iida --- Documentation/networking/ip-sysctl.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 725b8

Re: [PATCH] networking: : fix typos in code comments

2019-05-20 Thread David Miller
From: Weitao Hou Date: Mon, 20 May 2019 13:23:17 +0800 > fix accelleration to acceleration > > Signed-off-by: Weitao Hou Applied.

Re: [PATCH 08/10] dt: fix refs that were renamed to json with the same file name

2019-05-20 Thread Rob Herring
On Mon, May 20, 2019 at 11:14 AM Mauro Carvalho Chehab wrote: > > Em Mon, 20 May 2019 10:57:47 -0500 > Rob Herring escreveu: > > > On Mon, May 20, 2019 at 9:48 AM Mauro Carvalho Chehab > > wrote: > > > > > > This file was converted to json, but the references weren't > > > > Technically, convert

Re: [PATCH 4/4] ima: only audit failed appraisal verifications

2019-05-20 Thread Mimi Zohar
On Thu, 2019-05-16 at 18:12 +0200, Roberto Sassu wrote: > This patch ensures that integrity_audit_msg() is called only when the > status is not INTEGRITY_PASS. > > Fixes: 8606404fa555c ("ima: digital signature verification support") > Signed-off-by: Roberto Sassu > Cc: sta...@vger.kernel.org > --

[PATCH] lib/sort.c: fix kernel-doc notation warnings

2019-05-20 Thread Randy Dunlap
From: Randy Dunlap Fix kernel-doc notation in lib/sort.c by using correct function parameter names. ../lib/sort.c:59: warning: Excess function parameter 'size' description in 'swap_words_32' ../lib/sort.c:83: warning: Excess function parameter 'size' description in 'swap_words_64' ../lib/sort.

Re: [PATCH 3/4] ima: don't ignore INTEGRITY_UNKNOWN EVM status

2019-05-20 Thread Mimi Zohar
On Thu, 2019-05-16 at 18:12 +0200, Roberto Sassu wrote: > diff --git a/Documentation/admin-guide/kernel-parameters.txt > b/Documentation/admin-guide/kernel-parameters.txt > index 52e6fbb042cc..80e1c233656b 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-g

Re: [PATCH 2/4] evm: reset status in evm_inode_post_setattr()

2019-05-20 Thread Mimi Zohar
On Thu, 2019-05-16 at 18:12 +0200, Roberto Sassu wrote: > This patch adds a call to evm_reset_status() in evm_inode_post_setattr(), > before security.evm is updated. The same is done in the other > evm_inode_post_* functions. > > Fixes: 523b74b16bcbb ("evm: reset EVM status when file attributes ch

Re: [PATCH 1/4] evm: check hash algorithm passed to init_desc()

2019-05-20 Thread Mimi Zohar
On Thu, 2019-05-16 at 18:12 +0200, Roberto Sassu wrote: > This patch prevents memory access beyond the evm_tfm array by checking the > validity of the index (hash algorithm) passed to init_desc(). The hash > algorithm can be arbitrarily set if the security.ima xattr type is not > EVM_XATTR_HMAC. >

[PATCH] Documentation/x86: Fix path to entry_32.S

2019-05-20 Thread ira . weiny
From: Ira Weiny Signed-off-by: Ira Weiny --- Documentation/x86/exception-tables.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/x86/exception-tables.txt b/Documentation/x86/exception-tables.txt index e396bcd8d830..001c0f1ad935 100644 --- a/Documentation/x8

Re: [PATCH -next] counter: fix Documentation build error due to incorrect source file name

2019-05-20 Thread Jonathan Corbet
On Sat, 18 May 2019 21:29:58 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Fix kernel-doc build error in Documentation/driver-api/generic-counter.rst > of incorrect source file name. > Fixes this warning and error: > > Error: Cannot open file ../drivers/counter/generic-counter.c > WARNING

Re: [PATCH 07/10] mfd: madera: point to the right pinctrl binding file

2019-05-20 Thread Mauro Carvalho Chehab
Em Mon, 20 May 2019 16:42:45 +0100 Charles Keepax escreveu: > On Mon, May 20, 2019 at 11:47:36AM -0300, Mauro Carvalho Chehab wrote: > > The reference to Documentation/pinctrl.txt doesn't exist, but > > there is an specific binding for the madera driver. > > > > So, point to it. > > > > Signed-

Re: [TRIVIA] Re: [PATCH] docs: Move kref.txt to core-api/kref.rst

2019-05-20 Thread Jonathan Corbet
On Fri, 17 May 2019 09:19:49 +1000 "Tobin C. Harding" wrote: > I was just going through my editors init file and I see I have default > column width for kernel RST files set to 75. Did you tell me that some > time Jon, I vaguely remember? Don't think it was me, but who knows what I might have s

Re: [PATCH 08/10] dt: fix refs that were renamed to json with the same file name

2019-05-20 Thread Mauro Carvalho Chehab
Em Mon, 20 May 2019 10:57:47 -0500 Rob Herring escreveu: > On Mon, May 20, 2019 at 9:48 AM Mauro Carvalho Chehab > wrote: > > > > This file was converted to json, but the references weren't > > Technically, converted to json-schema (the language) or yaml (the format). Ok. Do you want me to c

Re: [PATCH 08/10] dt: fix refs that were renamed to json with the same file name

2019-05-20 Thread Rob Herring
On Mon, May 20, 2019 at 9:48 AM Mauro Carvalho Chehab wrote: > > This file was converted to json, but the references weren't Technically, converted to json-schema (the language) or yaml (the format). > renamed. > > Fixes: 66ed144f147a ("dt-bindings: interrupt-controller: Convert ARM GIC to > js

Re: [PATCH 07/10] mfd: madera: point to the right pinctrl binding file

2019-05-20 Thread Charles Keepax
On Mon, May 20, 2019 at 11:47:36AM -0300, Mauro Carvalho Chehab wrote: > The reference to Documentation/pinctrl.txt doesn't exist, but > there is an specific binding for the madera driver. > > So, point to it. > > Signed-off-by: Mauro Carvalho Chehab > --- > include/linux/mfd/madera/pdata.h | 3

Re: [PATCH 09/10] dt: fix broken references to nand.txt

2019-05-20 Thread Miquel Raynal
Hi Mauro, Mauro Carvalho Chehab wrote on Mon, 20 May 2019 11:47:38 -0300: > The Documentation/devicetree/bindings/mtd/nand.txt were both renamed > and converted to YAML on a single patch, without updating references > to it. That caused several cross-references to break. > > Fixes: 212e49693592

Re: [PATCH v3 1/2] ftpm: firmware TPM running in TEE

2019-05-20 Thread Igor Opaniuk
Hi Sasha, Just my two cents here after a quick look: On Mon, Apr 15, 2019 at 6:58 PM Sasha Levin wrote: > > This patch adds support for a software-only implementation of a TPM > running in TEE. > > There is extensive documentation of the design here: > https://www.microsoft.com/en-us/research/pu

[PATCH v2 4/5] ARM: configs: enable STM32_DDR_PMU

2019-05-20 Thread Gerald BAEZA
STM32_DDR_PMU enables the perf driver that controls the DDR Performance Monitor (DDRPERFM) Signed-off-by: Gerald Baeza --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 6b74

[PATCH v2 2/5] dt-bindings: perf: stm32: ddrperfm support

2019-05-20 Thread Gerald BAEZA
The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. This documentation indicates how to enable stm32-ddr-pmu driver on DDRPERFM peripheral, via the device tree. Signed-off-by: Gerald Baeza --- .../devicetree/bindings/perf/stm32-ddr-pmu.txt | 20 1 fi

[PATCH v2 3/5] perf: stm32: ddrperfm driver creation

2019-05-20 Thread Gerald BAEZA
The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. This perf drivers supports the read, write, activate, idle and total time counters, described in the reference manual RM0436. A 'bandwidth' attribute is added in the 'ddrperfm' event_source in order to directly get the read and

[PATCH v2 1/5] Documentation: perf: stm32: ddrperfm support

2019-05-20 Thread Gerald BAEZA
The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. This documentation introduces the DDRPERFM, the stm32-ddr-pmu driver supporting it and how to use it with the perf tool. Signed-off-by: Gerald Baeza --- Documentation/perf/stm32-ddr-pmu.txt | 41 ++

[PATCH v2 0/5] stm32-ddr-pmu driver creation

2019-05-20 Thread Gerald BAEZA
The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. This series adds support for the DDRPERFM via a new stm32-ddr-pmu driver, registered into the perf framework. This driver is inspired from arch/arm/mm/cache-l2x0-pmu.c --- Changes from v1: - add 'resets' description (bindings)

[PATCH v2 5/5] ARM: dts: stm32: add ddrperfm on stm32mp157c

2019-05-20 Thread Gerald BAEZA
The DDRPERFM is the DDR Performance Monitor embedded in STM32MP1 SOC. Signed-off-by: Gerald Baeza --- arch/arm/boot/dts/stm32mp157c.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 2afeee6..7dad246 10

Re: [PATCH] kbuild: drop support for cc-ldoption

2019-05-20 Thread Masahiro Yamada
On Wed, Apr 24, 2019 at 6:27 AM Nick Desaulniers wrote: > > If you want to see if your linker supports a certain flag, then ask the > linker directly with ld-option (not the compiler with cc-ldoption). > Checking for linker flag support is an antipattern that complicates the > usage of various lin

Re: [PATCH v6 00/12] Include linux PCI docs into Sphinx TOC tree

2019-05-20 Thread Changbin Du
On Mon, May 20, 2019 at 11:23:50AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 20 May 2019 06:10:15 + > Changbin Du escreveu: > > > Bjorn and Jonathan, > > Could we consider to merge this serias now? Thanks. > > Before merging it, did you check if the renames won't cause broken > reference

Re: [PATCH 10/10] docs: fix broken documentation links

2019-05-20 Thread Wolfram Sang
On Mon, May 20, 2019 at 11:47:39AM -0300, Mauro Carvalho Chehab wrote: > Mostly due to x86 and acpi conversion, several documentation > links are still pointing to the old file. Fix them. > > Signed-off-by: Mauro Carvalho Chehab Thanks, didn't notice that. > Documentation/i2c/instantiating-dev

[PATCH 07/10] mfd: madera: point to the right pinctrl binding file

2019-05-20 Thread Mauro Carvalho Chehab
The reference to Documentation/pinctrl.txt doesn't exist, but there is an specific binding for the madera driver. So, point to it. Signed-off-by: Mauro Carvalho Chehab --- include/linux/mfd/madera/pdata.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/mfd/ma

[PATCH 04/10] scripts/documentation-file-ref-check: teach about .txt -> .yaml renames

2019-05-20 Thread Mauro Carvalho Chehab
At DT, files are being renamed to jason. Teach the script how to handle such renames when used in fix mode. Signed-off-by: Mauro Carvalho Chehab --- scripts/documentation-file-ref-check | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/scripts/documentation

[PATCH 10/10] docs: fix broken documentation links

2019-05-20 Thread Mauro Carvalho Chehab
Mostly due to x86 and acpi conversion, several documentation links are still pointing to the old file. Fix them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/acpi/dsd/leds.txt | 2 +- Documentation/admin-guide/kernel-parameters.rst | 6 +++--- Documentation/admin-gu

[PATCH 09/10] dt: fix broken references to nand.txt

2019-05-20 Thread Mauro Carvalho Chehab
The Documentation/devicetree/bindings/mtd/nand.txt were both renamed and converted to YAML on a single patch, without updating references to it. That caused several cross-references to break. Fixes: 212e49693592 ("dt-bindings: mtd: Add YAML schemas for the generic NAND options") Signed-off-by: M

[PATCH 00/10] Fix broken documentation references at v5.2-rc1

2019-05-20 Thread Mauro Carvalho Chehab
There are several broken Documentation/* references within the Kernel tree. There are some reasons for several of them: 1. The acpi and x86 documentation files were renamed, but the references weren't updated; 2. The DT files have been converted to JSON format, causing them to be renamed; 3.

[PATCH 01/10] scripts/documentation-file-ref-check: better handle translations

2019-05-20 Thread Mauro Carvalho Chehab
Only seek for translation renames inside the translation directory. Signed-off-by: Mauro Carvalho Chehab --- scripts/documentation-file-ref-check | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-

[PATCH 06/10] isdn: mISDN: remove a bogus reference to a non-existing doc

2019-05-20 Thread Mauro Carvalho Chehab
The mISDN driver was added on those commits: 960366cf8dbb ("Add mISDN DSP") 1b2b03f8e514 ("Add mISDN core files") 04578dd330f1 ("Define AF_ISDN and PF_ISDN") e4ac9bc1f668 ("Add mISDN driver") None of them added a Documentation/isdn/mISDN.cert file. Also, whatever w

[PATCH 08/10] dt: fix refs that were renamed to json with the same file name

2019-05-20 Thread Mauro Carvalho Chehab
This file was converted to json, but the references weren't renamed. Fixes: 66ed144f147a ("dt-bindings: interrupt-controller: Convert ARM GIC to json-schema") (and other similar commits) Signed-off-by: Mauro Carvalho Chehab --- Documentation/devicetree/bindings/arm/omap/crossbar.txt | 2

[PATCH 02/10] scripts/documentation-file-ref-check: exclude false-positives

2019-05-20 Thread Mauro Carvalho Chehab
There are at least two cases where a documentation file was gone for good, but the text still mentions it: 1) drivers/vhost/vhost.c: the reference for Documentation/virtual/lguest/lguest.c is just to give credits to the original work that vhost replaced; 2) Documentation/scsi/scsi_mid_low_a

[PATCH 03/10] scripts/documentation-file-ref-check: improve tools ref handling

2019-05-20 Thread Mauro Carvalho Chehab
There's a false positive on perf/util: tools/perf/util/s390-cpumsf.c: Documentation/perf.data-file-format.txt The file is there at tools/perf/Documentation/, but the logic with detects relative documentation references inside tools is not capable of detecting it. So, improve it. Signed-

[PATCH 05/10] ABI: sysfs-devices-system-cpu: point to the right docs

2019-05-20 Thread Mauro Carvalho Chehab
The cpuidle doc was split on two, one at the admin guide and another one at the driver API guide. Instead of pointing to a non-existent file, point to both (admin guide being the first one). Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-devices-system-cpu | 3 ++- 1 fi

Re: [PATCH v6 00/12] Include linux PCI docs into Sphinx TOC tree

2019-05-20 Thread Mauro Carvalho Chehab
Em Mon, 20 May 2019 06:10:15 + Changbin Du escreveu: > Bjorn and Jonathan, > Could we consider to merge this serias now? Thanks. Before merging it, did you check if the renames won't cause broken reference links? There were such breakages with your x86 and acpi patch series. I'm sending the

Re: [PATCH v3 1/2] ftpm: firmware TPM running in TEE

2019-05-20 Thread Jarkko Sakkinen
On Fri, May 17, 2019 at 09:22:26AM -0400, Sasha Levin wrote: > The whole TEE subsystem is already well documented in our kernel tree > (https://www.kernel.org/doc/Documentation/tee.txt) and beyond. I can add > a reference to the doc here, but I'd rather not add a bunch of TEE > related comments as

Великденски бонуси

2019-05-20 Thread Radoslav Dobrev
Здравейте, Съвременната социална придобивка ваучери за храна, които могат да бъдат използвани в широка търговска мрежа от супермаркети и заведения за хранене в страната, е инструмент, който ефективно повишава ефикасността на персонала. Изборът на нашите ваучери за храна като форма на социална п

Re: [PATCH] doc: ext2: update description of quota options for ext2

2019-05-20 Thread Jan Kara
On Mon 20-05-19 14:21:16, Chengguang Xu wrote: > ext2 support user/group disk quota by specifying > usrquota/grpquota option on mount, so fix the > description in the doc properly. > > Signed-off-by: Chengguang Xu Thanks. Applied.