Re: [PATCH-mm 15/15] ncpfs: Use get/put_unaligned_* helpers

From: Al Viro
Date: Mon Apr 14 2008 - 19:02:24 EST


On Mon, Apr 14, 2008 at 03:48:03PM -0700, Harvey Harrison wrote:
> - return le16_to_cpu(get_unaligned((__le16*)data));
> + return le16_to_cpu(get_unaligned_le16(data);

and

> - return le16_to_cpu(get_unaligned((__le16 *) ncp_reply_data(server, offset)));
> + return get_unaligned_le16(ncp_reply_data(server, offset));

Compare...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/