Commit 191e38fc authored by Alexander Viro's avatar Alexander Viro Committed by David S. Miller

[SPARC64]: Fix prototype of check_signature() - it already gets a pointer

Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4fcc3bf
...@@ -417,13 +417,13 @@ _memcpy_toio(volatile void __iomem *dst, const void *src, __kernel_size_t n) ...@@ -417,13 +417,13 @@ _memcpy_toio(volatile void __iomem *dst, const void *src, __kernel_size_t n)
#define memcpy_toio(d,s,sz) _memcpy_toio(d,s,sz) #define memcpy_toio(d,s,sz) _memcpy_toio(d,s,sz)
static inline int check_signature(unsigned long io_addr, static inline int check_signature(void __iomem *io_addr,
const unsigned char *signature, const unsigned char *signature,
int length) int length)
{ {
int retval = 0; int retval = 0;
do { do {
if (readb((void __iomem *)io_addr) != *signature++) if (readb(io_addr) != *signature++)
goto out; goto out;
io_addr++; io_addr++;
} while (--length); } while (--length);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment