[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171101171708.GA24320@lunn.ch>
Date: Wed, 1 Nov 2017 18:17:08 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Thomas Falcon <tlfalcon@...ux.vnet.ibm.com>
Cc: Desnes Augusto Nunes do Rosario <desnesn@...ux.vnet.ibm.com>,
netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
nfont@...ux.vnet.ibm.com, jallen@...ux.vnet.ibm.com
Subject: Re: [PATCH FEAT] ibmvnic: Feature implementation of Vital Product
Data (VPD) for the ibmvnic driver
> > diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
> > index d0cff28..120f3c0 100644
> > --- a/drivers/net/ethernet/ibm/ibmvnic.c
> > +++ b/drivers/net/ethernet/ibm/ibmvnic.c
> > @@ -107,6 +107,9 @@ static union sub_crq *ibmvnic_next_scrq(struct ibmvnic_adapter *,
> > struct ibmvnic_sub_crq_queue *);
> > static int ibmvnic_poll(struct napi_struct *napi, int data);
> > static void send_map_query(struct ibmvnic_adapter *adapter);
> > +static int ibmvnic_get_vpd(struct ibmvnic_adapter *);
> > +static void handle_vpd_size_rsp(union ibmvnic_crq *, struct ibmvnic_adapter *);
> > +static void handle_vpd_rsp(union ibmvnic_crq *,struct ibmvnic_adapter *);
>
> There should be a space after the comma.
And you should try to avoid forward declarations. Move the code around
so they are not needed.
Andrew
Powered by blists - more mailing lists