[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20141001.152452.1973501659924138094.davem@davemloft.net>
Date: Wed, 01 Oct 2014 15:24:52 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: thierry.reding@...il.com
Cc: f.fainelli@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: dsa: Fix build warning for !PM_SLEEP
From: Thierry Reding <thierry.reding@...il.com>
Date: Wed, 1 Oct 2014 13:59:00 +0200
> From: Thierry Reding <treding@...dia.com>
>
> The dsa_switch_suspend() and dsa_switch_resume() functions are only used
> when PM_SLEEP is enabled, so they need #ifdef CONFIG_PM_SLEEP protection
> to avoid a compiler warning.
>
> Signed-off-by: Thierry Reding <treding@...dia.com>
Applied.
Please, in the future, explicitly indicate what tree your changes
are against. Through trial and error I figured out that this could
only apply to net-next, but that's not a good use of my time.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists