login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
14
Re: [PATCH-mm 11/15] video: Use get/put_unaligned_* helpers
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Al Viro <viro@...>
To: Harvey Harrison <harvey.harrison@...>
Cc: Andrew Morton <akpm@...>, LKML <linux-kernel@...>
Subject:
Re: [PATCH-mm 11/15] video: Use get/put_unaligned_* helpers
Date: Monday, April 14, 2008 - 7:05 pm
On Mon, Apr 14, 2008 at 03:48:00PM -0700, Harvey Harrison wrote:
quoted text
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> > --- > drivers/video/matrox/matroxfb_misc.c | 28 ++++++++++++++-------------- > drivers/video/metronomefb.c | 9 +++------ > 2 files changed, 17 insertions(+), 20 deletions(-) > > diff --git a/drivers/video/matrox/matroxfb_misc.c b/drivers/video/matrox/matroxfb_misc.c > index ab7fb50..cfb5205 100644 > --- a/drivers/video/matrox/matroxfb_misc.c > +++ b/drivers/video/matrox/matroxfb_misc.c > @@ -522,8 +522,6 @@ static void parse_bios(unsigned char __iomem* vbios, struct matrox_bios* bd) { > #endif > } > > -#define get_u16(x) (le16_to_cpu(get_unaligned((__u16*)(x)))) > -#define get_u32(x) (le32_to_cpu(get_unaligned((__u32*)(x))))
Why not simply change definitions of those? --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH-mm 11/15] video: Use get/put_unaligned_* helpers
, Harvey Harrison
, (Mon Apr 14, 6:48 pm)
Re: [PATCH-mm 11/15] video: Use get/put_unaligned_* helpers
, Al Viro
, (Mon Apr 14, 7:05 pm)
Re: [PATCH-mm 11/15] video: Use get/put_unaligned_* helpers
, Harvey Harrison
, (Mon Apr 14, 7:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 006/196] Chinese: add translation of oops-tracing.txt
Andrew Morton
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Eric W. Biederman
[PATCH] nfs lockd reclaimer: Convert to kthread API
James Bottomley
Re: Integration of SCST in the mainstream Linux kernel
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 03/37] dccp: List management for new feature negotiation
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
1079 guests
online.
Online users
strcmp
zeekec
twittfollow1
edkitc30
Syndicate