All of lore.kernel.org
 help / color / mirror / Atom feed
From: j.neuschaefer@gmx.net (Jonathan Neuschäfer)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Kernel freeze when writing e1000 driver
Date: Tue, 26 Feb 2013 17:49:10 +0100	[thread overview]
Message-ID: <20130226164910.GA3231@debian.debian> (raw)
In-Reply-To: <CANSQQCKRf_m309juTFHpjQ6yeBSbf_hzP_D5m2XyQhUpc=qJrw@mail.gmail.com>

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

  reply	other threads:[~2013-02-26 16:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26 16:19 Kernel freeze when writing e1000 driver Phani Vadrevu
2013-02-26 16:49 ` Jonathan Neuschäfer [this message]
2013-02-26 17:01 ` Valdis.Kletnieks at vt.edu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130226164910.GA3231@debian.debian \
    --to=j.neuschaefer@gmx.net \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.