netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
@ 2007-07-31 17:33 ` Mariusz Kozlowski
  2007-07-31 21:06   ` David Miller
  2007-07-31 18:16 ` [PATCH 39] net/ipv4/ip_options.c: " Mariusz Kozlowski
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 17:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, netdev, patrick

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 net/decnet/dn_route.c | 45013 -> 44991 (-22 bytes)
 net/decnet/dn_route.o | 199388 -> 199580 (+192 bytes)

 net/decnet/dn_route.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.23-rc1-mm1-a/net/decnet/dn_route.c	2007-07-26 13:07:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/net/decnet/dn_route.c	2007-07-31 15:15:11.000000000 +0200
@@ -1737,8 +1737,9 @@ static int dn_rt_cache_seq_open(struct i
 {
 	struct seq_file *seq;
 	int rc = -ENOMEM;
-	struct dn_rt_cache_iter_state *s = kmalloc(sizeof(*s), GFP_KERNEL);
-
+	struct dn_rt_cache_iter_state *s;
+
+	s = kzalloc(sizeof(*s), GFP_KERNEL);
 	if (!s)
 		goto out;
 	rc = seq_open(file, &dn_rt_cache_seq_ops);
@@ -1746,7 +1747,6 @@ static int dn_rt_cache_seq_open(struct i
 		goto out_kfree;
 	seq		= file->private_data;
 	seq->private	= s;
-	memset(s, 0, sizeof(*s));
 out:
 	return rc;
 out_kfree:

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
  2007-07-31 17:33 ` [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
@ 2007-07-31 18:16 ` Mariusz Kozlowski
  2007-07-31 21:07   ` David Miller
  2007-07-31 21:54 ` [PATCH 66] net/ipv4/raw.c: " Mariusz Kozlowski
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 18:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, netdev, davem

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 net/ipv4/ip_options.c | 15425 -> 15368 (-57 bytes)
 net/ipv4/ip_options.o | 133668 -> 133588 (-80 bytes)

 net/ipv4/ip_options.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

--- linux-2.6.23-rc1-mm1-a/net/ipv4/ip_options.c	2007-07-26 13:07:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/net/ipv4/ip_options.c	2007-07-31 15:17:22.000000000 +0200
@@ -513,11 +513,8 @@ void ip_options_undo(struct ip_options *

 static struct ip_options *ip_options_get_alloc(const int optlen)
 {
-	struct ip_options *opt = kmalloc(sizeof(*opt) + ((optlen + 3) & ~3),
-					 GFP_KERNEL);
-	if (opt)
-		memset(opt, 0, sizeof(*opt));
-	return opt;
+	return kzalloc(sizeof(struct ip_options) + ((optlen + 3) & ~3),
+		       GFP_KERNEL);
 }

 static int ip_options_get_finish(struct ip_options **optp,

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc
  2007-07-31 17:33 ` [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
@ 2007-07-31 21:06   ` David Miller
  0 siblings, 0 replies; 18+ messages in thread
From: David Miller @ 2007-07-31 21:06 UTC (permalink / raw)
  To: m.kozlowski; +Cc: linux-kernel, kernel-janitors, akpm, netdev, patrick

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Tue, 31 Jul 2007 19:33:33 +0200

> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

Patch applied, thanks.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc
  2007-07-31 18:16 ` [PATCH 39] net/ipv4/ip_options.c: " Mariusz Kozlowski
@ 2007-07-31 21:07   ` David Miller
  2007-07-31 21:15     ` Mariusz Kozlowski
  0 siblings, 1 reply; 18+ messages in thread
From: David Miller @ 2007-07-31 21:07 UTC (permalink / raw)
  To: m.kozlowski; +Cc: linux-kernel, kernel-janitors, akpm, netdev

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Tue, 31 Jul 2007 20:16:59 +0200

> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

Applied, but note that this patch changes behavior, previously
only the ip_options structure base was cleared out, but now
the whole memory region is cleared.

I think it's OK for this case, but I'm just making note of it.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 39] net/ipv4/ip_options.c: kmalloc + memset conversion to kzalloc
  2007-07-31 21:07   ` David Miller
@ 2007-07-31 21:15     ` Mariusz Kozlowski
  0 siblings, 0 replies; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 21:15 UTC (permalink / raw)
  To: David Miller; +Cc: linux-kernel, kernel-janitors, akpm, netdev

> Applied, but note that this patch changes behavior, previously
> only the ip_options structure base was cleared out, but now
> the whole memory region is cleared.
> 
> I think it's OK for this case, but I'm just making note of it.

Agrh. Sorry. I must have overlook this. Feel free to drop it if
you think its not worth it :-)

