projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
73816e1
)
configure: Fix the struct nvme_uring_cmd detection
author
Bart Van Assche
<bvanassche@acm.org>
Sun, 13 Nov 2022 23:11:54 +0000
(15:11 -0800)
committer
Bart Van Assche
<bvanassche@acm.org>
Sun, 13 Nov 2022 23:19:56 +0000
(15:19 -0800)
Prevent that struct nvme_uring_cmd detection fails as follows:
error: unused variable 'cmd' [-Werror=unused-variable]
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index 60b58cd264c0082f8860e2344481e6fa542bd9eb..1b12d26899435cb2d407639759178ee1f2a7b6c1 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-2638,8
+2638,6
@@
cat > $TMPC << EOF
#include <linux/nvme_ioctl.h>
int main(void)
{
#include <linux/nvme_ioctl.h>
int main(void)
{
- struct nvme_uring_cmd *cmd;
-
return sizeof(struct nvme_uring_cmd);
}
EOF
return sizeof(struct nvme_uring_cmd);
}
EOF