[ewg] [PATCH 4/6] nes: fix nes_get_encoded_size() prototype
Glenn Grundstrom NetEffect
glenn at lists.openfabrics.org
Thu Dec 13 16:48:54 PST 2007
Change the argument type from u32 * to int * to match how
it is called.
>From Rolands infiniband git tree to update OFED.
Signed-off-by: Glenn Grundstrom <ggrundstrom at neteffect.com>
---
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index cd95aba..97cb51e 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -1046,7 +1046,7 @@ static int nes_destroy_ah(struct ib_ah *ah)
/**
* nes_get_encoded_size
*/
-static inline u8 nes_get_encoded_size(u32 *size)
+static inline u8 nes_get_encoded_size(int *size)
{
u8 encoded_size = 0;
if (*size <= 32) {
More information about the ewg
mailing list