[GIT PULL] SCSI fixes for 5.2-rc3

2019-06-08 Thread James Bottomley
Two bug fixes, both for fairly serious problems; the UFS one looks like it could be used to exfiltrate data from the kernel, although probably only a privileged user has access to the command management interface and the missing unlock in smartpqi is long standing and probably a little used error

linux-next: Signed-off-by missing for commit in the mali-dp tree

2019-06-08 Thread Stephen Rothwell
Hi Liviu, Commits 74332e53e41d ("drm/komeda: Add image enhancement support") 108ddcf9238f ("drm/komeda: Add engine clock requirement check for the downscaling") e980ebbe5cee ("drm/komeda: Add writeback scaling support") 37bd61525f3a ("drm/komeda: Implement D71 scaler support")

Re: [RFC][PATCH 00/14 v2] function_graph: Rewrite to allow multiple users

2019-06-08 Thread Steven Rostedt
On Thu, 30 May 2019 18:29:20 +0900 Masami Hiramatsu wrote: > > OK, so this series isn't enough to allow kretprobes to use it yet. OK, > > I plan on still keeping it because it does allow for placing function > > graph tracer into instances with their own filters. > > OK, that will be a "regs"

[GIT PULL] MIPS fixes

2019-06-08 Thread Paul Burton
Hi Linus, Here's a batch of MIPS fixes for 5.2, nothing particularly scary; please pull. Thanks, Paul The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at:

Re: [PATCH 4.14 00/69] 4.14.124-stable review

2019-06-08 Thread Naresh Kamboju
On Fri, 7 Jun 2019 at 21:10, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.124 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [BISECTED REGRESSION] b43legacy broken on G4 PowerBook

2019-06-08 Thread Christoph Hellwig
On Sat, Jun 08, 2019 at 02:21:23PM +1000, Benjamin Herrenschmidt wrote: > > > Please try the attached patch. I'm not really pleased with it and I will > > continue to determine why the fallback to a 30-bit mask fails, but at least > > this > > one works for me. > > Your patch only makes sense

[PATCH 1/2] staging: kpc2000: kpc2000_i2c: void* -> void *

2019-06-08 Thread Hao Xu
modify void* to void * for #define inb_p(a) readq((void*)a) and #define outb_p(d,a) writeq(d,(void*)a) Signed-off-by: Hao Xu --- drivers/staging/kpc2000/kpc2000_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c

[PATCH 2/2] staging: kpc2000: kpc2000_i2c: add space after ,

2019-06-08 Thread Hao Xu
add space after , for #define outb_p(d,a) writeq(d,(void *)a) Signed-off-by: Hao Xu --- drivers/staging/kpc2000/kpc2000_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index de3a0c8..69e8773

Re: [tip:x86/urgent] x86/mm/KASLR: Compute the size of the vmemmap section properly

2019-06-08 Thread Borislav Petkov
On Sat, Jun 08, 2019 at 10:14:04AM +0800, Baoquan He wrote: > Here, 4PB = 4*2^50 = 4*1024^5, the vmemmap should be 64 TB, am I right? PB is 1000^5 petabytes. 1024^5 is PiB or pebibytes. https://en.wikipedia.org/wiki/Petabyte -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix

Re: [PATCH v2 4/4] watchdog: jz4740: Make probe function __init_or_module

2019-06-08 Thread Christophe Leroy
Hi Paul, Le 07/06/2019 à 18:24, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a module. I'm not sure that's what __init_or_module flag does. As far as I understand, this

Re: [PATCH 4.19 00/73] 4.19.49-stable review

2019-06-08 Thread Naresh Kamboju
On Fri, 7 Jun 2019 at 21:15, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.49 release. > There are 73 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 5.1 00/85] 5.1.8-stable review

2019-06-08 Thread Naresh Kamboju
On Fri, 7 Jun 2019 at 21:18, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.8 release. > There are 85 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v3 1/2] fork: add clone3

2019-06-08 Thread Christian Brauner
On Thu, Jun 06, 2019 at 04:46:45PM -0500, Serge Hallyn wrote: > On Tue, Jun 04, 2019 at 06:09:43PM +0200, Christian Brauner wrote: > > This adds the clone3 system call. > > > > As mentioned several times already (cf. [7], [8]) here's the promised > > patchset for clone3(). > > > > We recently

Re: [PATCH v2] RISC-V: Break load reservations during switch_to

2019-06-08 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig

Re: [PATCH] drivers/ata: print trim features at device initialization

2019-06-08 Thread Christoph Hellwig
On Fri, Jun 07, 2019 at 10:34:39AM +0300, Konstantin Khlebnikov wrote: > Print trim status once at ata device initialization in form: Do we really need to spam dmesg with even more ATA crap? What about a sysfs file that can be read on demand instead?

Re: [PATCH] drivers/ata: cleanup creation of device sysfs attribute

2019-06-08 Thread Christoph Hellwig
On Fri, Jun 07, 2019 at 10:34:46AM +0300, Konstantin Khlebnikov wrote: > This patch merges common ATA and AHCI specific attribute "sw_activity" > into one group with ->is_visible() method which hides attributes if > feature is not supported by hardware. > > This allows to add all attributes in

Re: [PATCH] sh: dma: Add missing IS_ERR test

2019-06-08 Thread Sergei Shtylyov
Hello! On 07.06.2019 14:54, Rolf Evers-Fischer wrote: get_dma_channel may return ERR_PTR, so a check is added. Signed-off-by: Rolf Evers-Fischer --- arch/sh/drivers/dma/dma-api.c | 20 +++- arch/sh/drivers/dma/dma-sysfs.c | 2 +- 2 files changed, 20 insertions(+), 2

[PATCH] ipv6: exthdrs: fix warning comparison to bool

2019-06-08 Thread Hariprasad Kelam
Fix below warning reported by coccicheck net/ipv6/exthdrs.c:180:9-29: WARNING: Comparison to bool Signed-off-by: Hariprasad Kelam --- net/ipv6/exthdrs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index ab5add0..e137325 100644 ---

Re: [PATCH] block: fix a crash in do_task_dead()

2019-06-08 Thread Jens Axboe
On 6/7/19 8:23 AM, Peter Zijlstra wrote: > On Fri, Jun 07, 2019 at 03:35:41PM +0200, Peter Zijlstra wrote: >> On Wed, Jun 05, 2019 at 09:04:02AM -0600, Jens Axboe wrote: >>> How about the following plan - if folks are happy with this sched patch, >>> we can queue it up for 5.3. Once that is in,

[PATCH] nfc: nci: fix warning comparison to bool

2019-06-08 Thread Hariprasad Kelam
Fix below warning reported by coccicheck net/nfc/nci/ntf.c:367:5-15: WARNING: Comparison to bool Signed-off-by: Hariprasad Kelam --- net/nfc/nci/ntf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/nfc/nci/ntf.c b/net/nfc/nci/ntf.c index 1e8c1a1..81e8570 100644 ---

Re: [PATCH] ubifs: Add support for zstd compression.

2019-06-08 Thread Richard Weinberger
- Ursprüngliche Mail - > ARM Cortex-A7. The kernel is compiled with gcc 7.3.1. Next week I'll > test some more. Good to know! > I have a question about how the decompression is done while reading. > When a large file is read from the filesystem (assuming not in any > cache), is it the

[PULL REQUEST] i2c for 5.2

2019-06-08 Thread Wolfram Sang
Linus, I2C has a driver bugfix and a MAINTAINERS fix. Please pull. Thanks, Wolfram The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at:

[PATCH] af_key: make use of BUG_ON macro

2019-06-08 Thread Hariprasad Kelam
fix below warnings reported by coccicheck net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. Signed-off-by: Hariprasad Kelam --- net/key/af_key.c | 6 ++ 1 file

Re: [PATCH trivial] qed: Spelling s/configuraion/configuration/

2019-06-08 Thread Sergei Shtylyov
Again, typo in the subject. :-) On 07.06.2019 14:25, Geert Uytterhoeven wrote: Signed-off-by: Geert Uytterhoeven [...] MBR, Sergei

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-08 Thread Borislav Petkov
On Sat, Jun 08, 2019 at 10:16:11AM +1000, Benjamin Herrenschmidt wrote: > Those IP blocks don't need any SW coordination at runtime. The drivers > don't share data nor communicate with each other. There is absolultely > no reason to go down that path. Let me set one thing straight: the EDAC

[GIT PULL]: dmaengine fixes for v5.2-rc4

2019-06-08 Thread Vinod Koul
Hi Linus, Please pull to receive dmaengine fixes. These fixes are on drivers. The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.infradead.org/users/vkoul/slave-dma.git

Re: [PATCH] drivers/ata: print trim features at device initialization

