[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171219.141644.1574828912135603880.davem@davemloft.net>
Date: Tue, 19 Dec 2017 14:16:44 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: lipeng321@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, salil.mehta@...wei.com
Subject: Re: [PATCH V2 net-next 01/17] net: hns3: add support to query tqps
number
From: Lipeng <lipeng321@...wei.com>
Date: Tue, 19 Dec 2017 12:02:23 +0800
> @@ -5002,6 +5002,26 @@ static void hclge_uninit_ae_dev(struct hnae3_ae_dev *ae_dev)
> ae_dev->priv = NULL;
> }
>
> +static u32 hclge_get_max_channels(struct hnae3_handle *handle)
> +{
> + struct hclge_vport *vport = hclge_get_vport(handle);
> + struct hnae3_knic_private_info *kinfo = &handle->kinfo;
> + struct hclge_dev *hdev = vport->back;
> +
Please order local variables from longest to shortest line.
Please audit your entire submission for this problem.
Powered by blists - more mailing lists