From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: Re: [PATH RFC net-next 8/8] net: phy: Add build warning if assumptions get broken Date: Sat, 15 Sep 2018 14:31:43 -0700 Message-ID: <8a5d02d4-bb05-18ea-5776-d461b4cc3192@gmail.com> References: <1536961136-30453-1-git-send-email-andrew@lunn.ch> <1536961136-30453-9-git-send-email-andrew@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Andrew Lunn , netdev Return-path: Received: from mail-pg1-f194.google.com ([209.85.215.194]:33442 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727302AbeIPCwL (ORCPT ); Sat, 15 Sep 2018 22:52:11 -0400 Received: by mail-pg1-f194.google.com with SMTP id s7-v6so5948281pgc.0 for ; Sat, 15 Sep 2018 14:31:46 -0700 (PDT) In-Reply-To: <1536961136-30453-9-git-send-email-andrew@lunn.ch> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 09/14/18 14:38, Andrew Lunn wrote: > The macro magic to build constant bitmaps of supported PHY features > breaks when we have more than 63 ETHTOOL_LINK_MODE bits. Make the > breakage loud, not a subtle bug, when we get to that condition. > > Signed-off-by: Andrew Lunn Reviewed-by: Florian Fainelli -- Florian