From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbbC1WoW (ORCPT ); Sat, 28 Mar 2015 18:44:22 -0400 Received: from lb1-smtp-cloud6.xs4all.net ([194.109.24.24]:59818 "EHLO lb1-smtp-cloud6.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752283AbbC1WoT (ORCPT ); Sat, 28 Mar 2015 18:44:19 -0400 Message-ID: <1427582640.3377.0.camel@tiscali.nl> Subject: Re: [PATCH 2/2] hwmon: Allow to compile dell-smm-hwmon driver without /proc/i8k From: Paul Bolle To: Guenter Roeck Cc: Pali =?ISO-8859-1?Q?Roh=E1r?= , Steven Honeyman , Arnd Bergmann , Greg Kroah-Hartman , Jean Delvare , Valdis Kletnieks , Jochen Eisinger , Gabriele Mazzotta , linux-kernel@vger.kernel.org, lm-sensors@lm-sensors.org Date: Sat, 28 Mar 2015 23:44:00 +0100 In-Reply-To: <55172939.4070100@roeck-us.net> References: <1427538255-10860-1-git-send-email-pali.rohar@gmail.com> <1427540660.2334.14.camel@x220> <201503282300.48749@pali> <55172939.4070100@roeck-us.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 (3.12.11-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Guenter Roeck schreef op za 28-03-2015 om 15:20 [-0700]: > Maybe that is the plan, but it is not what is happening. > I8K selects SENSORS_DELL_SMM, so a boolean I8K forces SENSORS_DELL_SMM > to be built into the kernel. > > What you suggest would work if I8K would depend on SENSORS_DELL_SMM, > but then the symbols would not be backward-compatible. I haven't actually looked into this part of the patch, since as far as I'm concerned this patch is broken. Having said that, if using a second Kconfig symbol is worth the effort, perhaps there's also enough reason to break Kconfig backward compatibility. People shouldn't alter Kconfig symbols just because they can, but as far as I'm aware we're on the record to not guarantee backward compatibility for Kconfig symbols. Paul Bolle