From: David Woodhouse <dwmw2@infradead.org>
To: Jesper Juhl <juhl-lkml@dif.dk>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] fix warnings in drivers/mtd/devices/doc200?.c
Date: Wed, 09 Jun 2004 01:29:41 +0100 [thread overview]
Message-ID: <1086740981.5459.47.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.56.0406090205170.25359@jjulnx.backbone.dif.dk>
On Wed, 2004-06-09 at 02:24 +0200, Jesper Juhl wrote:
> I must admit that I do not know what the purpose of "oobsel" is, nor do I
> know very much about these functions or mtd devices in general, but since
> the doc_*_ecc functions do not use the oobsel parameter at all I still
> think I can propose a safe fix by simply changing the functions to take a
> struct nand_oobinfo * argument instead of their current int argument.
> Comments??
That works, but please don't do it without also adding something like:
#warning This driver should be updated to the new ECC API.
Or you could just leave the warning we already have :)
It works at the moment because the only thing that _uses_ the driver in
question is something which also doesn't use the new argument. We're
working on a new driver and at that point we'll also update the code
which uses it.
--
dwmw2
next prev parent reply other threads:[~2004-06-09 0:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-09 0:24 [PATCH] fix warnings in drivers/mtd/devices/doc200?.c Jesper Juhl
2004-06-09 0:29 ` David Woodhouse [this message]
2004-06-09 0:46 ` Jesper Juhl
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=1086740981.5459.47.camel@localhost.localdomain \
--to=dwmw2@infradead.org \
--cc=juhl-lkml@dif.dk \
--cc=linux-kernel@vger.kernel.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.