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

From: Jeff Garzik
Date: Tue Aug 07 2007 - 18:00:38 EST


Mariusz Kozlowski wrote:
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.

Ok. Then this should do it.

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

drivers/net/ibmveth.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

applied


-
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/