From: mike lee <mikelee@avantwave.com>
To: linux-mtd@lists.infradead.org
Subject: no wait queue init in cfi_cmd0002
Date: Wed, 27 Apr 2005 15:15:59 +0800 [thread overview]
Message-ID: <426F3C2F.7040503@avantwave.com> (raw)
Dear all
I have added a line to cfi_cmdset_0002.c to solve kernel oops of my mapping driver. Actually, i can not find any init wait queue in cmdset_0002, when i add it back , the problem solved. I get mess because there is no problem when i port another amdflash. Please correct me if i am wrong.
I am using unpatched linux-2.6.10
struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary)
............
for (i=0; i< cfi->numchips; i++) {
cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp;
cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp;
cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp;
init_waitqueue_head(&cfi->chips[i].wq); //line added by mike,11/apr/2005
}
best regard
Mike,Lee
reply other threads:[~2005-04-27 7:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=426F3C2F.7040503@avantwave.com \
--to=mikelee@avantwave.com \
--cc=linux-mtd@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox