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


Groups > linux.kernel > #1285865

Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms
Date 2015-12-07 20:10 +0100
Message-ID <qD9kD-bo-29@gated-at.bofh.it> (permalink)
References <qD1Gr-3oq-37@gated-at.bofh.it> <qD1Q6-3GX-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Neil Armstrong <narmstrong@baylibre.com>
Date: Mon,  7 Dec 2015 11:58:33 +0100

> -	regs_buff[12] = macb_or_gem_readl(bp, USRIO);
> +	if (!of_property_read_bool(bp->pdev->dev.of_node, "no-usrio")) {
> +		regs_buff[12] = macb_or_gem_readl(bp, USRIO);
> +	}

Single statement basic blocks shall not be enclosed in curly braces.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH net 0/2] Add a property to disable MACB USRIO register Neil Armstrong <narmstrong@baylibre.com> - 2015-12-07 12:00 +0100
  [PATCH net 1/2] net: cadence: macb: Disable USRIO register on some platforms Neil Armstrong <narmstrong@baylibre.com> - 2015-12-07 12:10 +0100
    Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on  some platforms David Miller <davem@davemloft.net> - 2015-12-07 20:10 +0100
    Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on  some platforms Josh Cartwright <joshc@ni.com> - 2015-12-07 20:40 +0100
      Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on  some platforms Neil Armstrong <narmstrong@baylibre.com> - 2015-12-08 10:30 +0100
        Re: [PATCH net 1/2] net: cadence: macb: Disable USRIO register on  some platforms Nicolas Ferre <nicolas.ferre@atmel.com> - 2015-12-08 10:40 +0100
  [PATCH v2 net-next 3/3] bindings: ethernet: macb: Add optional caps properties Neil Armstrong <narmstrong@baylibre.com> - 2015-12-08 15:00 +0100
    Re: [PATCH v2 net-next 3/3] bindings: ethernet: macb: Add optional  caps properties Rob Herring <robh@kernel.org> - 2015-12-09 05:00 +0100
  [PATCH v2 net-next 2/3] net: ethernet: cadence-macb: Add fallback to read DT provided caps Neil Armstrong <narmstrong@baylibre.com> - 2015-12-08 15:00 +0100
    Re: [PATCH v2 net-next 2/3] net: ethernet: cadence-macb: Add fallback to read DT provided caps Arnd Bergmann <arnd@arndb.de> - 2015-12-08 16:10 +0100
      Re: [PATCH v2 net-next 2/3] net: ethernet: cadence-macb: Add fallback  to read DT provided caps Nicolas Ferre <nicolas.ferre@atmel.com> - 2015-12-08 17:30 +0100
  [PATCH v2 net-next 1/3] net: ethernet: cadence-macb: Add disabled usrio caps Neil Armstrong <narmstrong@baylibre.com> - 2015-12-08 15:00 +0100
  [PATCH v2 net-next 0/3] Add new capability and parse from DT Neil Armstrong <narmstrong@baylibre.com> - 2015-12-08 15:00 +0100

csiph-web