Kernel freeze when writing e1000 driver

Jonathan Neuschäfer j.neuschaefer at gmx.net
Tue Feb 26 11:49:10 EST 2013


On Tue, Feb 26, 2013 at 11:19:18AM -0500, Phani Vadrevu wrote:
>              unsigned char t[] =
> {0x52,0x54,0x00,0x12,0x34,0x56,0x52,0x55,0x0a,0x00,0x02,0x02,0x08,0x00,0x45,0x00,0x00,0x2c,0x00,0x1c,0x00,0x00,0x40,0x06,0x62,0xa0,0x0a,0x00,0x02,0x02,0x0a,0x00,0x02,0x0f,0xc6,0x1a,0x1e,0xdb,0x4c,0x81,0x18,0x01,0x00,0x00,0x00,0x00,0x60,0x02,0x22,0x38,0x14,0x66,0x00,0x00,0x02,0x04,0x05,0xb4};
>             int len = 58;

Although it won't solve the problem at hand, I suggest using "sizeof"
here.


Thanks,
Jonathan Neuschäfer



More information about the Kernelnewbies mailing list