[PATCH 14/20] target: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 17/20] vt: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 18/20] usb: gadget: f_midi: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 19/20] usbip: usbip_host: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 15/20] ALSA: usb-audio: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 20/20] s390/watchdog: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 16/20] tracing/probe: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 13/20] scsi: zfcp: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 11/20] hwmon: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 12/20] s390/hmcdrv: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 10/20] module: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 09/20] m68k/atari: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 08/20] kernfs: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier --- fs

[PATCH 07/20] SUNRPC: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 05/20] kobject: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 04/20] dma-buf: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 06/20] ima: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 02/20] crypto: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 03/20] devlink: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 01/20] cgroup: Manual replacement of the deprecated strlcpy() with return values

2021-02-22 Thread Romain Perier
replaces all calls to strlcpy that handle the return values by the corresponding strscpy calls with new handling of the return values (as it is quite different between the two functions). [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Signed-off-by: Romain Perier

[PATCH 00/20] Manual replacement of all strlcpy in favor of strscpy

2021-02-22 Thread Romain Perier
nt in case of error). - Then all other cases are automatically replaced by using coccinelle. This series covers manual replacements. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy Romain Perier (20): cgroup: Manual replacement of the deprecated strlcpy() with r

Re: [LINUX PATCH v12] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2019-01-07 Thread Romain Perier
Hi, Le mer. 2 janv. 2019 à 10:23, Naga Sureshkumar Relli a écrit : > > Hi, > > > -Original Message- > > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > > Sent: Wednesday, January 2, 2019 2:04 PM > > To: Romain Perier > > Cc: Naga Sureshku

Re: [LINUX PATCH v12] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-12-21 Thread Romain Perier
+0530, Naga Sureshkumar Relli wrote: > Add driver for arm pl353 static memory controller nand interface with > HW ECC support. This controller is used in Xilinx Zynq SoC for > interfacing the NAND flash memory. > > Signed-off-by: Naga Sureshkumar Relli Tested-by: Romain Perier &g

Re: [PATCH v17 0/4] Replace PCI pool by DMA pool API

2018-01-04 Thread Romain Perier
Hi, Ok, will do. Thanks ! Romain 2018-01-03 22:34 GMT+01:00 Bjorn Helgaas : > On Tue, Jan 02, 2018 at 04:17:24PM -0600, Bjorn Helgaas wrote: >> On Tue, Jan 02, 2018 at 06:53:52PM +0100, Romain Perier wrote: >> > The current PCI pool API are simple macro functions direct ex

[PATCH v17 2/4] net: e100: Replace PCI pool old API

2018-01-02 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Acked-by: David S. Miller Tested-by: Peter Senna Tschudin

[PATCH v17 0/4] Replace PCI pool by DMA pool API

2018-01-02 Thread Romain Perier
kpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (4): block: DAC960: Replace PCI pool old API net: e100: Replace PCI pool old API hinic: Replace PCI pool old API PCI: Remove PCI pool macro functions drivers/block/DAC960.c

[PATCH v17 3/4] hinic: Replace PCI pool old API

2018-01-02 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: David S. Miller --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +- drivers/net/ethernet

[PATCH v17 1/4] block: DAC960: Replace PCI pool old API

2018-01-02 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v17 4/4] PCI: Remove PCI pool macro functions

2018-01-02 Thread Romain Perier
From: Romain Perier Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Bjorn Helgaas --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include

[PATCH v16 2/4] net: e100: Replace PCI pool old API

2017-12-15 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel

[PATCH v16 0/4] Replace PCI pool by DMA pool API

2017-12-15 Thread Romain Perier
20 - Fixed cosmetic changes: spaces before brace, live over 80 characters - Removed some of the check for NULL pointers before calling dma_pool_destroy - Improved the regexp in checkpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (4): block: DAC960: Replace PC

[PATCH v16 1/4] block: DAC960: Replace PCI pool old API

