Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390693
| From | Fabio Estevam <festevam@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 1/3] PCI: imx6: Use enum instead of bool for variant indicator |
| Date | 2016-04-29 03:50 +0200 |
| Message-ID | <rt5J8-5ZA-11@gated-at.bofh.it> (permalink) |
| References | <rq2y6-1Fp-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 20, 2016 at 12:45 PM, Andrey Smirnov <andrew.smirnov@gmail.com> wrote: > Use enumerated type instead of a boolean flag to specify the variant of > the PCIe IP block (6Q, 6SX, etc). This patch has zero functional impact, > however it makes the code easier to extend for the case of more than 2 > possible variants of an IP block (of which there are). > > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v3 1/3] PCI: imx6: Use enum instead of bool for variant indicator Fabio Estevam <festevam@gmail.com> - 2016-04-29 03:50 +0200
csiph-web