Thread (25 messages) flat view 25 messages, 9 authors, 2014-01-17

Re: [PATCH 4/11] use ether_addr_equal_64bits

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2013-12-30 21:25:33
Also in: kernel-janitors, linux-wireless, lkml

On Mon, 2013-12-30 at 20:58 +0100, Julia Lawall wrote:
quoted
Is there any way we could catch (sparse, or some other script?) that
struct reorganising won't break the condition needed ("within a
structure that contains at least two more bytes")?
What kind of reorganizing could happen?  Do you mean that the programmer 
might do at some time in the future, or something the compiler might do?
I'm just thinking of a programmer, e.g. changing a struct like this:

 struct foo {
   u8 addr[ETH_ALEN];
-  u16 dummy;
 };

for example.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help