]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/test_rhashtable.c
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.git] / lib / test_rhashtable.c
index 16949d219291aad189b0b8a73926f0e908e14960..0ffca990a83370d13553266be315f9373d6995da 100644 (file)
@@ -223,7 +223,9 @@ static s64 __init test_rhashtable(struct rhashtable *ht)
 
        pr_info("  Deleting %d keys\n", entries);
        for (i = 0; i < entries; i++) {
-               u32 key = i * 2;
+               struct test_obj_val key = {
+                       .id = i * 2,
+               };
 
                if (array[i].value.id != TEST_INSERT_FAIL) {
                        obj = rhashtable_lookup_fast(ht, &key, test_rht_params);