From: Michal Schmidt Date: Mon, 1 Jul 2013 15:23:05 +0000 (+0200) Subject: bnx2x: remove zeroing of dump data buffer X-Git-Tag: v3.11-rc1~64^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=058eec4116935c5640299913e1e0715e87ec622a;p=pandora-kernel.git bnx2x: remove zeroing of dump data buffer There is no need to initialize the dump data with zeros. data is allocated with vzalloc, so it's already zero-filled. More importantly, the memset is harmful, because dump->len (the length requested by userspace) can be bigger than the allocated buffer (whose size is determined by asking the driver's .get_dump_flag method). Signed-off-by: Michal Schmidt Signed-off-by: David S. Miller --- Reading git-diff-tree failed