2017-12-15 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v16 4/4] PCI: Remove PCI pool macro functions

2017-12-15 Thread Romain Perier
From: Romain Perier Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Bjorn Helgaas --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include

[PATCH v16 3/4] hinic: Replace PCI pool old API

2017-12-15 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +- drivers/net/ethernet/huawei/hinic

Re: [PATCH v15 5/5] PCI: Remove PCI pool macro functions

2017-11-21 Thread Romain Perier
Whoops, my bad. Sorry Thanks, Romain 2017-11-20 21:34 GMT+01:00 Bjorn Helgaas : > On Mon, Nov 20, 2017 at 08:32:47PM +0100, Romain Perier wrote: >> From: Romain Perier >> >> Now that all the drivers use dma pool API, we can remove the macro >> functions for PCI pool.

[PATCH v15 2/5] net: e100: Replace PCI pool old API

2017-11-20 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel

[PATCH v15 1/5] block: DAC960: Replace PCI pool old API

2017-11-20 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v15 4/5] scsi: mpt3sas: Replace PCI pool old API

2017-11-20 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier --- drivers/scsi/mpt3sas/mpt3sas_base.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/mpt3sas

[PATCH v15 3/5] hinic: Replace PCI pool old API

2017-11-20 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +- drivers/net/ethernet/huawei/hinic

[PATCH v15 0/5] Replace PCI pool by DMA pool API

2017-11-20 Thread Romain Perier
proved the regexp in checkpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (5): block: DAC960: Replace PCI pool old API net: e100: Replace PCI pool old API hinic: Replace PCI pool old API scsi: mpt3sas: Replace PCI pool old API PCI: Remove PCI

[PATCH v15 5/5] PCI: Remove PCI pool macro functions

2017-11-20 Thread Romain Perier
From: Romain Perier Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread Romain Perier
:06 +0100 > peter enderborg wrote: > >> On 11/20/2017 04:00 PM, Romain Perier wrote: >> > Hi, >> > >> > 2017-11-20 15:10 GMT+01:00 peter enderborg : >> >> I think it should return a error code at least. >> > In which case ? The idea was

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread Romain Perier
e NTP feature. (so be transparent the most as possible) Thanks, Romain > > On 11/02/2017 07:29 PM, Romain Perier wrote: >> On embedded systems with limited space, synchronizing system clock via >> NTP might be not needed. >> >> This commit introduces a new Kcon

Re: [PATCH] time: Make NTP optionnal

2017-11-20 Thread Romain Perier
Hi, No feedback regarding this patch ? Thanks, Romain 2017-11-02 19:29 GMT+01:00 Romain Perier : > On embedded systems with limited space, synchronizing system clock via > NTP might be not needed. > > This commit introduces a new Kconfig entry. When disabled, it compiles > out t

[PATCH] time: Make NTP optionnal

2017-11-02 Thread Romain Perier
-off-by: Romain Perier --- include/linux/timex.h | 14 +++--- init/Kconfig | 9 + kernel/compat.c| 2 ++ kernel/sys_ni.c| 6 ++ kernel/time/Makefile | 6 +- kernel/time/ntp_internal.h | 29

[PATCH v14 1/5] block: DAC960: Replace PCI pool old API

2017-10-23 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v14 3/5] net: e100: Replace PCI pool old API

2017-10-23 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel

[PATCH v14 4/5] hinic: Replace PCI pool old API

2017-10-23 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +- drivers/net/ethernet/huawei/hinic

[PATCH v14 0/5] Replace PCI pool by DMA pool API

2017-10-23 Thread Romain Perier
ed-by tags Romain Perier (5): block: DAC960: Replace PCI pool old API dmaengine: pch_dma: Replace PCI pool old API net: e100: Replace PCI pool old API hinic: Replace PCI pool old API PCI: Remove PCI pool macro functions drivers/block/DAC960.c

[PATCH v14 2/5] dmaengine: pch_dma: Replace PCI pool old API

2017-10-23 Thread Romain Perier
From: Romain Perier The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file

[PATCH v14 5/5] PCI: Remove PCI pool macro functions

2017-10-23 Thread Romain Perier
From: Romain Perier Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include

[PATCH v13 1/5] block: DAC960: Replace PCI pool old API

2017-09-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v13 3/5] net: e100: Replace PCI pool old API

2017-09-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v13 4/5] hinic: Replace PCI pool old API

2017-09-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 10 +- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h | 2 +- 2 files

[PATCH v13 2/5] dmaengine: pch_dma: Replace PCI pool old API

2017-09-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v13 0/5] Replace PCI pool by DMA pool API

2017-09-06 Thread Romain Perier
race, live over 80 characters - Removed some of the check for NULL pointers before calling dma_pool_destroy - Improved the regexp in checkpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (5): block: DAC960: Replace PCI pool old API dmaengine: pch_dma: R

[PATCH v13 5/5] PCI: Remove PCI pool macro functions

2017-09-06 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index

[PATCH net-next v7] net: stmmac: Delete dead code for MDIO registration

2017-09-04 Thread Romain Perier
s we don't want information loss, I have moved this code to phy_attached_print(). Fixes: fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register") Signed-off-by: Romain Perier --- Hello, This is the continuity of "[PATCH v2 0/2] net: stmmac: phy logging fixes

[PATCH net-next v6] net: stmmac: Delete dead code for MDIO registration

2017-08-31 Thread Romain Perier
s we don't want information loss, I have moved this code to phy_attached_print(). Fixes: fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register") Signed-off-by: Romain Perier --- Hello, This is the continuity of "[PATCH v2 0/2] net: stmmac: phy logging fixes

[PATCH net-next v5] net: stmmac: Delete dead code for MDIO registration

2017-08-24 Thread Romain Perier
s we don't want information loss, I have moved this code to phy_attached_print(). Fixes: fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register") Signed-off-by: Romain Perier --- Hello, This is the continuity of "[PATCH v2 0/2] net: stmmac: phy logging fixes

[PATCH net-next v4] net: stmmac: Delete dead code for MDIO registration

2017-08-24 Thread Romain Perier
s, I have moved this code to phy_attached_print(). Fixes: fbca164776e4 ("net: stmmac: Use the right logging function in stmmac_mdio_register") Signed-off-by: Romain Perier --- Hello, This is the continuity of "[PATCH v2 0/2] net: stmmac: phy logging fixes", see https://lk

Re: [PATCH v3] net: stmmac: Delete dead code for MDIO registration

2017-08-23 Thread Romain Perier
Hello, Le 23/08/2017 à 18:46, Florian Fainelli a écrit : > On 08/23/2017 01:50 AM, Romain Perier wrote: >> This code is no longer used, the logging function was changed by commit >> fbca164776e4 ("net: stmmac: Use the right logging functi"). It was >> previousl

[PATCH v3] net: stmmac: Delete dead code for MDIO registration

2017-08-23 Thread Romain Perier
s, I have moved this code to phy_attached_print(). Fixes: fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romain Perier --- Hello, This is the continuity of "[PATCH v2 0/2] net: stmmac: phy logging fixes", see https://lkml.org/lkml/2017/8/21/288 Chang

[PATCH RESEND v12 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-23 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Stanislav Yakovlev --- Note: As requested by Kalle Valo, resend and add linux-wireless to Cc

Re: [PATCH v2 1/2] net: stmmac: Delete dead code for MDIO registration

2017-08-22 Thread Romain Perier
Hello, Le 22/08/2017 à 02:45, Florian Fainelli a écrit : > On 08/21/2017 04:45 AM, Romain Perier wrote: >> This code is no longer used, the logging function was changed by commit >> fbca164776e4 ("net: stmmac: Use the right logging functi"). >> >> Fixes: fbca

[PATCH v12 2/8] dmaengine: pch_dma: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v12 1/8] block: DAC960: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v12 5/8] mlx4: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Reviewed-by: Leon Romanovsky Acked-by: Doug Ledford Tested-by: Doug Ledford