2019-06-08 Thread Konstantin Khlebnikov
On 07.06.2019 19:58, Martin K. Petersen wrote: Konstantin, + if (dev->horkage & ATA_HORKAGE_NOTRIM) + trim_status = "backlisted"; blacklisted Oops. My bad. + else + trim_status =

Re: [PATCH v2] USB: Disable USB2 LPM at shutdown

2019-06-08 Thread Kai-Heng Feng
at 22:17, Alan Stern wrote: On Thu, 6 Jun 2019, Kai-Heng Feng wrote: at 15:55, Kai-Heng Feng wrote: at 18:22, Kai-Heng Feng wrote: at 00:01, Kai-Heng Feng wrote: On Jan 30, 2019, at 16:21, Greg KH wrote: On Thu, Jan 24, 2019 at 02:16:43PM +0800, Kai-Heng Feng wrote: The QCA Rome

[PATCH] IB/mlx4: prevent undefined shift in set_user_sq_size()

2019-06-08 Thread Dan Carpenter
The ucmd->log_sq_bb_count is a u8 that comes from the user. If it's larger than the number of bits in an int then that's undefined behavior. It turns out this doesn't really cause an issue at runtime but it's still nice to clean it up. Signed-off-by: Dan Carpenter ---

Re: [PATCH 4.14 00/69] 4.14.124-stable review

2019-06-08 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2019 at 05:35:09PM +0100, Ben Hutchings wrote: > On Fri, 2019-06-07 at 09:27 -0700, Guenter Roeck wrote: > > On Fri, Jun 07, 2019 at 06:16:27PM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Jun 07, 2019 at 09:11:02AM -0700, Guenter Roeck wrote: > > > > On Fri, Jun 07, 2019 at

Re: [PATCH 5.1 00/85] 5.1.8-stable review

2019-06-08 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2019 at 03:19:17PM -0500, Jiunn Chang wrote: > On Fri, Jun 07, 2019 at 05:38:45PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.1.8 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If

RE: [PATCH RESEND V4 3/3] watchdog: imx_sc: Add pretimeout support

2019-06-08 Thread Anson Huang
Hi, Guenter > -Original Message- > From: Guenter Roeck On Behalf Of Guenter Roeck > Sent: Saturday, June 8, 2019 1:41 AM > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; w...@linux-watchdog.org; > shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de; >

Re: [PATCH 4.14 00/69] 4.14.124-stable review

2019-06-08 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2019 at 05:38:41PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.124 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 5.1 00/85] 5.1.8-stable review

2019-06-08 Thread Greg Kroah-Hartman
On Sat, Jun 08, 2019 at 01:24:41PM +0530, Naresh Kamboju wrote: > On Fri, 7 Jun 2019 at 21:18, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.1.8 release. > > There are 85 patches in this series, all will be posted as a response > > to this one. If

[tip:x86/urgent] x86/fpu: Update kernel's FPU state before using for the fsave header

2019-06-08 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: aab8445c4e1cceeb3f739352041ec1c2586bc923 Gitweb: https://git.kernel.org/tip/aab8445c4e1cceeb3f739352041ec1c2586bc923 Author: Sebastian Andrzej Siewior AuthorDate: Fri, 7 Jun 2019 16:29:16 +0200 Committer: Borislav Petkov CommitDate: Sat, 8 Jun 2019 11:45:15 +0200 x86/fpu:

Re: [PATCH v2 4/4] watchdog: jz4740: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
Hi Christophe, Le sam. 8 juin 2019 à 9:51, Christophe Leroy a écrit : Hi Paul, Le 07/06/2019 à 18:24, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a module. I'm not

[GIT PULL] Char/Misc driver fixes for 5.2-rc4

