Re: PATCH] firewire: add padding to some struct
From: Stefan Richter
Date: Fri Jul 18 2008 - 08:00:21 EST
Stefan Richter wrote:
I don't understand what the problem is. As long as both kernel and
library use "response.data" or "&response + offsetof(typeof(response),
data)", they will write and read at the correct location.
PS, of course the math of the latter should look more like
(char *)&response + offsetof(...)
--
Stefan Richter
-=====-==--- -=== =--=-
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/