Re: [PATCH] habanalabs: make some functions static

2023-02-17 Thread Stanislaw Gruszka
On Fri, Feb 17, 2023 at 09:48:14AM +0100, Stanislaw Gruszka wrote: > On Fri, Feb 17, 2023 at 02:26:26PM +0800, Jiapeng Chong wrote: > > These functions are not used outside the file device.c, so the > > modification is defined as static. > > > > drivers/accel/habanalabs/common/device.c:2641:6:

Re: [PATCH] habanalabs: make some functions static

2023-02-17 Thread Stanislaw Gruszka
On Fri, Feb 17, 2023 at 02:26:26PM +0800, Jiapeng Chong wrote: > These functions are not used outside the file device.c, so the > modification is defined as static. > > drivers/accel/habanalabs/common/device.c:2641:6: warning: no previous > prototype for ‘hl_capture_fw_err’. >

[PATCH] habanalabs: make some functions static

2023-02-16 Thread Jiapeng Chong
These functions are not used outside the file device.c, so the modification is defined as static. drivers/accel/habanalabs/common/device.c:2641:6: warning: no previous prototype for ‘hl_capture_fw_err’. drivers/accel/habanalabs/common/device.c:2619:6: warning: no previous prototype for