lkml.org 
[lkml]   [2008]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH-mm 15/15] ncpfs: Use get/put_unaligned_* helpers
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...


\
 
 \ /
  Last update: 2008-04-15 01:05    [W:0.027 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site