Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1535928

Re: [patch net v2] net: fec: fix compile with CONFIG_M5272

From Geert Uytterhoeven <geert@linux-m68k.org>
Newsgroups linux.kernel
Subject Re: [patch net v2] net: fec: fix compile with CONFIG_M5272
Date 2016-12-05 10:30 +0100
Message-ID <sKXKV-2Ja-1@gated-at.bofh.it> (permalink)
References <sKWFc-25l-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 5, 2016 at 9: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>

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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