]> git.karo-electronics.de Git - linux-beck.git/commit
[MTD] [OneNAND] Use the u_char instead of char in oobbuf
authorSheng Yongjie (Sam <samsheng@trident.com.cn>
Thu, 13 Dec 2007 02:47:33 +0000 (11:47 +0900)
committerKyungmin Park <kyungmin.park@samsung.com>
Tue, 29 Jan 2008 08:13:24 +0000 (17:13 +0900)
commit978cb38a296fceac82a8a757f6387d7ef2a21ac6
tree1cb2c2f8fb042f864c0f903f5d1bbaf984fca65e
parentb2581be291aa8595eadf3d6933d04d0f1d01b46d
[MTD] [OneNAND] Use the u_char instead of char in oobbuf

In function onenand_verify_oob, local variable oobbuf shall be unsigned char.

In the case of a value is >= 0x80, it's unequal in comparing the value in an unsigned char and signed char.

Signed-off-by: Sheng Yongjie (Sam) <samsheng@trident.com.cn>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
drivers/mtd/onenand/onenand_base.c