From: Zhu Yi Date: Thu, 17 Nov 2005 05:58:30 +0000 (+0800) Subject: [PATCH] ipw2200: fix error log offset calculation X-Git-Tag: v2.6.15-rc2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b26b1100e26811e54770abaa221eae140ba840d;p=pandora-kernel.git [PATCH] ipw2200: fix error log offset calculation This fixes a slab corruption issue in the ipw2200 driver: it essentially multiplied the error log number _twice_ by the size of the error element entry (once explicitly in the code, and once implicitly as part of the regular pointer arithmetic). Cc: Henrik Brix Andersen Cc: Bernard Blackham Cc: Zilvinas Valinskas Cc: Pekka Enberg Signed-off-by: Zhu Yi Signed-off-by: Linus Torvalds -- --- Reading git-diff-tree failed