Re: [PATCH v3 1/1] Staging: android/ion: declare function static

2017-07-18 Thread Joseph Wright
On Tue, Jul 18, 2017 at 08:58:22AM +0200, Greg KH wrote: > On Sat, Jul 15, 2017 at 11:43:05AM +, Joseph Wright wrote: > > Declare private function static to fix sparse warning: > > > > ion_cma_heap.c:109:5: warning: symbol '__ion_add_cma_heaps' \ > > was not declared. Should it be static?

Re: [PATCH v3 1/1] Staging: android/ion: declare function static

2017-07-17 Thread Greg KH
On Sat, Jul 15, 2017 at 11:43:05AM +, Joseph Wright wrote: > Declare private function static to fix sparse warning: > > ion_cma_heap.c:109:5: warning: symbol '__ion_add_cma_heaps' \ > was not declared. Should it be static? > > Signed-off-by: Joseph Wright > --- > Changes in v3: > - M

[PATCH v3 1/1] Staging: android/ion: declare function static

2017-07-17 Thread Joseph Wright
Declare private function static to fix sparse warning: ion_cma_heap.c:109:5: warning: symbol '__ion_add_cma_heaps' \ was not declared. Should it be static? Signed-off-by: Joseph Wright --- Changes in v3: - Make subject clearer drivers/staging/android/ion/ion_cma_heap.c | 2 +- 1 file