On 03/17/2011 01:08 PM, Ilia Mirkin wrote:
These were found using the following semantic match: //<smpl> @@expression E1; type T;@@ * memset(E1, ... * sizeof(T) * ..., ...); //</smpl> Also take this opportunity to remove the unnecessary void* casts. Signed-off-by: Ilia Mirkin<imirkin@xxxxxxxxxxxx> --- I do not have the hardware for this, but reading the code, it makes sense that the length of the memsets is currently the second argument instead of the third. drivers/net/wireless/rtlwifi/efuse.c | 31 +++++++++++++++---------------- 1 files changed, 15 insertions(+), 16 deletions(-)
ACK and Tested-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Thanks for finding these. Larry -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html