mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-12 03:26:26 +00:00
ice: use proper format for function pointer as a function parameter
Compiling with gcc-9.2.1 with W=1 points out warnings about the improper function parameter list. Fix it. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
4e83fc934e
commit
e0708aa8a5
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ ice_alloc_buf_slow_zc(struct ice_ring *rx_ring, struct ice_rx_buf *rx_buf)
|
|||
*/
|
||||
static bool
|
||||
ice_alloc_rx_bufs_zc(struct ice_ring *rx_ring, int count,
|
||||
bool alloc(struct ice_ring *, struct ice_rx_buf *))
|
||||
bool (*alloc)(struct ice_ring *, struct ice_rx_buf *))
|
||||
{
|
||||
union ice_32b_rx_flex_desc *rx_desc;
|
||||
u16 ntu = rx_ring->next_to_use;
|
||||
|
|
Loading…
Reference in a new issue