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
| ||
|
Message-ID: <b0930582-7528-bda9-214b-c6df8619c1a4@roeck-us.net> Date: Fri, 12 Apr 2019 06:47:21 -0700 From: Guenter Roeck <linux@...ck-us.net> To: Stefan Wahren <stefan.wahren@...e.com>, "Enrico Weigelt, metux IT consult" <lkml@...ux.net>, Kamil Debski <kamil@...as.org>, Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>, Jean Delvare <jdelvare@...e.com>, Rob Herring <robh+dt@...nel.org>, Mark Rutland <mark.rutland@....com>, Robin Murphy <robin.murphy@....com> Cc: linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH V5 3/3] hwmon: pwm-fan: Add RPM support via external interrupt On 4/12/19 6:35 AM, Stefan Wahren wrote: > Hi Enrico, > > On 12.04.19 15:15, Enrico Weigelt, metux IT consult wrote: >> On 11.04.19 15:30, Stefan Wahren wrote: >>> This adds RPM support to the pwm-fan driver in order to use with >>> fancontrol/pwmconfig. This feature is intended for fans with a tachometer >>> output signal, which generate a defined number of pulses per revolution. >> Wouldn't it be better to have a CONFIG_* flag for keeping the kernel >> image size smaller when this feature isn't needed ? > > i compared the kernel module size in linux-next for ARM without and with > this patch: > without patch: 12088 bytes > with patch: 14292 bytes > > I don't think it is worth the trouble. > Agreed. This would end up being a mess, with lots of configuration options in various drivers. Please don't start it. Guenter
Powered by blists - more mailing lists