lkml.org 
[lkml]   [2008]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] [net/irda]: Fix a misalign access issue.
From
From: "Yang, Graf" <Graf.Yang@analog.com>
Date: Tue, 13 May 2008 12:07:35 +0800

> I have tried
> struct irda_device_info {
> __u32 saddr; /* Address of local interface */
> __u32 daddr; /* Address of remote device */
> char info[22]; /* Description */
> __u8 charset; /* Charset used for description */
> __u8 reserve; /* For align data */
> __u8 hints[2]; /* Hint bits */
> };
>
> It works with my irda driver. Can I modify it like this?

This header file and the irda_device_info datastructure are exported
to, and used by, userspace.

Therefore you cannot change this structure's layout without breaking
every single existing IRDA binary out there.


\
 
 \ /
  Last update: 2008-05-13 06:17    [W:0.045 / U:0.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site