]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dlm: match signedness between dlm_config_info and cluster_set
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 14 Feb 2008 00:54:29 +0000 (16:54 -0800)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Apr 2008 16:18:01 +0000 (11:18 -0500)
commit5416b704aef0b7350073421f4f6ac1a21bc213e7
tree8868300550da5c2746d6595a073ee9c8da6d58d3
parent3925e6fc1f774048404fdd910b0345b06c699eb4
dlm: match signedness between dlm_config_info and cluster_set

cluster_set is only called from the macro CLUSTER_ATTR which defines read/write
access functions.  Make the signedness match to avoid sparse warnings every time
CLUSTER_ATTR is used (lines 149-159) all of the form:

fs/dlm/config.c:149:1: warning: incorrect type in argument 3 (different signedness)
fs/dlm/config.c:149:1:    expected unsigned int *info_field
fs/dlm/config.c:149:1:    got int extern [toplevel] *<noident>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c