Thread (51 messages) 51 messages, 7 authors, 2014-10-26

Re: [PATCH 06/14] net: dsa: Add support for hardware monitoring

From: Guenter Roeck <linux@roeck-us.net>
Date: 2014-10-25 03:53:09
Also in: lkml

On 10/23/2014 12:55 PM, Andrew Lunn wrote:
[ ... ]
Does hwmon offer a function to sanitise a string?
No, that wasn't necessary so far. The 'name' string is a constant string
provided by the driver.
The switch index definitely should be used and i would probably
combine that with a sanitised version of the ethernet device name and
"dsa".
How is this ?

em1dsa0-isa-0000
Adapter: ISA adapter
temp1:        +38.0°C  (high = +100.0°C)

This is the sanitized network device name + 'dsa' + index.

Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help