2019-06-08 Thread Greg KH
The following changes since commit a188339ca5a396acc588e5851ed7e19f66b0ebd9: Linux 5.2-rc1 (2019-05-19 15:47:09 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git char-misc-5.2-rc4 for you to fetch changes up to

RE: [PATCH V3 3/4] clk: imx: Add support for i.MX8MN clock driver

2019-06-08 Thread Anson Huang
Hi, Stephen > -Original Message- > From: Stephen Boyd > Sent: Saturday, June 8, 2019 2:01 AM > To: bjorn.anders...@linaro.org; catalin.mari...@arm.com; > devicet...@vger.kernel.org; dingu...@kernel.org; > enric.balle...@collabora.com; feste...@gmail.com; > horms+rene...@verge.net.au;

Re: [PATCH] MIPS: lb60: Fix pin mappings

2019-06-08 Thread Paul Cercueil
Le sam. 8 juin 2019 à 0:10, Linus Walleij a écrit : On Tue, Jun 4, 2019 at 6:34 PM Paul Cercueil wrote: The pin mappings introduced in commit 636f8ba67fb6 ("MIPS: JZ4740: Qi LB60: Add pinctrl configuration for several drivers") are completely wrong. The pinctrl driver name is

Re: [PATCH 2/5] clk: ingenic/jz4740: Fix incorrect dividers for main clocks

2019-06-08 Thread Paul Cercueil
Le ven. 7 juin 2019 à 23:03, Stephen Boyd a écrit : Quoting Paul Cercueil (2019-05-02 14:24:59) The main clocks (cclk, hclk, pclk, mclk, lcd) were using incorrect dividers, and thus reported an incorrect rate. Signed-off-by: Paul Cercueil --- Applied to clk-next Did these "Fix"

Re: [PATCH] rtc: jz4740: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch. Le ven. 7 juin 2019 à 17:54, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a module. Signed-off-by:

Re: [PATCH] usb: musb: jz4740: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch. Le ven. 7 juin 2019 à 17:57, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a module. Signed-off-by:

Re: [PATCH 1/2] mtd/rawnand: ingenic-ecc: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patchset. Sorry for the noise. Le ven. 7 juin 2019 à 18:01, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a

Re: [PATCH] dma: jz4780: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch. Sorry for the noise. Le ven. 7 juin 2019 à 18:07, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a

Re: [PATCH] iio: ingenic-adc: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch. Sorry for the noise. Le ven. 7 juin 2019 à 18:05, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a

Re: [PATCH 1/3] ASoC: jz4740-i2s: Make probe function __init_or_module

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patchset. Sorry for the noise. Le ven. 7 juin 2019 à 18:14, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the driver was not compiled as a

Re: [PATCH v2 6/6] pwm: jz4740: Use __init_or_module and __exit for .probe and .remove

2019-06-08 Thread Paul Cercueil
I misunderstood what __init_or_module was for. Please ignore this patch (the rest of the patchset is OK). Sorry for the noise. Le ven. 7 juin 2019 à 17:44, Paul Cercueil a écrit : This allows the probe function to be dropped after the kernel finished its initialization, in the case where the

Re: [PATCH v2 0/7] cpufreq support for Raspberry Pi

2019-06-08 Thread Stefan Wahren
Am 06.06.19 um 16:22 schrieb Nicolas Saenz Julienne: > Hi all, > this aims at adding cpufreq support to the Raspberry Pi family of > boards. > > The series first factors out 'pllb' from clk-bcm2385 and creates a new > clk driver that operates it over RPi's firmware interface[1]. We are > forced to

Re: [Letux-kernel] [RFC v2] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-06-08 Thread Jonathan Cameron
On Mon, 3 Jun 2019 09:30:40 +0200 H. Nikolaus Schaller wrote: > Hi Jonathan, > sorry again for the long delay. I just now found a little time to summarize > and try to > get the discussion boiled down to the key difference. > > > Am 11.05.2019 um 13:05 schrieb Jonathan Cameron : > > > > On

Re: [PATCH] iio: accel: add missing sensor for some 2-in-1 based ultrabooks

2019-06-08 Thread Jonathan Cameron
On Thu, 30 May 2019 14:35:10 +0200 Hans de Goede wrote: > Hi, > > On 30-05-19 13:53, Luís Ferreira wrote: > > Hi, > > > > @poettering just merged the pull request. Is it ready to go now? > > You mean the kernel patch, yes merging that now is fine with me. Applied to the togreg branch of

[PATCH 01/34] clk: clk-cdce706: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/clk/clk-cdce706.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk-cdce706.c

[PATCH 34/34] usb: typec: tcpm: fusb302: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/usb/typec/tcpm/fusb302.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH 32/34] staging: media: soc_camera: mt9t031: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/staging/media/soc_camera/mt9t031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 0/6] staging: rtl8712: cleanup struct _adapter

2019-06-08 Thread Deepak Mishra
In process of cleaning up rtl8712 struct _adapter in drv_types.h I have tried to remove some unused variables and redundant lines of code associated with those variables. I have also fixed some CamelCase reported by checkpatch.pl Deepak Mishra (6): staging: rtl8712: Fixed CamelCase for

[PATCH v4 1/6] staging: rtl8712: Fixed CamelCase for EepromAddressSize

2019-06-08 Thread Deepak Mishra
This patch renames CamelCase EepromAddressSizefrom to eeprom_address_size in struct _adapter and in related files drv_types.h, rtl871x_eeprom.c, usb_intf.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +-

[PATCH 29/34] rtc: rx8010: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/rtc/rtc-rx8010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rx8010.c

[PATCH 24/34] power: supply: sbs-manager: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/sbs-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 26/34] rtc: fm3130: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/rtc/rtc-fm3130.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH v4 2/6] staging: rtl8712: Removed redundant code from function oid_rt_pro_write_register_hdl

2019-06-08 Thread Deepak Mishra
In function oid_rt_pro_write_register_hdl, Adapter->ImrContent is assigned with RegRWStruct->value but Adapter->ImrContent is never used anywhere else. So those lines has no impact and are removed removed. As that was the only place where ImrContent was used, so the member variable is removed

[PATCH 18/34] power: supply: bq25890_charger: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/bq25890_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 33/34] staging: media: soc_camera: soc_mt9v022: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/staging/media/soc_camera/soc_mt9v022.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 31/34] staging: media: soc_camera: imx074: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/staging/media/soc_camera/imx074.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 4/6] staging: rtl8712: removed unused variables from struct _adapter

2019-06-08 Thread Deepak Mishra
This patch removed following unused member variables from struct _adapter IsrContent, xmitThread, evtThread, recvThread Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/drv_types.h

[PATCH v4 3/6] staging: rtl8712: Fixed CamelCase cmdThread rename to cmd_thread

2019-06-08 Thread Deepak Mishra
This patch renames CamelCase cmdThread to cmd_thread in struct _adapter in drv_types.h and in os_intfs.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +- drivers/staging/rtl8712/os_intfs.c | 6 +++--- 2 files changed, 4

[PATCH 19/34] power: supply: max14656_charger_detector: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/max14656_charger_detector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 28/34] rtc: rv8803: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/rtc/rtc-rv8803.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rv8803.c

[PATCH 30/34] rtc: rx8025: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/rtc/rtc-rx8025.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-rx8025.c

[PATCH v4 6/6] staging: rtl8712: Renamed CamelCase lockRxFF0Filter to lock_rx_ff0_filter

2019-06-08 Thread Deepak Mishra
This patch renames CamelCase variable lockRxFF0Filter to lock_rx_ff0_filter in drv_types.h, usb_intf.c and xmit_linux.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h | 2 +- drivers/staging/rtl8712/usb_intf.c | 2 +-

[PATCH v4 5/6] staging: rtl8712: Renamed CamelCase wkFilterRxFF0 to wk_filter_rx_ff0

2019-06-08 Thread Deepak Mishra
This patch renames CamelCase variable wkFilterRxFF0 to wk_filter_rx_ff0 in drv_types.h, rtl871x_xmit.c and xmit_linux.c This was reported by checkpatch.pl Signed-off-by: Deepak Mishra --- drivers/staging/rtl8712/drv_types.h| 2 +- drivers/staging/rtl8712/rtl871x_xmit.c | 2 +-

[PATCH] rtlwifi: rtl8188ee: remove redundant assignment to rtstatus

2019-06-08 Thread Colin King
From: Colin Ian King Variable rtstatus is being initialized with a value that is never read as rtstatus is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King ---

[PATCH 27/34] rtc: m41t80: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/rtc/rtc-m41t80.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-m41t80.c

[PATCH 10/34] media: i2c: ov2640: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/ov2640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov2640.c

[PATCH 25/34] regulator: max8952: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/regulator/max8952.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/max8952.c

[PATCH 23/34] power: supply: rt9455_charger: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/rt9455_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 15/34] mtd: maps: pismo: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/mtd/maps/pismo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/maps/pismo.c

[PATCH 14/34] misc: tsl2550: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/misc/tsl2550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/tsl2550.c

[PATCH 16/34] power: supply: bq24190_charger: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/bq24190_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 20/34] power: supply: max17040_battery: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/max17040_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 21/34] power: supply: max17042_battery: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/max17042_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 08/34] media: i2c: mt9m111: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/mt9m111.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/mt9m111.c

[PATCH 17/34] power: supply: bq24257_charger: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/bq24257_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 00/34] treewide: simplify getting the adapter of an I2C client

