commit | 39a85bcbfc54d602934e2657c146c299d71b27ba | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Feb 11 09:38:53 2014 +0000 |
committer | Lee Jones <lee.jones@linaro.org> | Thu Mar 13 22:21:48 2014 +0000 |
tree | ae7c658afbc7ec6a6f0a840c01d47c2ccc244df2 | |
parent | 0414855fdc4a40da05221fc6062cccbc0c30f169 [diff] |
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 <colin.king@canonical.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>