[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150820.150102.1875344338034277595.davem@davemloft.net>
Date: Thu, 20 Aug 2015 15:01:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: anjali.singhai@...el.com, netdev@...r.kernel.org,
nhorman@...hat.com, sassmann@...hat.com, jogreene@...hat.com
Subject: Re: [net-next 04/16] i40e/i40evf: Move helper functions to a
header file
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Wed, 19 Aug 2015 17:57:54 -0700
> +inline int i40e_allocate_dma_mem_d(struct i40e_hw *hw,
> + struct i40e_dma_mem *mem,
> + u64 size, u32 alignment)
> +{
All of these should be "static inline" otherwise GCC is going to emit
a copy every time you include this header file, even if it inlines all
of the call sites visible to it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists