On 01/12/2015 03:45 PM, Hänel-Baas, Alexander wrote:
> I have found my problem: there was a pragma pack(push(1)) without a
> corresponding pack().

This looks wrong in the kernel. Make use of __packed:

struct foo {
        u8 bar;
        u16 baz;
        u8 qux;
 } __packed;

P.S.: Using floating point in the kernel still doesn't work.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
ptxdist mailing list
[email protected]

Reply via email to