bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 4/4] pci-arbiter: Fix warning on passing incompatible pointer typ


From: Joan Lledó
Subject: [PATCH 4/4] pci-arbiter: Fix warning on passing incompatible pointer type
Date: Sun, 3 Nov 2019 10:38:29 +0100 (CET)

From: Joan Lledó <jlledom@member.fsf.org>

* pci-arbiter/netfs_impl.c:
        * netfs_attempt_write: Cast op function to pci_io_op_t
---
 pci-arbiter/netfs_impl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pci-arbiter/netfs_impl.c b/pci-arbiter/netfs_impl.c
index 0be8c370..b987a0bc 100644
--- a/pci-arbiter/netfs_impl.c
+++ b/pci-arbiter/netfs_impl.c
@@ -539,7 +539,7 @@ netfs_attempt_write (struct iouser * cred, struct node * 
node,
     {
       err =
         io_config_file (node->nn->ln->device, offset, len, data,
-                       pci_device_cfg_write);
+                       (pci_io_op_t) pci_device_cfg_write);
       if (!err)
         {
           /* Update mtime and ctime */
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]