From: Harvey Harrison <harvey.harrison@gmail.com>
To: Dominik Brodowski <linux@brodo.de>
Cc: Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] pcmcia: ds.c conversion to dev_dbg fixes
Date: Tue, 19 Aug 2008 17:09:53 -0700 [thread overview]
Message-ID: <1219190994.17033.97.camel@brick> (raw)
Noticed by sparse:
drivers/pcmcia/ds.c:962:3: warning: incorrect type in argument 1 (different base types)
drivers/pcmcia/ds.c:962:3: expected struct device const *dev
drivers/pcmcia/ds.c:962:3: got struct pcmcia_device *dev
drivers/pcmcia/ds.c:969:3: warning: incorrect type in argument 1 (different base types)
drivers/pcmcia/ds.c:969:3: expected struct device const *dev
drivers/pcmcia/ds.c:969:3: got struct pcmcia_device *dev
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
Found in next-20080819
drivers/pcmcia/ds.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index ce2a7db..c848b88 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -959,14 +959,14 @@ static inline int pcmcia_devmatch(struct pcmcia_device *dev,
* after it has re-checked that there is no possible module
* with a prod_id/manf_id/card_id match.
*/
- ds_dev_dbg(0, dev, "skipping FUNC_ID match until userspace "
+ ds_dev_dbg(0, &dev->dev, "skipping FUNC_ID match until userspace "
"interaction\n");
if (!dev->allow_func_id_match)
return 0;
}
if (did->match_flags & PCMCIA_DEV_ID_MATCH_FAKE_CIS) {
- ds_dev_dbg(0, dev, "device needs a fake CIS\n");
+ ds_dev_dbg(0, &dev->dev, "device needs a fake CIS\n");
if (!dev->socket->fake_cis)
pcmcia_load_firmware(dev, did->cisfile);
--
1.6.0.274.g8aacc
reply other threads:[~2008-08-20 0:10 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=1219190994.17033.97.camel@brick \
--to=harvey.harrison@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@brodo.de \
/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