tree: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git lazy_journal head: c3a5aefebea108e050865d5bdf9fd11b9c7f6c5e commit: efcc903c601fe6f73723e1899761dc8c655caf0e [34/36] Introduce cleaner config: i386-defconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout efcc903c601fe6f73723e1899761dc8c655caf0e # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): fs/jbd2/jmap.c: In function 'process_existing_mappings': >> fs/jbd2/jmap.c:104:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned long long) journal->j_cleaner_ctx->pos); ^ vim +104 fs/jbd2/jmap.c 88 mappings[nr_new++] = mappings[i]; 89 continue; 90 } 91 /* 92 * We are either deleting the entry because it was revoked, or 93 * we are moving it to the live blocks list of this transaction. 94 * In either case, we remove it from its existing list. 95 * However, before removing it we check to see if this is an 96 * entry in the live blocks list of the tail transaction a 97 * pointer to whom is cached by the cleaner and update the 98 * cached pointer if so. 99 */ 100 spin_lock(&journal->j_cleaner_ctx->pos_lock); 101 if (je == journal->j_cleaner_ctx->pos) { 102 journal->j_cleaner_ctx->pos = list_next_entry(je, list); 103 trace_jbd2_jmap_printf1("updating pos to", > 104 (unsigned long long) journal->j_cleaner_ctx->pos); 105 } 106 list_del(&je->list); 107 spin_unlock(&journal->j_cleaner_ctx->pos_lock); 108 109 if (je->revoked) { 110 rb_erase(&je->rb_node, &journal->j_jmap); 111 kmem_cache_free(jbd2_jmap_cache, je); 112 } else { --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip