Re: [PATCH] drivers/net/ibmveth.c: memset fix

From: Jeff Garzik
Date: Mon Aug 06 2007 - 16:44:25 EST


Brian King wrote:
Mariusz Kozlowski wrote:
Hello,

Looks like memset() is zeroing wrong nr of bytes.

Good catch, however, I think we can just remove this memset altogether
since the memory gets allocated via kzalloc.

Correct, that memset() is superfluous.

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/