[PATCH v3 3/3] HID: core: fix dmesg flooding if report field larger than 32bit

2019-08-12 Thread stillcompiling
From: Joshua Clayton Only warn once of oversize hid report value field On HP spectre x360 convertible the message: hid-sensor-hub 001F:8087:0AC2.0002: hid_field_extract() called with n (192) > 32! (kworker/1:2) is continually printed many times per second, crowding out all else. Protect dmesg

[PATCH v3 2/3] HID: core: Add printk_once variants to hid_warn() etc

2019-08-12 Thread stillcompiling
From: Joshua Clayton hid_warn_once() is needed. Add the others as part of the block. Signed-off-by: Joshua Clayton diff --git a/include/linux/hid.h b/include/linux/hid.h index e6c7efdb0458..cd41f209043f 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -1171,4 +1171,15 @@ do {

[PATCH v3 1/3] HID: core: reformat and reduce hid_printk macros

2019-08-12 Thread stillcompiling
From: Joshua Clayton Reformat hid_printk macros to use standard __VA_ARGS__ syntax. Per Joe Perches hid_printk(), hid_emerg(), hid_crit(), and hid_alert() are unlikely ever to be used. Remove them. Signed-off-by: Joshua Clayton diff --git a/include/linux/hid.h b/include/linux/hid.h index

[PATCH v3 1/3] HID: core: reformat and reduce hid_printk macros

2019-07-22 Thread stillcompiling
From: Joshua Clayton Reformat hid_printk macros to use standard __VA_ARGS__ syntax Remove hid_printk(), hid_emerg(), hid_crit(), and hid_alert(). Per Joe Perches these unused and likely never to be used. Signed-off-by: Joshua Clayton --- include/linux/hid.h | 32

[PATCH v3 3/3] HID: core: only warn once of oversize hid report

2019-07-22 Thread stillcompiling
From: Joshua Clayton On HP spectre x360 convertible the message: hid-sensor-hub 001F:8087:0AC2.0002: hid_field_extract() called with n (192) > 32! (kworker/1:2) is continually printed many times per second, crowding out all else Protect dmesg by printing the warning only one time.

[PATCH v3 2/3] HID: core: Add printk_once variants to hid_warn() etc

2019-07-22 Thread stillcompiling
From: Joshua Clayton hid_warn_once() is needed, add the others as part of the block Signed-off-by: Joshua Clayton --- include/linux/hid.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hid.h b/include/linux/hid.h index e6c7efdb0458..cd41f209043f 100644 ---

[PATCH v2 2/3] HID: core: Add printk_once variants to hid_warn() etc

2019-07-22 Thread stillcompiling
From: Joshua Clayton hid_warn_once() is needed, add the others as part of the block Signed-off-by: Joshua Clayton --- include/linux/hid.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/hid.h b/include/linux/hid.h index b5e73331100e..306dde3760a4 100644 ---

[PATCH v2 1/3] HID: core: reformat and reduce hid_printk macros

2019-07-22 Thread stillcompiling
From: Joshua Clayton Reformat hid_printk macros to use standard __VA_ARGS__ syntax Remove hid_printk(), hid_emerg(), hid_crit(), and hid_alert(). Per Joe Perches these unused and likely never to be used. Signed-off-by: Joshua Clayton --- include/linux/hid.h | 32

[PATCH v2 3/3] HID: core: only warn once of oversize hid report

2019-07-22 Thread stillcompiling
From: Joshua Clayton On HP spectre x360 convertible the message: hid-sensor-hub 001F:8087:0AC2.0002: hid_field_extract() called with n (192) > 32! (kworker/1:2) is continually printed many times per second, crowding out all else Protect dmesg by printing the warning only one time.

[PATCH 1/2] HID: core: Add hid printk_once macros

2019-07-22 Thread stillcompiling
From: Joshua Clayton Make available printk_once variants to hid_warn() etc Signed-off-by: Joshua Clayton --- include/linux/hid.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/include/linux/hid.h b/include/linux/hid.h index d770ab1a0479..5b239712c902 100644 ---

[PATCH 2/2] HID: core: only warn once of oversize hid report

2019-07-22 Thread stillcompiling
From: Joshua Clayton On HP spectre x360 convertible the message: hid-sensor-hub 001F:8087:0AC2.0002: hid_field_extract() called with n (192) > 32! (kworker/1:2) is continually printed many times per second, crowding out all other kernel logs Protect dmesg by printing the warning only one time.

Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs

2017-06-09 Thread stillcompiling
On Friday, June 9, 2017 3:18:40 PM PDT Anatolij Gustschin wrote: > On Fri, 9 Jun 2017 11:51:12 +0200 > Greg Kroah-Hartman gre...@linuxfoundation.org wrote: > ... > > >I get the following build error with this patch: > > > >ERROR: "__spi_register_driver" [drivers/fpga/altera-ps-spi.ko] undefined!

Re: [PATCH 06/10] fpga manager: Add altera-ps-spi driver for Altera FPGAs

2017-06-09 Thread stillcompiling
On Friday, June 9, 2017 3:18:40 PM PDT Anatolij Gustschin wrote: > On Fri, 9 Jun 2017 11:51:12 +0200 > Greg Kroah-Hartman gre...@linuxfoundation.org wrote: > ... > > >I get the following build error with this patch: > > > >ERROR: "__spi_register_driver" [drivers/fpga/altera-ps-spi.ko] undefined!

Re: [PATCH v11 4/6] ARM: dts: imx6q-evi: support altera-ps-spi

2017-06-02 Thread stillcompiling
On Friday, June 2, 2017 9:54:22 PM PDT Andreas Färber wrote: > Am 02.06.2017 um 21:39 schrieb stillcompil...@gmail.com: > > On Friday, June 2, 2017 6:30:12 PM PDT Andreas Färber wrote: > >> Am 25.05.2017 um 19:29 schrieb Joshua Clayton: > >>> diff --git a/arch/arm/boot/dts/imx6q-evi.dts > >>>

Re: [PATCH v11 4/6] ARM: dts: imx6q-evi: support altera-ps-spi

2017-06-02 Thread stillcompiling
On Friday, June 2, 2017 9:54:22 PM PDT Andreas Färber wrote: > Am 02.06.2017 um 21:39 schrieb stillcompil...@gmail.com: > > On Friday, June 2, 2017 6:30:12 PM PDT Andreas Färber wrote: > >> Am 25.05.2017 um 19:29 schrieb Joshua Clayton: > >>> diff --git a/arch/arm/boot/dts/imx6q-evi.dts > >>>

Re: [PATCH v11 4/6] ARM: dts: imx6q-evi: support altera-ps-spi

2017-06-02 Thread stillcompiling
On Friday, June 2, 2017 6:30:12 PM PDT Andreas Färber wrote: > Hi, > > Am 25.05.2017 um 19:29 schrieb Joshua Clayton: > > Add support for Altera V FPGA connected to an spi port > > Did you mean "Altera Cyclone V"? I meant to shorten it from Altera Cyclone V to Altera FPGA. Didn't quite make it.

Re: [PATCH v11 4/6] ARM: dts: imx6q-evi: support altera-ps-spi

2017-06-02 Thread stillcompiling
On Friday, June 2, 2017 6:30:12 PM PDT Andreas Färber wrote: > Hi, > > Am 25.05.2017 um 19:29 schrieb Joshua Clayton: > > Add support for Altera V FPGA connected to an spi port > > Did you mean "Altera Cyclone V"? I meant to shorten it from Altera Cyclone V to Altera FPGA. Didn't quite make it.