acorn: use get/put_endian helpers
PATCH 30/37 acorn: use get/put_endian helpers
Signed-off-by Harvey Harrison <[email protected]>
--- fs/partitions/acorn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/partitions/acorn.c +1 -1
@@ -344,7 +344,7 @@ static inline int valid_ics_sector(const unsigned char *data)for (i =0 , sum =0x50617274 ; i <508 ; i++) sum += data[i]; - sum -=le32_to_cpu (*(__le32 *)(&data[508 ])); + sum -=get_le32 ((__le32 *)&data[508 ]);return sum ==0 ; }
Signature · 1 line
1.5.6.rc0.277.g804cf