2019-06-08 Thread Wolfram Sang
While preparing a refactoring series, I noticed that some drivers use a complicated way of determining the adapter of a client. The easy way is to use the intended pointer: client->adapter These drivers do: to_i2c_adapter(client->dev.parent); The I2C core populates the parent pointer as:

[PATCH 22/34] power: supply: rt5033_battery: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/power/supply/rt5033_battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 13/34] misc: isl29003: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/misc/isl29003.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/isl29003.c

[PATCH 03/34] iio: light: bh1780: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/iio/light/bh1780.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/bh1780.c

[PATCH 09/34] media: i2c: mt9p031: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/mt9p031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/mt9p031.c

[PATCH 07/34] media: i2c: mt9m001: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/mt9m001.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/mt9m001.c

[PATCH 05/34] leds: leds-tca6507: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/leds/leds-tca6507.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-tca6507.c

[PATCH 11/34] media: i2c: tw9910: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/tw9910.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/i2c/tw9910.c

[PATCH 04/34] leds: leds-pca955x: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/leds/leds-pca955x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/leds/leds-pca955x.c

[PATCH 12/34] misc: fsa9480: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/misc/fsa9480.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/fsa9480.c

[PATCH 02/34] gpu: drm: bridge: sii9234: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/gpu/drm/bridge/sii9234.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 06/34] media: i2c: ak881x: simplify getting the adapter of a client

2019-06-08 Thread Wolfram Sang
We have a dedicated pointer for that, so use it. Much easier to read and less computation involved. Signed-off-by: Wolfram Sang --- Please apply to your subsystem tree. drivers/media/i2c/ak881x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ak881x.c

[PATCH/RFC 0/3] improve wait logic of stop_machine

2019-06-08 Thread Heiko Carstens
The stop_machine loop to advance the state machine and to wait for all affected CPUs to check-in calls cpu_relax_yield in a tight loop until the last missing CPUs acknowledged the state transition. On a virtual system where not all logical CPUs are backed by real CPUs all the time it can take a

[PATCH/RFC 2/3] s390: improve wait logic of stop_machine

2019-06-08 Thread Heiko Carstens
From: Martin Schwidefsky The stop_machine loop to advance the state machine and to wait for all affected CPUs to check-in calls cpu_relax_yield in a tight loop until the last missing CPUs acknowledged the state transition. On a virtual system where not all logical CPUs are backed by real CPUs

[PATCH/RFC 1/3] processor: remove spin_cpu_yield

2019-06-08 Thread Heiko Carstens
spin_cpu_yield is unused, therefore remove it. Signed-off-by: Heiko Carstens --- arch/powerpc/include/asm/processor.h | 2 -- include/linux/processor.h| 9 - 2 files changed, 11 deletions(-) diff --git a/arch/powerpc/include/asm/processor.h

[PATCH/RFC 3/3] processor: get rid of cpu_relax_yield

2019-06-08 Thread Heiko Carstens
stop_machine is the only user left of cpu_relax_yield. Given that it now has special semantics which are tied to stop_machine introduce a weak stop_machine_yield function which architectures can override, and get rid of the generic cpu_relax_yield implementation. Signed-off-by: Heiko Carstens

Re: [PATCH v2 1/2] dt-bindings: iio: adc: add adi,ad7780.yaml binding

2019-06-08 Thread Jonathan Cameron
On Thu, 6 Jun 2019 16:52:14 +0100 Jonathan Cameron wrote: > On Thu, 6 Jun 2019 11:13:52 + > "Ardelean, Alexandru" wrote: > > > On Wed, 2019-06-05 at 17:35 -0300, Renato Lui Geh wrote: > > > [External] > > > > > > > > > On 05/26, Jonathan Cameron wrote: > > > > On Fri, 24 May 2019

Re: [PATCH v2 2/2] MAINTAINERS: add entry for ad7780 adc driver

2019-06-08 Thread Jonathan Cameron
On Fri, 24 May 2019 22:26:55 -0300 Renato Lui Geh wrote: > This patch adds a MAINTAINERS entry for the AD7780 ADC driver. > > Signed-off-by: Renato Lui Geh Applied to the togreg branch of iio.git and pushed out as testing to be completely ignored by the autobuilders. Thanks, Jonathan > ---

[GIT PULL] s390 updates for 5.2-rc4

2019-06-08 Thread Heiko Carstens
Hello Linus, please pull two bug fixes for s390. Thanks, Heiko The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git

  1   2   3   4   5   >