Thanks,

	Mariusz

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 66] net/ipv4/raw.c: kmalloc + memset conversion to kzalloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
  2007-07-31 17:33 ` [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
  2007-07-31 18:16 ` [PATCH 39] net/ipv4/ip_options.c: " Mariusz Kozlowski
@ 2007-07-31 21:54 ` Mariusz Kozlowski
  2007-08-02  4:54   ` David Miller
  2007-07-31 21:55 ` [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc Mariusz Kozlowski
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 21:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, netdev, davem

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 net/ipv4/raw.c | 21650 -> 21628 (-22 bytes)
 net/ipv4/raw.o | 179112 -> 179272 (+160 bytes)

 net/ipv4/raw.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.23-rc1-mm1-a/net/ipv4/raw.c	2007-07-26 13:07:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/net/ipv4/raw.c	2007-07-31 15:20:27.000000000 +0200
@@ -900,8 +900,9 @@ static int raw_seq_open(struct inode *in
 {
 	struct seq_file *seq;
 	int rc = -ENOMEM;
-	struct raw_iter_state *s = kmalloc(sizeof(*s), GFP_KERNEL);
-
+	struct raw_iter_state *s;
+
+	s = kzalloc(sizeof(*s), GFP_KERNEL);
 	if (!s)
 		goto out;
 	rc = seq_open(file, &raw_seq_ops);
@@ -910,7 +911,6 @@ static int raw_seq_open(struct inode *in

 	seq = file->private_data;
 	seq->private = s;
-	memset(s, 0, sizeof(*s));
 out:
 	return rc;
 out_kfree:

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
                   ` (2 preceding siblings ...)
  2007-07-31 21:54 ` [PATCH 66] net/ipv4/raw.c: " Mariusz Kozlowski
@ 2007-07-31 21:55 ` Mariusz Kozlowski
  2007-08-02  4:54   ` David Miller
  2007-07-31 21:56 ` [PATCH 68] drivers/net/s2io.c: " Mariusz Kozlowski
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 21:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, davem, netdev

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 net/ipv4/route.c | 75650 -> 75628 (-22 bytes)
 net/ipv4/route.o | 256303 -> 256467 (+164 bytes)

 net/ipv4/route.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.23-rc1-mm1-a/net/ipv4/route.c	2007-07-26 13:07:44.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/net/ipv4/route.c	2007-07-31 15:21:41.000000000 +0200
