[PATCH] ic7xxx_osm: use kzalloc instead of kmalloc + memset

2013-07-12 Thread Cosmin Stanescu
found using coccinelle. Signed-off-by: Cosmin Stanescu --- drivers/scsi/aic7xxx/aic7xxx_osm.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index c0c6258..7167cfe 100644 --- a/drivers/scsi

[PATCH] strict_strtoul in (obsolete) changed to kstrtoul

2013-07-10 Thread Cosmin Stanescu
From: “Cosmin <“cosmin90stane...@gmail.com”> Signed-off-by: “Cosmin <“cosmin90stane...@gmail.com”> --- net/dns_resolver/dns_key.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dns_resolver/dns_key.c b/net/dns_resolver/dns_key.c index 0a69d07..f347a2c 100644 --- a/net/