[PATCH v12 6/8] mlx5: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11

[PATCH v12 4/8] net: e100: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v12 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6

[PATCH v12 8/8] PCI: Remove PCI pool macro functions

2017-08-22 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index

[PATCH v12 3/8] IB/mthca: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/infiniband/hw

[PATCH v12 0/8] Replace PCI pool by DMA pool API

2017-08-22 Thread Romain Perier
kpatch for pci_pool, thanks to Joe Perches - Added Tested-by and Acked-by tags Romain Perier (8): block: DAC960: Replace PCI pool old API dmaengine: pch_dma: Replace PCI pool old API IB/mthca: Replace PCI pool old API net: e100: Replace PCI pool old API mlx4: Replace PCI pool old API mlx

Re: [PATCH 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print

2017-08-21 Thread Romain Perier
Hello, Le 21/08/2017 à 11:45, Sergei Shtylyov a écrit : > Hello! > > On 8/21/2017 10:52 AM, Romain Perier wrote: > >> Currently, if this logging function is used prior the phy driver is >> binded to the phy device (that is usually done from .ndo_open), > >s/bi

[PATCH v2 0/2] net: stmmac: phy logging fixes

2017-08-21 Thread Romain Perier
in commit message - "commit" not needed in the "Fixes" tag Romain Perier (2): net: stmmac: Delete dead code for MDIO registration net: phy: Don't use drv when it is NULL in phy_attached_print drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 16

[PATCH v2 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print

2017-08-21 Thread Romain Perier
gistration of the MDIO bus, and then genphy driver is bound to this phydev when .ndo_open is called. This commit fixes the issue by using the right genphy driver, when phydev->drv is NULL. Fixes: fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romain Pe

[PATCH v2 1/2] net: stmmac: Delete dead code for MDIO registration

2017-08-21 Thread Romain Perier
This code is no longer used, the logging function was changed by commit fbca164776e4 ("net: stmmac: Use the right logging functi"). Fixes: fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romain Perier --- drivers/net/ethernet/stmicro/stmma

[PATCH 1/2] net: stmmac: Delete dead code for MDIO registration

2017-08-21 Thread Romain Perier
This code is no longer used, the logging function was changed by commit fbca164776e4 ("net: stmmac: Use the right logging functi"). Fixes: commit fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romain Perier --- drivers/net/ethernet/stmicro/stmma

[PATCH 0/2] net: stmmac: phy logging fixes

2017-08-21 Thread Romain Perier
This set of patches fixes issues related to logging. First it delete old code that is no longer used in stmmac_mdio_register(). Then, it fixes a crash that happens when phydev->drv is NULL and phy_attached_info() is called prior phy_driver is binded to phydev. Romain Perier (2): net: stm

[PATCH 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print

2017-08-21 Thread Romain Perier
gistration of the MDIO bus, and then genphy driver is binded to this phydev when .ndo_open is called. This commit fixes the issue by using the right genphy driver, when phydev->drv is NULL. Fixes: commit fbca164776e4 ("net: stmmac: Use the right logging functi") Signed-off-by: Romai

[PATCH v3] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Romain Perier
nction for logging. The last netdev_info is replaced by phy_attached_info(), as a valid phydev can be used at this point. Signed-off-by: Romain Perier Reviewed-by: Andrew Lunn --- Changes in v3: - Replaced phy_attached_print by phy_attached_info, makes more sense - Added Reviewed-by tag by Andre

Re: [PATCH v2] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Romain Perier
Hi Andrew, Le 10/08/2017 à 15:56, Andrew Lunn a écrit : > On Thu, Aug 10, 2017 at 09:38:26AM +0200, Romain Perier wrote: >> Currently, the function stmmac_mdio_register() is only used by >> stmmac_dvr_probe() from stmmac_main.c, in order to register the MDIO bus >> and pr

[PATCH] ARM: dts: rockchip: set PLLs and core clocks rates for RK3188

2017-08-10 Thread Romain Perier
) Signed-off-by: Romain Perier --- arch/arm/boot/dts/rk3188.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/rk3188.dtsi b/arch/arm/boot/dts/rk3188.dtsi index 1399bc04ea77..de6bde651cc2 100644 --- a/arch/arm/boot/dts/rk3188.dtsi +++ b/arch/arm/boot/dts

[PATCH v2] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-10 Thread Romain Perier
nction for logging. The last netdev_info is replaced by phy_attached_info(), as a valid phydev can be used at this point. Signed-off-by: Romain Perier --- Changes in v2: - Replaced dev_info() by phy_attached_print() - Simplified message because informations were redudant - Updated commit message

Re: [PATCH] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-09 Thread Romain Perier
Hi Andrew, Le 09/08/2017 à 16:56, Andrew Lunn a écrit : > On Wed, Aug 09, 2017 at 04:40:19PM +0200, Romain Perier wrote: >> @@ -285,14 +286,14 @@ int stmmac_mdio_register(struct net_device *ndev) >> irq_str = irq_num; >>

[PATCH] net: stmmac: Use the right logging function in stmmac_mdio_register

2017-08-09 Thread Romain Perier
nction for logging. Signed-off-by: Romain Perier --- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c index db

[PATCH v11 3/8] IB/mthca: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/infiniband/hw

[PATCH v11 2/8] dmaengine: pch_dma: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions

[PATCH v11 6/8] mlx5: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11

[PATCH v11 5/8] mlx4: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin Reviewed-by: Leon Romanovsky Acked-by: Doug Ledford Tested-by: Doug Ledford

[PATCH v11 8/8] PCI: Remove PCI pool macro functions

2017-08-09 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index

[PATCH v11 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6

[PATCH v11 0/8] Replace PCI pool by DMA pool API

2017-08-09 Thread Romain Perier
ted-by and Acked-by tags Romain Perier (8): block: DAC960: Replace PCI pool old API dmaengine: pch_dma: Replace PCI pool old API IB/mthca: Replace PCI pool old API net: e100: Replace PCI pool old API mlx4: Replace PCI pool old API mlx5: Replace PCI pool old API wireless: ipw2200: Replac

[PATCH v11 1/8] block: DAC960: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/block/DAC960.c | 38

[PATCH v11 4/8] net: e100: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH] net: arc_emac: Add support for ndo_do_ioctl net_device_ops operation

2017-08-03 Thread Romain Perier
This operation is required for handling ioctl commands like SIOCGMIIREG, when debugging MDIO registers from userspace. This commit adds support for this operation. Signed-off-by: Romain Perier --- drivers/net/ethernet/arc/emac_main.c | 13 + 1 file changed, 13 insertions(+) diff

Re: [PATCH v10 00/15] Replace PCI pool by DMA pool API

2017-07-18 Thread Romain Perier
Hello, Le 09/07/2017 à 23:30, Doug Ledford a écrit : > On Thu, 2017-07-06 at 10:12 +0200, Romain Perier wrote: >> The current PCI pool API are simple macro functions direct expanded >> to >> the appropriate dma pool functions. The prototypes are almost the >> same &g

Re: [PATCH v2 1/6] serial: imx: only set DMA rx-ing when DMA starts

2017-07-06 Thread Romain Perier
Hello, Le 05/07/2017 à 15:29, Uwe Kleine-König a écrit : > Hello, > > On Wed, Jul 05, 2017 at 03:07:01PM +0200, Romain Perier wrote: >> From: Nandor Han >> >> Avoid the situation when `dma_is_rxing` could incorrectly signal that >> DMA RX channel is receiving d

[PATCH v10 09/15] scsi: csiostor: Replace PCI pool old API

2017-07-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi

  1   2   3   4   >