Re: [PATCH 3/3] powerpc/cpm1: Mark micropatch code/data static and __init

2010-07-11 Thread Kumar Gala
On Jul 8, 2010, at 12:16 PM, Anton Vorontsov wrote: > This saves runtime memory and fixes lots of sparse warnings like this: > >CHECK arch/powerpc/sysdev/micropatch.c > arch/powerpc/sysdev/micropatch.c:27:6: warning: symbol 'patch_2000' > was not declared. Should it be static? > arch/po

[PATCH 3/3] powerpc/cpm1: Mark micropatch code/data static and __init

2010-07-08 Thread Anton Vorontsov
This saves runtime memory and fixes lots of sparse warnings like this: CHECK arch/powerpc/sysdev/micropatch.c arch/powerpc/sysdev/micropatch.c:27:6: warning: symbol 'patch_2000' was not declared. Should it be static? arch/powerpc/sysdev/micropatch.c:146:6: warning: symbol 'patch_2f00'