diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-06-01 12:55:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-13 02:58:33 +0300 |
commit | a14ef24b07b63669d58c16d836ddbadcce3e7ad0 (patch) | |
tree | a9f2d35e6f48f9d75b02cfe1718666fba98dce17 /drivers/nubus | |
parent | fc368ea1ea00c9418d6f2c25cd4c0869f1a16d5f (diff) | |
download | linux-a14ef24b07b63669d58c16d836ddbadcce3e7ad0.tar.xz |
w1: fix for loop exit condition in w1_seq_show()
The W1_42_FINISHED_BYTE is 0xFF so the cast means the condition is
never true.
Fixes: d9411e57dc7f ('w1: Add support for DS28EA00 sequence to w1-therm')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions