Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx> --- fs/partitions/acorn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c index 3d3e166..cf4c1be 100644 --- a/fs/partitions/acorn.c +++ b/fs/partitions/acorn.c @@ -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; } -- 1.5.6.rc0.277.g804cf -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html