[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <90A7E81AE28BAE4CBDDB3B35F187D2644071E336@CHN-SV-EXMX02.mchp-main.com>
Date: Mon, 26 Feb 2018 17:35:29 +0000
From: <Bryan.Whitehead@...rochip.com>
To: <andrew@...n.ch>
CC: <f.fainelli@...il.com>, <davem@...emloft.net>,
<UNGLinuxDriver@...rochip.com>, <netdev@...r.kernel.org>
Subject: RE: [PATCH v2 net-next 1/2] lan743x: Add main source files for new
lan743x driver
> Hi Bryan
>
> It is good to look at other drivers and see how they work. Ideally, your driver
> wants to look similar to all other drivers, so making the maintenance easier.
>
> You will find that most drivers have a set of goto statements for error
> handling, which jump to the end of the function, and do cleanup.
> No flags are maintained.
>
> Andrew
Thanks Andrew,
I understand now, I'll work on it.
Bryan
Powered by blists - more mailing lists