Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1535953
| From | Fabio Estevam <festevam@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 |
| Date | 2016-12-05 11:10 +0100 |
| Message-ID | <sKYnD-3bM-5@gated-at.bofh.it> (permalink) |
| References | <sKWFc-25l-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Dec 5, 2016 at 6:16 AM, Nikita Yushchenko
<nikita.yoush@cogentembedded.com> wrote:
> Commit 4dfb80d18d05 ("net: fec: cache statistics while device is down")
> introduced unconditional statistics-related actions.
>
> However, when driver is compiled with CONFIG_M5272, staticsics-related
> definitions do not exist, which results into build errors.
>
> Fix that by adding explicit handling of !defined(CONFIG_M5272) case.
>
> Fixes: 4dfb80d18d05 ("net: fec: cache statistics while device is down")
> Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Looks better now:
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[patch net v2] net: fec: fix compile with CONFIG_M5272 Nikita Yushchenko <nikita.yoush@cogentembedded.com> - 2016-12-05 09:20 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 Geert Uytterhoeven <geert@linux-m68k.org> - 2016-12-05 10:30 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 Fabio Estevam <festevam@gmail.com> - 2016-12-05 11:10 +0100
RE: [patch net v2] net: fec: fix compile with CONFIG_M5272 Andy Duan <fugang.duan@nxp.com> - 2016-12-05 12:00 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 kbuild test robot <lkp@intel.com> - 2016-12-05 14:20 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 Nikita Yushchenko <nikita.yoush@cogentembedded.com> - 2016-12-05 15:10 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 Nikita Yushchenko <nikita.yoush@cogentembedded.com> - 2016-12-05 15:10 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 David Miller <davem@davemloft.net> - 2016-12-05 18:20 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 Nikita Yushchenko <nikita.yoush@cogentembedded.com> - 2016-12-05 18:30 +0100
Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 David Miller <davem@davemloft.net> - 2016-12-05 18:30 +0100
csiph-web