summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-10-11 05:20:58 +0200
committerNeilBrown <neilb@suse.de>2012-10-11 05:20:58 +0200
commit91502f099dfc5a1e8812898e26ee280713e1d002 (patch)
tree7e38d225da477345f674739ecf3aefec3c44307c /drivers/char/tpm
parentmd: writing to sync_action should clear the read-auto state. (diff)
downloadlinux-91502f099dfc5a1e8812898e26ee280713e1d002.tar.xz
linux-91502f099dfc5a1e8812898e26ee280713e1d002.zip
md/raid10: use correct limit variable
Clang complains that we are assigning a variable to itself. This should be using bad_sectors like the similar earlier check does. Bug has been present since 3.1-rc1. It is minor but could conceivably cause corruption or other bad behaviour. Cc: stable@vger.kernel.org Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions