mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rune V. Sjøen" <rvsjoen@gmail.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [PATCH] Fix compilation warning "discards qualifiers from pointer target type"
Date: Fri, 25 Apr 2008 14:25:22 +0200	[thread overview]
Message-ID: <efa8e58e0804250525tfaefc89r28f788356a31e90e@mail.gmail.com> (raw)

Fix compilation warning "discards qualifiers from pointer target type"
in include/asm-x86/io_32.h

Signed-off-by: Rune V. Sjoen <rvsjoen@gmail.com>
---

--- clean/include/asm-x86/io_32.h       2008-04-17 04:49:44.000000000 +0200
+++ linux/include/asm-x86/io_32.h       2008-04-25 13:52:19.000000000 +0200
@@ -211,7 +211,7 @@ memset_io(volatile void __iomem *addr, u
 }

 static inline void
-memcpy_fromio(void *dst, const volatile void __iomem *src, int count)
+memcpy_fromio(void *dst, const void __iomem *src, int count)
 {
        __memcpy(dst, (const void __force *)src, count);
 }

                 reply	other threads:[~2008-04-25 12:25 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=efa8e58e0804250525tfaefc89r28f788356a31e90e@mail.gmail.com \
    --to=rvsjoen@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®