[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200622165552.13ebc666@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 22 Jun 2020 16:55:52 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: davem@...emloft.net,
Piotr Kwapulinski <piotr.kwapulinski@...el.com>,
netdev@...r.kernel.org, nhorman@...hat.com, sassmann@...hat.com,
Aleksandr Loktionov <aleksandr.loktionov@...el.com>,
Andrew Bowers <andrewx.bowers@...el.com>
Subject: Re: [net-next 4/9] i40e: detect and log info about pre-recovery
mode
On Mon, 22 Jun 2020 15:18:12 -0700 Jeff Kirsher wrote:
> +static inline bool i40e_check_fw_empr(struct i40e_pf *pf)
> +{
> +}
> +static inline i40e_status i40e_handle_resets(struct i40e_pf *pf)
> +{
> + const i40e_status pfr = i40e_pf_loop_reset(pf);
> +
> + return is_empr ? I40E_ERR_RESET_FAILED : pfr;
> +}
There is no need to use the inline keyword in C sources. Compiler will
inline small static functions, anyway.
Same thing in patch 8.
Powered by blists - more mailing lists