aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorRyusuke Konishi <[email protected]>2009-06-18 11:42:53 +0900
committerRyusuke Konishi <[email protected]>2009-07-05 10:44:19 +0900
commit0cfae3d8795f388f9de78adb0171520d19da77e9 (patch)
tree4f4e447edc025cb1f96ac27da030b8b36164865b /drivers/mtd/lpddr/lpddr_cmds.c
parent8e4a718ff38d8539938ec3421935904c27e00c39 (diff)
nilfs2: remove unlikely directive causing mis-conversion of error code
The following error code handling in nilfs_segctor_write() function wrongly converted negative error codes to a truth value (i.e. 1): err = unlikely(err) ? : res; which originaly meant to be err = err ? : res; This mis-conversion caused that write or sync functions receive the unexpected error code. This fixes the bug by removing the unlikely directive. Signed-off-by: Ryusuke Konishi <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions