On Wed, Oct 09, 2019 at 09:03:37PM +0800, zhengbin wrote: > -int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len) > +static int > +sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len) Either declaration style is fine, but keep it consistent within the file. Here the style should be: static int sram_write_dma_safe(struct wfx_dev *wdev, u32 addr, const u8 *buf, size_t len) regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel