diff options
author | Jon Mason <jon.mason@intel.com> | 2013-01-21 17:28:52 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 17:34:21 -0500 |
commit | 74465645cdb4391b9fc95d12fd750a88012ad479 (patch) | |
tree | 6b64d37f7abe89195a0cfd8cff7931a03e14bff1 /drivers/ntb/ntb_hw.h | |
parent | 719234f9444552a8b3ac30a7c373db62e13c14f4 (diff) |
NTB: Fix Sparse Warnings
Address the sparse warnings and resulting fallout
Signed-off-by: Jon Mason <jon.mason@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ntb/ntb_hw.h')
-rw-r--r-- | drivers/ntb/ntb_hw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ntb/ntb_hw.h b/drivers/ntb/ntb_hw.h index 5e009519c64f..3a3038ca83e6 100644 --- a/drivers/ntb/ntb_hw.h +++ b/drivers/ntb/ntb_hw.h | |||
@@ -165,14 +165,14 @@ int ntb_register_db_callback(struct ntb_device *ndev, unsigned int idx, | |||
165 | void ntb_unregister_db_callback(struct ntb_device *ndev, unsigned int idx); | 165 | void ntb_unregister_db_callback(struct ntb_device *ndev, unsigned int idx); |
166 | int ntb_register_event_callback(struct ntb_device *ndev, | 166 | int ntb_register_event_callback(struct ntb_device *ndev, |
167 | void (*event_cb_func) (void *handle, | 167 | void (*event_cb_func) (void *handle, |
168 | unsigned int event)); | 168 | enum ntb_hw_event event)); |
169 | void ntb_unregister_event_callback(struct ntb_device *ndev); | 169 | void ntb_unregister_event_callback(struct ntb_device *ndev); |
170 | int ntb_get_max_spads(struct ntb_device *ndev); | 170 | int ntb_get_max_spads(struct ntb_device *ndev); |
171 | int ntb_write_local_spad(struct ntb_device *ndev, unsigned int idx, u32 val); | 171 | int ntb_write_local_spad(struct ntb_device *ndev, unsigned int idx, u32 val); |
172 | int ntb_read_local_spad(struct ntb_device *ndev, unsigned int idx, u32 *val); | 172 | int ntb_read_local_spad(struct ntb_device *ndev, unsigned int idx, u32 *val); |
173 | int ntb_write_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 val); | 173 | int ntb_write_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 val); |
174 | int ntb_read_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 *val); | 174 | int ntb_read_remote_spad(struct ntb_device *ndev, unsigned int idx, u32 *val); |
175 | void *ntb_get_mw_vbase(struct ntb_device *ndev, unsigned int mw); | 175 | void __iomem *ntb_get_mw_vbase(struct ntb_device *ndev, unsigned int mw); |
176 | resource_size_t ntb_get_mw_size(struct ntb_device *ndev, unsigned int mw); | 176 | resource_size_t ntb_get_mw_size(struct ntb_device *ndev, unsigned int mw); |
177 | void ntb_ring_sdb(struct ntb_device *ndev, unsigned int idx); | 177 | void ntb_ring_sdb(struct ntb_device *ndev, unsigned int idx); |
178 | void *ntb_find_transport(struct pci_dev *pdev); | 178 | void *ntb_find_transport(struct pci_dev *pdev); |