netlabel: Fix some sparse warnings
[deliverable/linux.git] / net / netlabel / netlabel_cipso_v4.c
index 0aec318bf0ef17aed66c4ec10881846403f0d9b4..aaf50032b3ac0e3015043f06c5c9a6f26169b232 100644 (file)
@@ -491,7 +491,7 @@ list_start:
        doi_def = cipso_v4_doi_getdef(doi);
        if (doi_def == NULL) {
                ret_val = -EINVAL;
-               goto list_failure;
+               goto list_failure_lock;
        }
 
        ret_val = nla_put_u32(ans_skb, NLBL_CIPSOV4_A_MTYPE, doi_def->type);
@@ -655,7 +655,7 @@ static int netlbl_cipsov4_listall(struct sk_buff *skb,
                                  struct netlink_callback *cb)
 {
        struct netlbl_cipsov4_doiwalk_arg cb_arg;
-       int doi_skip = cb->args[0];
+       u32 doi_skip = cb->args[0];
 
        cb_arg.nl_cb = cb;
        cb_arg.skb = skb;
This page took 0.023523 seconds and 5 git commands to generate.