[PATCH v2] Staging: tidspbridge: Use hashtable implementation

Dan Carpenter dan.carpenter at oracle.com
Thu Jan 2 15:00:42 UTC 2014


> +	u32 val_size;
> +	DECLARE_HASHTABLE(hash_table, GH_HASH_ORDER);
> +	u32 (*hash)(void *);
> +	bool (*match)(void *, void *);
> +	void (*delete)(void *);

I forgot to say, put the parameter name in the declaration.

+	u32 (*hash)(void *key);
+	bool (*match)(void *key, void *result);
+	void (*delete)(void *key);

I have no idea if those names are correct.

regards,
dan carpenter


More information about the devel mailing list