From: Dan Carpenter Date: Mon, 1 Jun 2015 09:55:37 +0000 (+0300) Subject: w1: fix for loop exit condition in w1_seq_show() X-Git-Tag: omap-for-v4.2/fixes-rc1^2~94^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a14ef24b07b63669d58c16d836ddbadcce3e7ad0;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed