* [BUG] NVMe: compilation error
@ 2012-02-03 14:25 Witold Baryluk
2012-02-08 10:22 ` Anisse Astier
0 siblings, 1 reply; 2+ messages in thread
From: Witold Baryluk @ 2012-02-03 14:25 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: Linus Torvalds, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 666 bytes --]
Hi,
when doing compiling I got
CC [M] drivers/block/nvme.o
drivers/block/nvme.c: In function ‘nvme_configure_admin_queue’:
drivers/block/nvme.c:999:2: error: implicit declaration of function ‘writeq’ [-Werror=implicit-function-declaration]
drivers/block/nvme.c:1003:2: error: implicit declaration of function ‘readq’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
Last commit releated to this file is 93c3d65b28bab6da520c2add9cb387a0303f8b2d.
gcc version 4.6.2 (Debian 4.6.2-12)
i386
I additionally use -march=pentium-m
Config file attached.
Regards,
Witek
--
Witold Baryluk
[-- Attachment #2: config-baryluk-43-buggy-nvme.txt.gz --]
[-- Type: application/octet-stream, Size: 22364 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] NVMe: compilation error
2012-02-03 14:25 [BUG] NVMe: compilation error Witold Baryluk
@ 2012-02-08 10:22 ` Anisse Astier
0 siblings, 0 replies; 2+ messages in thread
From: Anisse Astier @ 2012-02-08 10:22 UTC (permalink / raw)
To: Witold Baryluk, Matthew Wilcox, linux-kernel; +Cc: Linus Torvalds
On Fri, 3 Feb 2012 15:25:36 +0100, Witold Baryluk <baryluk@smp.if.uj.edu.pl> wrote :
> Hi,
>
> when doing compiling I got
>
> CC [M] drivers/block/nvme.o
> drivers/block/nvme.c: In function ‘nvme_configure_admin_queue’:
> drivers/block/nvme.c:999:2: error: implicit declaration of function ‘writeq’ [-Werror=implicit-function-declaration]
> drivers/block/nvme.c:1003:2: error: implicit declaration of function ‘readq’ [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
I'm having the same problem, my build is broken(3.3-rc2+), and I don't
use -Werror (gcc (Debian 4.4.5-8) 4.4.5):
CC [M] drivers/block/nvme.o
drivers/block/nvme.c: In function ‘nvme_configure_admin_queue’:
drivers/block/nvme.c:999: error: implicit declaration of function ‘writeq’
drivers/block/nvme.c:1003: error: implicit declaration of function ‘readq’
>From a quick look at the code, writeq/readq are only defined for 64bits
builds, everywhere else it keeps being redefined (static definitons).
Regards,
Anisse
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-08 10:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-03 14:25 [BUG] NVMe: compilation error Witold Baryluk
2012-02-08 10:22 ` Anisse Astier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).