Re: [PATCH] regmap: Add a config option for making regmap debugfs writable

From: Mark Brown
Date: Tue Oct 13 2015 - 13:55:32 EST


On Tue, Oct 13, 2015 at 10:46:55AM -0700, Anatol Pomozov wrote:
> Instead of modifiying source code directly one should use config files.
> It is the standard way to set compile-time options.

This is deliberately not a Kconfig option because it is a terrible idea
to do this in production and making it either selectable or the default
is an invitation to abuse. We want to place a barrier here so that
users know that this is something that they have taken a decision to
enable, not something that is in any way supported (this is also why we
taint the kernel when people do write).

Attachment: signature.asc
Description: PGP signature