lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 15 May 2015 21:24:05 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	f.fainelli@...il.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: phy: Add state machine state transitions
 debug prints

From: Florian Fainelli <f.fainelli@...il.com>
Date: Fri, 15 May 2015 14:18:42 -0700

> @@ -311,6 +311,30 @@ enum phy_state {
>  	PHY_RESUMING
>  };
>  
> +#define PHY_STATE_STR(_state)			\
> +	case PHY_##_state:			\
> +		return __stringify(_state);	\
> +
> +static inline const char *phy_state_to_str(enum phy_state st)
> +{

Please put this into drivers/net/phy/phy.c as it's the only user.

This lines up with phy_speed_to_str() etc.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