From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-msm.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/hos
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-mxc.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/ho
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-platform.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ehci-platform.c b/dri
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-octeon.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ehci-octeon.c b/drivers
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
---
drivers/usb/dwc3/dwc3-keystone.c |5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/usb/dwc3/dwc3-keystone.c b/drivers/usb/dwc3/dwc3-keystone.c
index 7ec8495..d
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-mv.c | 12
1 file changed, 12 deletions(-)
diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c
inde
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
---
drivers/usb/musb/musb_core.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index b841ee
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-exynos.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
---
drivers/usb/phy/phy-rcar-usb.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/phy/phy-rcar-usb.c b/drivers/usb/phy/phy-rcar-usb.c
in
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-w90x900.c | 13 +++--
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/host/ehci-w90x900.c b/dri
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-jz4740.c | 13 +++--
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/host/ohci-jz4740.c b/drive
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-sh.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/drivers/usb/host/ehci-sh.c b/drivers/usb
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-spear.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ohci-spear.c b/drivers/us
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-tegra.c | 10 +++---
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-fsl.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/h
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
Reviewed-by: Gregory CLEMENT
---
drivers/usb/host/ehci-orion.c | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/drivers/usb/ho
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-platform.c | 13 -
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ohci-platform.c b/dr
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
---
drivers/usb/renesas_usbhs/common.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/renesas_usbhs/common.c
b/drivers/usb/renesas_usbhs/co
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-octeon.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ohci-octeon.c b/drivers
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-exynos.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/u
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
Acked-by: Felipe Balbi
Reviewed-by: Gregory CLEMENT
---
drivers/usb/host/xhci-plat.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
dif
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
---
drivers/usb/musb/musb_dsps.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 48bc09e..965c552 100644
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-pxa27x.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-at91.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ohci-da8xx.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/ho
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-atmel.c | 13 +++--
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/drivers/usb/host/ehci-atmel.c b/drivers
From: Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource().
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-spear.c |9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/
From: Varka Bhadram
This series removes the duplication of sanity check for
platform_get_resource() return resource. It will be checked
with devm_ioremap_resource().
This entire series rebased on usb-next of [1].
changes since v1:
- removed broken patches
- added Ack of Alan Ste
From: Varka Bhadram
Fix in accessing NULL if resource didn't get.
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/uhci-platform.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platfo
From: Varka Bhadram
Fix on accessing NULL pointer dereference on get resource failed.
Signed-off-by: Varka Bhadram
Acked-by: Alan Stern
---
drivers/usb/host/ehci-sead3.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/hos
From: Varka Bhadram
This series fixes for NULL pointer dereference on resource.
Series based on usb-next of [1]
changes:
Up to v3, combined series for fixes and cleanups for resource
check. For v4 seperated as two series on for fixes another for cleanups.
[1]: https://git.kernel.org/cg
From: Varka Bhadram
changes since v2:
- making version info print once.
changes sice v1:
- remove unused varible warning
Varka Bhadram (2):
ethernet: realtek: use module_pci_driver
ethernet: realtek: use pci_device_id
drivers/net/ethernet/realtek/8139cp.c | 36 +--
From: Varka Bhadram
This patch converts to use the macro module_pci_driver, which makes
the code smaller and simpler.
Previously in this driver we are having driver version info will be
printed log buffer based on whether the driver selected as module
or statically into image itself. By using th
From: Varka Bhadram
This patch use the struct pci_device_id instead of using macro
DEFINE_PCI_DEVICE_TABLE which is deprecated and should not be used.
And also moves these ids after probe and remove functionalities.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/realtek/8139cp.c | 14
From: Varka Bhadram
This patch removes the bool variable 'pass'.
If the swith case exist return true or return false.
Signed-off-by: Varka Bhadram
---
net/netlink/af_netlink.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af
From: Varka Bhadram
Remove the bool variable 'pass'. Return the true/false directly.
Signed-off-by: Varka Bhadram
---
net/netlink/af_netlink.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index e8c9f97..5dd8193
From: Varka Bhadram
This patch fixes the comment style issues
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 181 +--
1 file changed, 86 insertions(+), 95 deletions(-)
diff --git a/drivers/net/ethernet/amd/amd8111e.c
b/drivers/net/ethe
From: Varka Bhadram
This patch fix the 'foo*' bar with 'foo *bar' and (foo*) with (foo *).
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 76 ++-
1 file changed, 40 insertions(+), 36 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
From: Varka Bhadram
This patch moves the remove functionalities after the probe
so that we can see the registered and released resources properly.
Every driver follows the same concept.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 25 +
1 fil
From: Varka Bhadram
This patch convert printk() to netdev_dbg/info/err or dev_info/err/dbg
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 58 ---
1 file changed, 26 insertions(+), 32 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
From: Varka Bhadram
This patch replace ioremap() with the devm_ioremap() so that
the resource will be freed automatically with the probe failed.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dr
From: Varka Bhadram
Normally any device ids will be above the corresponding device driver
structure. This patch moves the pci device ids and MODULE_DEVICE_TABLE()
above the pci driver structure.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 20 +++-
From: Varka Bhadram
This series cleanup for AMD8111E ethernet driver
v1: fix checkpatch warnings.
v2: added new line in debug messages
Varka Bhadram (6):
ethernet: amd: move amd111e_remove_one after probe
ethernet: amd: use devm_ioremap()
ethernet: amd: dynamic debug fixes
ethernet: amd
From: Varka Bhadram
This patch fixes the comment style issues
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 181 +--
1 file changed, 86 insertions(+), 95 deletions(-)
diff --git a/drivers/net/ethernet/amd/amd8111e.c
b/drivers/net/ethe
From: Varka Bhadram
This patch fix the 'foo*' bar with 'foo *bar'
and (foo*) with (foo *).
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 76 ++-
1 file changed, 40 insertions(+), 36 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
From: Varka Bhadram
Normally any device ids will be above the corresponding device driver
structure. This patch moves the pci device ids and MODULE_DEVICE_TABLE()
above the pci driver structure.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 20 +++-
1
From: Varka Bhadram
This patch replace ioremap() with the devm_ioremap() so that
the resource will be freed automatically with the probe failed.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dr
From: Varka Bhadram
This patch moves the remove functionalities after the probe
so that we can see the registered and released resources properly.
Every driver follows the same concept.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 25 +
1 fil
From: Varka Bhadram
This series cleanup for AMD811E ethernet driver
Varka Bhadram (6):
ethernet: amd: move amd111e_remove_one after probe
ethernet: amd: use devm_ioremap()
ethernet: amd: dynamic debug fixes
ethernet: amd: fix comment styles
ethernet: amd: fix pci device ids
ethernet:
From: Varka Bhadram
This patch convert printk() to netdev_dbg/info/err or dev_info/err/dbg
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 58 ---
1 file changed, 26 insertions(+), 32 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
From: Varka Bhadram
This series cleanup for AMD811E ethernet driver
Varka Bhadram (8):
ethernet: amd: move amd111e_remove_one after probe
ethernet: amd: use devm_ioremap()
ethernet: amd: dynamic debug fixes
ethernet: amd: fix comment styles
ethernet: amd: move pci device ids
ethernet
From: Varka Bhadram
This patch moves the remove functionalities after the probe
so that we can see the registered and released resources properly.
Every driver follows the same concept.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 25 +
1 fi
From: Varka Bhadram
This patch replace ioremap() with the devm_ioremap() so that
the resource will be freed automatically with the probe failed.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c |7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/dr
From: Varka Bhadram
This patch convert printk() to netdev_dbg/info/err or dev_info/err/dbg
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 58 ---
1 file changed, 26 insertions(+), 32 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
From: Varka Bhadram
This patch fixes the comment style issues
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 181 +--
1 file changed, 86 insertions(+), 95 deletions(-)
diff --git a/drivers/net/ethernet/amd/amd8111e.c
b/drivers/net/ethe
From: Varka Bhadram
Normally any device ids will be above the corresponding device driver
structure. This patch moves the pci device ids and MODULE_DEVICE_TABLE()
above the pci driver structure.
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 16 +++-
1 fil
From: Varka Bhadram
This patch fix the following spacing issues:
no space before tabs
space required after that ';'
space required before the open parenthesis '(
space prohibited before that ':' (ctx:WxE)
space prohibited before that close parenthesis ')'
From: Varka Bhadram
This patch fix the *swith* case indentation and usage issues
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 117 +--
1 file changed, 58 insertions(+), 59 deletions(-)
diff --git a/drivers/net/ethernet/amd/amd8111e.c
From: Varka Bhadram
This patch fix the 'foo*' bar with 'foo *bar'
and (foo*) with (foo *).
Signed-off-by: Varka Bhadram
---
drivers/net/ethernet/amd/amd8111e.c | 72 +--
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/drivers/net/ethernet/amd/a
59 matches
Mail list logo