@@ -374,8 +374,9 @@ static int rt_cache_seq_open(struct inod
 {
 	struct seq_file *seq;
 	int rc = -ENOMEM;
-	struct rt_cache_iter_state *s = kmalloc(sizeof(*s), GFP_KERNEL);
-
+	struct rt_cache_iter_state *s;
+
+	s = kzalloc(sizeof(*s), GFP_KERNEL);
 	if (!s)
 		goto out;
 	rc = seq_open(file, &rt_cache_seq_ops);
@@ -383,7 +384,6 @@ static int rt_cache_seq_open(struct inod
 		goto out_kfree;
 	seq          = file->private_data;
 	seq->private = s;
-	memset(s, 0, sizeof(*s));
 out:
 	return rc;
 out_kfree:

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 68] drivers/net/s2io.c: kmalloc + memset conversion to k[cz]alloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
                   ` (3 preceding siblings ...)
  2007-07-31 21:55 ` [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc Mariusz Kozlowski
@ 2007-07-31 21:56 ` Mariusz Kozlowski
  2007-08-07 21:57   ` Jeff Garzik
  2007-07-31 21:58 ` [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc Mariusz Kozlowski
  2007-07-31 22:11 ` [PATCH 76] drivers/net/via-velocity.c: mostly " Mariusz Kozlowski
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 21:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, netdev, jgarzik

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 drivers/net/s2io.c | 235587 -> 235340 (-247 bytes)
 drivers/net/s2io.o | 460768 -> 460120 (-648 bytes)

 drivers/net/s2io.c |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

--- linux-2.6.23-rc1-mm1-a/drivers/net/s2io.c	2007-07-26 13:07:42.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/drivers/net/s2io.c	2007-07-31 13:44:02.000000000 +0200
@@ -531,7 +531,7 @@ static int init_shared_mem(struct s2io_n
 	for (i = 0; i < config->tx_fifo_num; i++) {
 		int fifo_len = config->tx_cfg[i].fifo_len;
 		int list_holder_size = fifo_len * sizeof(struct list_info_hold);
-		mac_control->fifos[i].list_info = kmalloc(list_holder_size,
+		mac_control->fifos[i].list_info = kzalloc(list_holder_size,
 							  GFP_KERNEL);
 		if (!mac_control->fifos[i].list_info) {
 			DBG_PRINT(INFO_DBG,
@@ -539,7 +539,6 @@ static int init_shared_mem(struct s2io_n
 			return -ENOMEM;
 		}
 		mem_allocated += list_holder_size;
-		memset(mac_control->fifos[i].list_info, 0, list_holder_size);
 	}
 	for (i = 0; i < config->tx_fifo_num; i++) {
 		int page_num = TXD_MEM_PAGE_CNT(config->tx_cfg[i].fifo_len,
@@ -3788,9 +3787,9 @@ static int s2io_enable_msi_x(struct s2io
 	u16 msi_control; /* Temp variable */
 	int ret, i, j, msix_indx = 1;

-	nic->entries = kmalloc(MAX_REQUESTED_MSI_X * sizeof(struct msix_entry),
+	nic->entries = kcalloc(MAX_REQUESTED_MSI_X, sizeof(struct msix_entry),
 			       GFP_KERNEL);
-	if (nic->entries == NULL) {
+	if (!nic->entries) {
 		DBG_PRINT(INFO_DBG, "%s: Memory allocation failed\n", \
 			__FUNCTION__);
 		nic->mac_control.stats_info->sw_stat.mem_alloc_fail_cnt++;
@@ -3798,12 +3797,11 @@ static int s2io_enable_msi_x(struct s2io
 	}
 	nic->mac_control.stats_info->sw_stat.mem_allocated
 		+= (MAX_REQUESTED_MSI_X * sizeof(struct msix_entry));
-	memset(nic->entries, 0,MAX_REQUESTED_MSI_X * sizeof(struct msix_entry));

 	nic->s2io_entries =
-		kmalloc(MAX_REQUESTED_MSI_X * sizeof(struct s2io_msix_entry),
+		kcalloc(MAX_REQUESTED_MSI_X, sizeof(struct s2io_msix_entry),
 				   GFP_KERNEL);
-	if (nic->s2io_entries == NULL) {
+	if (!nic->s2io_entries) {
 		DBG_PRINT(INFO_DBG, "%s: Memory allocation failed\n",
 			__FUNCTION__);
 		nic->mac_control.stats_info->sw_stat.mem_alloc_fail_cnt++;
@@ -3814,8 +3812,6 @@ static int s2io_enable_msi_x(struct s2io
 	}
 	 nic->mac_control.stats_info->sw_stat.mem_allocated
 		+= (MAX_REQUESTED_MSI_X * sizeof(struct s2io_msix_entry));
-	memset(nic->s2io_entries, 0,
-	       MAX_REQUESTED_MSI_X * sizeof(struct s2io_msix_entry));

 	for (i=0; i< MAX_REQUESTED_MSI_X; i++) {
 		nic->entries[i].entry = i;

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
                   ` (4 preceding siblings ...)
  2007-07-31 21:56 ` [PATCH 68] drivers/net/s2io.c: " Mariusz Kozlowski
@ 2007-07-31 21:58 ` Mariusz Kozlowski
  2007-08-07 21:57   ` Jeff Garzik
  2007-07-31 22:11 ` [PATCH 76] drivers/net/via-velocity.c: mostly " Mariusz Kozlowski
  6 siblings, 1 reply; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 21:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, jgarzik, netdev

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 drivers/net/sb1250-mac.c | 76286 -> 76199 (-87 bytes)

 drivers/net/sb1250-mac.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- linux-2.6.23-rc1-mm1-a/drivers/net/sb1250-mac.c	2007-07-26 13:07:43.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/drivers/net/sb1250-mac.c	2007-07-31 13:46:10.000000000 +0200
@@ -779,10 +779,8 @@ static void sbdma_initctx(sbmacdma_t *d,
 	 * And context table
 	 */

-	d->sbdma_ctxtable = (struct sk_buff **)
-		kmalloc(d->sbdma_maxdescr*sizeof(struct sk_buff *), GFP_KERNEL);
-
-	memset(d->sbdma_ctxtable,0,d->sbdma_maxdescr*sizeof(struct sk_buff *));
+	d->sbdma_ctxtable = kcalloc(d->sbdma_maxdescr,
+				    sizeof(struct sk_buff *), GFP_KERNEL);

 #ifdef CONFIG_SBMAC_COALESCE
 	/*

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 76] drivers/net/via-velocity.c: mostly kmalloc + memset conversion to kcalloc
       [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
                   ` (5 preceding siblings ...)
  2007-07-31 21:58 ` [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc Mariusz Kozlowski
@ 2007-07-31 22:11 ` Mariusz Kozlowski
  2007-07-31 22:32   ` Francois Romieu
  2007-08-07 21:57   ` Jeff Garzik
  6 siblings, 2 replies; 18+ messages in thread
From: Mariusz Kozlowski @ 2007-07-31 22:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel-janitors, Andrew Morton, romieu, netdev

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

 drivers/net/via-velocity.c | 88263 -> 88120 (-143 bytes)
 drivers/net/via-velocity.o | 254264 -> 253828 (-436 bytes)

 drivers/net/via-velocity.c |   24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

--- linux-2.6.23-rc1-mm1-a/drivers/net/via-velocity.c	2007-07-26 13:07:43.000000000 +0200
+++ linux-2.6.23-rc1-mm1-b/drivers/net/via-velocity.c	2007-07-31 13:50:28.000000000 +0200
@@ -1071,14 +1071,12 @@ static int velocity_rx_refill(struct vel

 static int velocity_init_rd_ring(struct velocity_info *vptr)
 {
-	int ret = -ENOMEM;
-	unsigned int rsize = sizeof(struct velocity_rd_info) *
-					vptr->options.numrx;
+	int ret;

-	vptr->rd_info = kmalloc(rsize, GFP_KERNEL);
-	if(vptr->rd_info == NULL)
-		goto out;
-	memset(vptr->rd_info, 0, rsize);
+	vptr->rd_info = kcalloc(vptr->options.numrx,
+				sizeof(struct velocity_rd_info), GFP_KERNEL);
+	if (!vptr->rd_info)
+		return -ENOMEM;

 	vptr->rd_filled = vptr->rd_dirty = vptr->rd_curr = 0;

@@ -1088,7 +1086,7 @@ static int velocity_init_rd_ring(struct
 			"%s: failed to allocate RX buffer.\n", vptr->dev->name);
 		velocity_free_rd_ring(vptr);
 	}
-out:
+
 	return ret;
 }

@@ -1142,21 +1140,19 @@ static int velocity_init_td_ring(struct
 	dma_addr_t curr;
 	struct tx_desc *td;
 	struct velocity_td_info *td_info;
-	unsigned int tsize = sizeof(struct velocity_td_info) *
-					vptr->options.numtx;

 	/* Init the TD ring entries */
 	for (j = 0; j < vptr->num_txq; j++) {
 		curr = vptr->td_pool_dma[j];

-		vptr->td_infos[j] = kmalloc(tsize, GFP_KERNEL);
-		if(vptr->td_infos[j] == NULL)
-		{
+		vptr->td_infos[j] = kcalloc(vptr->options.numtx,
+					    sizeof(struct velocity_td_info),
+					    GFP_KERNEL);
+		if (!vptr->td_infos[j])	{
 			while(--j >= 0)
 				kfree(vptr->td_infos[j]);
 			return -ENOMEM;
 		}
-		memset(vptr->td_infos[j], 0, tsize);

 		for (i = 0; i < vptr->options.numtx; i++, curr += sizeof(struct tx_desc)) {
 			td = &(vptr->td_rings[j][i]);

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 76] drivers/net/via-velocity.c: mostly kmalloc + memset conversion to kcalloc
  2007-07-31 22:11 ` [PATCH 76] drivers/net/via-velocity.c: mostly " Mariusz Kozlowski
@ 2007-07-31 22:32   ` Francois Romieu
  2007-08-07 21:57   ` Jeff Garzik
  1 sibling, 0 replies; 18+ messages in thread
From: Francois Romieu @ 2007-07-31 22:32 UTC (permalink / raw)
  To: Mariusz Kozlowski; +Cc: linux-kernel, kernel-janitors, Andrew Morton, netdev

Mariusz Kozlowski <m.kozlowski@tuxland.pl> :
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> 
>  drivers/net/via-velocity.c | 88263 -> 88120 (-143 bytes)
>  drivers/net/via-velocity.o | 254264 -> 253828 (-436 bytes)
> 
>  drivers/net/via-velocity.c |   24 ++++++++++--------------
>  1 file changed, 10 insertions(+), 14 deletions(-)

Acked-by: Francois Romieu <romieu@fr.zoreil.com>

-- 
Ueimor

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 66] net/ipv4/raw.c: kmalloc + memset conversion to kzalloc
  2007-07-31 21:54 ` [PATCH 66] net/ipv4/raw.c: " Mariusz Kozlowski
@ 2007-08-02  4:54   ` David Miller
  0 siblings, 0 replies; 18+ messages in thread
From: David Miller @ 2007-08-02  4:54 UTC (permalink / raw)
  To: m.kozlowski; +Cc: linux-kernel, kernel-janitors, akpm, netdev

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Tue, 31 Jul 2007 23:54:00 +0200

> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

Applied.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc
  2007-07-31 21:55 ` [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc Mariusz Kozlowski
@ 2007-08-02  4:54   ` David Miller
  0 siblings, 0 replies; 18+ messages in thread
From: David Miller @ 2007-08-02  4:54 UTC (permalink / raw)
  To: m.kozlowski; +Cc: linux-kernel, kernel-janitors, akpm, netdev

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Tue, 31 Jul 2007 23:55:02 +0200

> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>

Applied.

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 68] drivers/net/s2io.c: kmalloc + memset conversion to k[cz]alloc
  2007-07-31 21:56 ` [PATCH 68] drivers/net/s2io.c: " Mariusz Kozlowski
@ 2007-08-07 21:57   ` Jeff Garzik
  2007-08-08 16:16     ` Ramkrishna Vepa
  0 siblings, 1 reply; 18+ messages in thread
From: Jeff Garzik @ 2007-08-07 21:57 UTC (permalink / raw)
  To: Mariusz Kozlowski; +Cc: linux-kernel, kernel-janitors, Andrew Morton, netdev

Mariusz Kozlowski wrote:
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> 
>  drivers/net/s2io.c | 235587 -> 235340 (-247 bytes)
>  drivers/net/s2io.o | 460768 -> 460120 (-648 bytes)
> 
>  drivers/net/s2io.c |   14 +++++---------
>  1 file changed, 5 insertions(+), 9 deletions(-)

ACK but didn't apply, please wait 24-48 hours (so that s2io fixes go 
upstream), then rediff and resend



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc
  2007-07-31 21:58 ` [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc Mariusz Kozlowski
@ 2007-08-07 21:57   ` Jeff Garzik
  0 siblings, 0 replies; 18+ messages in thread
From: Jeff Garzik @ 2007-08-07 21:57 UTC (permalink / raw)
  To: Mariusz Kozlowski; +Cc: linux-kernel, kernel-janitors, Andrew Morton, netdev

Mariusz Kozlowski wrote:
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> 
>  drivers/net/sb1250-mac.c | 76286 -> 76199 (-87 bytes)
> 
>  drivers/net/sb1250-mac.c |    6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

applied



^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 76] drivers/net/via-velocity.c: mostly kmalloc + memset conversion to kcalloc
  2007-07-31 22:11 ` [PATCH 76] drivers/net/via-velocity.c: mostly " Mariusz Kozlowski
  2007-07-31 22:32   ` Francois Romieu
@ 2007-08-07 21:57   ` Jeff Garzik
  1 sibling, 0 replies; 18+ messages in thread
From: Jeff Garzik @ 2007-08-07 21:57 UTC (permalink / raw)
  To: Mariusz Kozlowski
  Cc: linux-kernel, kernel-janitors, Andrew Morton, romieu, netdev

Mariusz Kozlowski wrote:
> Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> 
>  drivers/net/via-velocity.c | 88263 -> 88120 (-143 bytes)
>  drivers/net/via-velocity.o | 254264 -> 253828 (-436 bytes)
> 
>  drivers/net/via-velocity.c |   24 ++++++++++--------------
>  1 file changed, 10 insertions(+), 14 deletions(-)

applied



^ permalink raw reply	[flat|nested] 18+ messages in thread

* RE: [PATCH 68] drivers/net/s2io.c: kmalloc + memset conversion to k[cz]alloc
  2007-08-07 21:57   ` Jeff Garzik
@ 2007-08-08 16:16     ` Ramkrishna Vepa
  2007-08-08 16:33       ` Jeff Garzik
  0 siblings, 1 reply; 18+ messages in thread
From: Ramkrishna Vepa @ 2007-08-08 16:16 UTC (permalink / raw)
  To: Jeff Garzik, Mariusz Kozlowski
  Cc: linux-kernel, kernel-janitors, Andrew Morton, netdev

We have a few patches queued and can send this patch in along with ours.

Ram

> -----Original Message-----
> From: netdev-owner@vger.kernel.org
[mailto:netdev-owner@vger.kernel.org]
> On Behalf Of Jeff Garzik
> Sent: Tuesday, August 07, 2007 2:58 PM
> To: Mariusz Kozlowski
> Cc: linux-kernel@vger.kernel.org; kernel-janitors@vger.kernel.org;
Andrew
> Morton; netdev@vger.kernel.org
> Subject: Re: [PATCH 68] drivers/net/s2io.c: kmalloc + memset
conversion to
> k[cz]alloc
> 
> Mariusz Kozlowski wrote:
> > Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> >
> >  drivers/net/s2io.c | 235587 -> 235340 (-247 bytes)
> >  drivers/net/s2io.o | 460768 -> 460120 (-648 bytes)
> >
> >  drivers/net/s2io.c |   14 +++++---------
> >  1 file changed, 5 insertions(+), 9 deletions(-)
> 
> ACK but didn't apply, please wait 24-48 hours (so that s2io fixes go
> upstream), then rediff and resend
> 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: [PATCH 68] drivers/net/s2io.c: kmalloc + memset conversion to k[cz]alloc
  2007-08-08 16:16     ` Ramkrishna Vepa
@ 2007-08-08 16:33       ` Jeff Garzik
  0 siblings, 0 replies; 18+ messages in thread
From: Jeff Garzik @ 2007-08-08 16:33 UTC (permalink / raw)
  To: Ramkrishna Vepa
  Cc: Mariusz Kozlowski, linux-kernel, kernel-janitors, Andrew Morton,
	netdev

Ramkrishna Vepa wrote:
> We have a few patches queued and can send this patch in along with ours.

That would be great, thanks.

	Jeff




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2007-08-08 16:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200707311845.48807.m.kozlowski@tuxland.pl>
2007-07-31 17:33 ` [PATCH 20] net/decnet/dn_route.c: kmalloc + memset conversion to kzalloc Mariusz Kozlowski
2007-07-31 21:06   ` David Miller
2007-07-31 18:16 ` [PATCH 39] net/ipv4/ip_options.c: " Mariusz Kozlowski
2007-07-31 21:07   ` David Miller
2007-07-31 21:15     ` Mariusz Kozlowski
2007-07-31 21:54 ` [PATCH 66] net/ipv4/raw.c: " Mariusz Kozlowski
2007-08-02  4:54   ` David Miller
2007-07-31 21:55 ` [PATCH 67] net/ipv4/route.c: mostly kmalloc + memset conversion to k[cz]alloc Mariusz Kozlowski
2007-08-02  4:54   ` David Miller
2007-07-31 21:56 ` [PATCH 68] drivers/net/s2io.c: " Mariusz Kozlowski
2007-08-07 21:57   ` Jeff Garzik
2007-08-08 16:16     ` Ramkrishna Vepa
2007-08-08 16:33       ` Jeff Garzik
2007-07-31 21:58 ` [PATCH 69] drivers/net/sb1250-mac.c: kmalloc + memset conversion to kcalloc Mariusz Kozlowski
2007-08-07 21:57   ` Jeff Garzik
2007-07-31 22:11 ` [PATCH 76] drivers/net/via-velocity.c: mostly " Mariusz Kozlowski
2007-07-31 22:32   ` Francois Romieu
2007-08-07 21:57   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).