Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge remote-tracking branch 'regmap/topic/debugfs' into regmap-next

+2 -2
+2 -2
drivers/base/regmap/regmap-debugfs.c
··· 149 149 reg_offset = fpos_offset / map->debugfs_tot_len; 150 150 *pos = c->min + (reg_offset * map->debugfs_tot_len); 151 151 mutex_unlock(&map->cache_lock); 152 - return c->base_reg + reg_offset; 152 + return c->base_reg + (reg_offset * map->reg_stride); 153 153 } 154 154 155 155 *pos = c->max; ··· 285 285 return -EINVAL; 286 286 287 287 /* Userspace has been fiddling around behind the kernel's back */ 288 - add_taint(TAINT_USER, LOCKDEP_NOW_UNRELIABLE); 288 + add_taint(TAINT_USER, LOCKDEP_STILL_OK); 289 289 290 290 ret = regmap_write(map, reg, value); 291 291 if (ret < 0)