pointer_math: ALIGN is not bytes, but offsetof() and PAGE_SIZE are
commit4c9d95a3fa174cf07956435e485cb818d8509a55
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Jul 2015 11:19:07 +0000 (16 14:19 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 16 Jul 2015 11:19:07 +0000 (16 14:19 +0300)
treee2b156f8a2353810c5414b082036a3cbae0f0c0a
parentbc4b3becd4e420aa49b6ae6b4c15424ca9904e4e
pointer_math: ALIGN is not bytes, but offsetof() and PAGE_SIZE are

The ALIGN() macro is not always used to get a number of bytes, but the
offsetof() and PAGE_SIZE macros are.  I have updated the checks
accordingly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_pointer_math.c