[PATCH] net/irda: fixed style issues in irttp

2013-07-17 Thread Dragos Foianu
Applied error fixes suggested by checpatch.pl Signed-off-by: Dragos Foianu --- net/irda/irttp.c | 50 +++--- 1 file changed, 23 insertions(+), 27 deletions(-) diff --git a/net/irda/irttp.c b/net/irda/irttp.c index ae43c62..85372cf 100644 --- a/net

[PATCH] staging/lustre/libcfs: removed dead code from libcfs_string

2013-07-17 Thread Dragos Foianu
Confirmed by cscope that the functions are not used anymore. A fresh compilation does not yield any errors. Signed-off-by: Dragos Foianu --- .../staging/lustre/lustre/libcfs/libcfs_string.c | 48 1 file changed, 48 deletions(-) diff --git a/drivers/staging/lustre

[PATCH] drivers/scsi/fnic: updated fileoperations structure to use simple_open

2013-07-15 Thread Dragos Foianu
The function has the same implementation as simple_open. I removed it and replaced the reference in the fileoperations struct with simple_open. Found using Coccinelle. Signed-off-by: Dragos Foianu --- drivers/scsi/fnic/fnic_debugfs.c | 19 +-- 1 file changed, 1 insertion

[PATCH] net/irda: fixed style issues in irlan_eth

2013-07-13 Thread Dragos Foianu
Applied fixes suggested by checkpatch.pl Signed-off-by: Dragos Foianu --- net/irda/irlan/irlan_eth.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/net/irda/irlan/irlan_eth.c b/net/irda/irlan/irlan_eth.c index d14152e..ffcec22 100644

[PATCH] ethtool: fixed trailing statements in ethtool

2013-07-13 Thread Dragos Foianu
Applied fixes suggested by checkpatch.pl. Signed-off-by: Dragos Foianu --- net/core/ethtool.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/net/core/ethtool.c b/net/core/ethtool.c index ab5fa63..78e9d92 100644 --- a/net/core/ethtool.c

[PATCH] aic7xxx/aic7770: replaced string duplication code with kstrdup

2013-07-13 Thread Dragos Foianu
Now using kstrdup instead of its implementation. Found using coccinelle. Signed-off-by: Dragos Foianu --- drivers/scsi/aic7xxx/aic7770_osm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c index

[PATCH] aic7xxx/aic79xx: replaced string duplication code with kstrdup

2013-07-13 Thread Dragos Foianu
Replaced kmalloc + strcpy code with kstrdup. Found using coccinelle. Signed-off-by: Dragos Foianu --- drivers/scsi/aic7xxx/aic79xx_osm_pci.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic79xx_osm_pci.c b/drivers/scsi/aic7xxx/aic79xx_osm_pci.c

[PATCH] aic7xxx: replaced string duplication code with kstrdup

2013-07-13 Thread Dragos Foianu
Modified ahc_linux_pci_dev_probe function to use kstrdup instead of duplicating its implementation. Found using coccinelle. Signed-off-by: Dragos Foianu --- drivers/scsi/aic7xxx/aic7xxx_osm_pci.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx

[PATCH] i2o: replaced string duplication code with kstrdup

2013-07-13 Thread Dragos Foianu
i2o_pool_alloc now uses kstrdup instead of duplicating its implementation. Found usinc coccinelle. Signed-off-by: Dragos Foianu --- drivers/message/i2o/memory.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/message/i2o/memory.c b/drivers/message/i2o/memory.c

[PATCH] staging/lustre/libcfs: replaced string duplication code with kstrdup

2013-07-12 Thread Dragos Foianu
Modified cfs_strdup function to use kstrdup instead of duplicating its implementation. Found using Coccinelle. Signed-off-by: Dragos Foianu --- drivers/staging/lustre/lustre/libcfs/libcfs_string.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers

[PATCH] ipvs: fixed style errors and warnings in ip_vs_conn

2013-07-11 Thread Dragos Foianu
found with the help of checkpatch.pl Signed-off-by: Dragos Foianu --- net/netfilter/ipvs/ip_vs_conn.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_conn.c b/net/netfilter/ipvs/ip_vs_conn.c index 4c8e5c0..4927a52

[PATCH] ipvs: fixed style error in ip_vs_sched

2013-07-11 Thread Dragos Foianu
found with the help of checkpatch.pl Signed-off-by: Dragos Foianu --- net/netfilter/ipvs/ip_vs_sched.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netfilter/ipvs/ip_vs_sched.c b/net/netfilter/ipvs/ip_vs_sched.c index 4dbcda6..a67980d 100644 --- a/net/netfilter

[PATCH] ipvs: fixed style errors in ip_vs_dh

2013-07-11 Thread Dragos Foianu
found with the help of checkpatch.pl Signed-off-by: Dragos Foianu --- net/netfilter/ipvs/ip_vs_dh.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_dh.c b/net/netfilter/ipvs/ip_vs_dh.c index c3b8454..8ab2fc8 100644 --- a/net/netfilter/ipvs

[PATCH] ipvs: fixed spacing at for statements

2013-07-10 Thread Dragos Foianu
found using checkpatch.pl Signed-off-by: Dragos Foianu --- net/netfilter/ipvs/ip_vs_lblcr.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/netfilter/ipvs/ip_vs_lblcr.c b/net/netfilter/ipvs/ip_vs_lblcr.c index 3cd85b2..5199448 100644 --- a/net/netfilter/ipvs