]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/page_alloc.c: add additional checking and return value for the 'table->data'
authorChen Gang <gang.chen@asianux.com>
Fri, 7 Jun 2013 00:07:53 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:42:14 +0000 (15:42 +1000)
commite746dca13c744ae06d72b1773115a9baaef04e03
treef9630e2bbde4f7f6b9af8743ac31c978a92d445c
parentfce0908c7e8562b0e1caf35c76cc8713eb69935b
mm/page_alloc.c: add additional checking and return value for the 'table->data'

- check the length of the procfs data before copying it into a fixed
  size array.

- when __parse_numa_zonelist_order() fails, save the error code for
  return.

- 'char*' --> 'char *' coding style fix

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_alloc.c