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
| ||
|
Date: Fri, 12 Aug 2016 05:40:25 -0700 From: Guenter Roeck <linux@...ck-us.net> To: Keerthy <a0393675@...com>, Jean Delvare <jdelvare@...e.com> Cc: Jonathan Cameron <jic23@...nel.org>, Zhang Rui <rui.zhang@...el.com>, Eduardo Valentin <edubezval@...il.com>, Punit Agrawal <punit.agrawal@....com>, linux-pm@...r.kernel.org, linux-iio@...r.kernel.org, linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org, "linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>, "R, Vignesh" <vigneshr@...com> Subject: Re: [PATCH v3 2/9] hwmon: (core) New hwmon registration API On 08/12/2016 01:16 AM, Keerthy wrote: > On Monday 25 July 2016 09:02 AM, Guenter Roeck wrote: >> Up to now, each hwmon driver has to implement its own sysfs attributes. >> This requires a lot of template code, and distracts from the driver's core >> function to read and write chip registers. >> >> To be able to reduce driver complexity, move sensor attribute handling >> and thermal zone registration into hwmon core. By using the new API, >> driver code and data size is typically reduced by 20-70%, depending >> on driver complexity and the number of sysfs attributes supported. >> >> With this patch, the new API only supports thermal sensors. Support for >> other sensor types will be added with subsequent patches. >> > Hi Guenter, > > Seems like this patch introduces a cycling dependency between > thermal_sys and hwmon: > > DEPMOD 4.8.0-rc1-next-20160811-00001-g2f84cf7854e7 > depmod: ERROR: Found 2 modules in dependency cycles! > depmod: ERROR: Cycle detected: hwmon -> thermal_sys -> hwmon > > As reported by R, Vignesh <vigneshr@...com>. > Hmm ... interesting. Thanks for letting me know. I'll have to think about that. Guenter
Powered by blists - more mailing lists