tree: git://git.cmpxchg.org/linux-mmotm.git master head: bb578c9c690d8a5525dafc52d442af18aee45280 commit: 5a9558722362888f158e60e5126296c867eb4a8f [59/223] ocfs2-add-and-remove-inode-in-orphan-dir-in-ocfs2_direct_io-fix config: sh-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 5a9558722362888f158e60e5126296c867eb4a8f # save the attached .config to linux build tree make.cross ARCH=sh All warnings: fs/ocfs2/aops.c: In function 'ocfs2_direct_IO_write': >> fs/ocfs2/aops.c:654:14: warning: comparison of distinct pointer types lacks a cast [enabled by default] vim +654 fs/ocfs2/aops.c 638 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); 639 struct buffer_head *di_bh = NULL; 640 size_t count = iter->count; 641 journal_t *journal = osb->journal->j_journal; 642 u32 p_cpos = 0; 643 u32 v_cpos = ocfs2_clusters_for_bytes(osb->sb, offset); 644 u32 zero_len; 645 int cluster_align; 646 loff_t final_size = offset + count; 647 int append_write = offset >= i_size_read(inode) ? 1 : 0; 648 unsigned int num_clusters = 0; 649 unsigned int ext_flags = 0; 650 651 { 652 loff_t o = offset; 653 > 654 zero_len = do_div(o, 1 << osb->s_clustersize_bits); 655 cluster_align = !!zero_len; 656 } 657 658 /* 659 * when final_size > inode->i_size, inode->i_size will be 660 * updated after direct write, so add the inode to orphan 661 * dir first. 662 */ --- 0-DAY kernel build testing backend Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation