From: Brian Norris Date: Tue, 22 Jul 2014 02:07:31 +0000 (-0700) Subject: mtd: nand: denali: set proper error code on timeout X-Git-Tag: fixes-against-v3.18-rc2~54^2~33^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c115add9d073752d38f6517882dfeafe76fc4458;p=pandora-kernel.git mtd: nand: denali: set proper error code on timeout The condition "if (irq_status == 0)" already ensures that one half of the ternary ?: is dead. I think this should probably actually be a FAIL, not a PASS. Caught by Coverity. Signed-off-by: Brian Norris Cc: Jamie Iles --- Reading git-diff-tree failed