[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dd24d0ecc84e4576bfde16d80d971f88@AcuMS.aculab.com>
Date: Tue, 5 Apr 2022 08:20:09 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Guenter Roeck' <linux@...ck-us.net>, Tom Rix <trix@...hat.com>,
"Michael Walle" <michael@...le.cc>, Xu Yilun <yilun.xu@...el.com>,
Jean Delvare <jdelvare@...e.com>, Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
CC: "linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: [PATCH v3 1/2] hwmon: introduce hwmon_sanitize_name()
From: Guenter Roeck
> Sent: 05 April 2022 00:31
...
> >> /**
> >> * hwmon_is_bad_char - Is the char invalid in a hwmon name
> >
> > This still needed in *.h ?
> >
>
> Yes, because it is used by out-of-tree drivers. We can only move
> that into hwmon.c after all users are gone.
And drivers might want to 'sanitize' a copy of the name without
reallocating it.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists