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
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
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
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo