regmap: debugfs: Don't mark lockdep as broken due to debugfs write
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 9 May 2013 13:35:49 +0000 (14:35 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 12 May 2013 15:01:39 +0000 (19:01 +0400)
A register write to hardware is reasonably unlikely to cause locking
dependency issues, the reason we're tainting is that unexpected changes
in the hardware configuration may confuse drivers.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/regmap-debugfs.c

index 975719bc345008a4d396c72b5b1e160c50b8d2a8..8772fb77e6ed3fbe2c88d9b70389c7bd7608c818 100644 (file)
@@ -281,7 +281,7 @@ static ssize_t regmap_map_write_file(struct file *file,
                return -EINVAL;
 
        /* Userspace has been fiddling around behind the kernel's back */
-       add_taint(TAINT_USER, LOCKDEP_NOW_UNRELIABLE);
+       add_taint(TAINT_USER, LOCKDEP_STILL_OK);
 
        ret = regmap_write(map, reg, value);
        if (ret < 0)
This page took 0.024968 seconds and 5 git commands to generate.