From: Colin Ian King Date: Tue, 11 Feb 2014 09:38:53 +0000 (+0000) Subject: mfd: omap-usb-tll: Fix cppcheck sizeof warning X-Git-Tag: v3.15-rc1~64^2~88^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39a85bcbfc54d602934e2657c146c299d71b27ba;p=pandora-kernel.git mfd: omap-usb-tll: Fix cppcheck sizeof warning Static analysis from cppcheck issued the following warning: [drivers/mfd/omap-usb-tll.c:255]: (warning) Found calculation inside sizeof(). The current size calculation is not obvious and is easy to miscomprehend, so re-work the size of the allocation based on the size of the struct pointer and quantity to allocate. Signed-off-by: Colin Ian King Signed-off-by: Lee Jones --- Reading git-diff-tree failed