mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
nomadik/nand: fix 'ecc512' discards qualifiers from pointer target type
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
9751a456f7
commit
0176c03a24
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ static inline int parity(int b) /* b is really a byte; returns 0 or ~0 */
|
|||
* HW claims to make the calculation but not the correction; so we must
|
||||
* recalculate the bytes for a comparison.
|
||||
*/
|
||||
static int ecc512(unsigned char *data, unsigned char *ecc)
|
||||
static int ecc512(const unsigned char *data, unsigned char *ecc)
|
||||
{
|
||||
int gpar = 0;
|
||||
int i, val, par;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue