login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
19
Re: [PATCH 1/1] i2c: align i2c_device_id
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Sam Ravnborg <sam@...>
To: Jiri Slaby <jirislaby@...>
Cc: <khali@...>, <i2c@...>, <linux-kernel@...>
Subject:
Re: [PATCH 1/1] i2c: align i2c_device_id
Date: Monday, May 19, 2008 - 9:40 am
On Mon, May 19, 2008 at 03:18:44PM +0200, Jiri Slaby wrote:
quoted text
> Align i2c_device_id.driver_data to 8 bytes to not fail on crossbuilds. > > (Added in d2653e92732bd3911feff6bee5e23dbf959381db.) > > Signed-off-by: Jiri Slaby <jirislaby@gmail.com> > Cc: Jean Delvare <khali@linux-fr.org> > --- > include/linux/mod_devicetable.h | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h > index a37db57..1fd03e7 100644 > --- a/include/linux/mod_devicetable.h > +++ b/include/linux/mod_devicetable.h > @@ -384,7 +384,8 @@ struct virtio_device_id { > > struct i2c_device_id { > char name[I2C_NAME_SIZE]; > - kernel_ulong_t driver_data; /* Data private to the driver */ > + kernel_ulong_t driver_data /* Data private to the driver */ > + __attribute__((aligned(sizeof(kernel_ulong_t)))); > };
Thanks Jiri. Sam --
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 1/1] i2c: align i2c_device_id
, Jiri Slaby
, (Mon May 19, 9:18 am)
Re: [PATCH 1/1] i2c: align i2c_device_id
, Jean Delvare
, (Mon May 19, 3:00 pm)
Re: [PATCH 1/1] i2c: align i2c_device_id
, Jiri Slaby
, (Mon May 19, 3:20 pm)
Re: [i2c] [PATCH 1/1] i2c: align i2c_device_id
, Trent Piepho
, (Tue May 20, 12:25 am)
Re: [PATCH 1/1] i2c: align i2c_device_id
, Sam Ravnborg
, (Mon May 19, 9:40 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Alan Cox
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andrew Morton
2.6.23-rc6-mm1
jjohansen
[AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Linus Torvalds
Re: [GIT]: Networking
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
641 guests
online.
Syndicate