[PATCH usb v4 13/27] host: ehci-msm: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 15/27] host: ehci-mxc: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 18/27] host: ehci-platform: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 16/27] host: ehci-octeon: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 24/27] dwc3: dwc3-keystone: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 14/27] host: ehci-mv: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 21/27] musb: musb_core: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 26/27] host: ehci-exynos: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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/

[PATCH usb v4 23/27] phy: phy-rcar-usb: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 04/27] host: ehci-w90x900: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 07/27] host: ohci-jz4740: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 11/27] host: ehci-sh: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 12/27] host: ohci-spear: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 03/27] host: ehci-tegra: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 25/27] host: ehci-fsl: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 17/27] host: ehci-orion: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 09/27] host: ohci-platform: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 27/27] renesas_usbhs: common: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 08/27] host: ohci-octeon: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 06/27] host: ohci-exynos: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 20/27] host: xhci-plat: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 22/27] musb: musb_dsps: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 10/27] host: ohci-pxa27x: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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/

[PATCH usb v4 05/27] host: ohci-at91: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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/

[PATCH usb v4 02/27] host: ohci-da8xx: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 01/27] host: ehci-atmel: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 19/27] host: ehci-spear: remove duplicate check on resource

2014-11-03 Thread varkabhadram
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/

[PATCH usb v4 00/27] cleanup on resource check

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 1/2] host: uhci-platform: fix NULL pointer dereference on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 2/2] host: ehci-sead3: fix NULL pointer dereference on resource

2014-11-03 Thread varkabhadram
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

[PATCH usb v4 0/2] fixes on resource check

2014-11-03 Thread varkabhadram
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

[PATCH net-next v3 0/2] cleanup for Realtek 8139CP

2014-07-22 Thread varkabhadram
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 +--

[PATCH net-next v3 1/2] ethernet: realtek: use module_pci_driver

2014-07-22 Thread varkabhadram
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

[PATCH net-next v3 2/2] ethernet: realtek: use pci_device_id

2014-07-22 Thread varkabhadram
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

[PATCH net-next] netlink: remove bool varible

2014-07-15 Thread varkabhadram
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

[PATCH net-next] netlink: fix in netlink_filter_tap

2014-07-15 Thread varkabhadram
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

[PATCH net-next v3 4/6] ethernet: amd: fix comment styles

2014-07-14 Thread varkabhadram
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

[PATCH net-next v3 6/6] ethernet: amd: fix 'foo* bar'

2014-07-14 Thread varkabhadram
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

[PATCH net-next v3 1/6] ethernet: amd: move amd111e_remove_one after probe

2014-07-14 Thread varkabhadram
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

[PATCH net-next v3 3/6] ethernet: amd: dynamic debug fixes

2014-07-14 Thread varkabhadram
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

[PATCH net-next v3 2/6] ethernet: amd: use devm_ioremap()

2014-07-14 Thread varkabhadram
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

[PATCH net-next v3 5/6] ethernet: amd: fix pci device ids

2014-07-14 Thread varkabhadram
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 +++-

[PATCH net-next v3 0/6] cleanup for AMD8111E ethernet driver

2014-07-14 Thread varkabhadram
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

[PATCH net-next v2 4/6] ethernet: amd: fix comment styles

2014-07-13 Thread varkabhadram
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

[PATCH net-next v2 6/6] ethernet: amd: fix 'foo* bar'

2014-07-13 Thread varkabhadram
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

[PATCH net-next v2 5/6] ethernet: amd: fix pci device ids

2014-07-13 Thread varkabhadram
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

[PATCH net-next v2 2/6] ethernet: amd: use devm_ioremap()

2014-07-13 Thread varkabhadram
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

[PATCH net-next v2 1/6] ethernet: amd: move amd111e_remove_one after probe

2014-07-13 Thread varkabhadram
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

[PATCH net-next v2 0/6] cleanup for AMD811E ethernet driver

2014-07-13 Thread varkabhadram
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:

[PATCH net-next v2 3/6] ethernet: amd: dynamic debug fixes

2014-07-13 Thread varkabhadram
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

[PATCH net-next 0/8] cleanup for AMD811E ethernet driver

2014-07-11 Thread varkabhadram
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

[PATCH net-next 1/8] ethernet: amd: move amd111e_remove_one after probe

2014-07-11 Thread varkabhadram
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

[PATCH net-next 2/8] ethernet: amd: use devm_ioremap()

2014-07-11 Thread varkabhadram
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

[PATCH net-next 3/8] ethernet: amd: dynamic debug fixes

2014-07-11 Thread varkabhadram
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

[PATCH net-next 4/8] ethernet: amd: fix comment styles

2014-07-11 Thread varkabhadram
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

[PATCH net-next 5/8] ethernet: amd: move pci device ids

2014-07-11 Thread varkabhadram
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

[PATCH net-next 7/8] ethernet: amd: fix spaces and few coding styles

2014-07-11 Thread varkabhadram
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 ')'

[PATCH net-next 8/8] ethernet: amd: switch case fixes

2014-07-11 Thread varkabhadram
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

[PATCH net-next 6/8] ethernet: amd: fix 'foo* bar'

2014-07-11 Thread varkabhadram
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