* [jlayton:inode-shrink 2/4] include/linux/fs.h:731:3: error: expected ';' after union
@ 2024-05-18 20:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-05-18 20:26 UTC (permalink / raw)
To: Jeff Layton; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git inode-shrink
head: bef03a2e1b6b8265d0bda6eeed1bc5dfce1f1915
commit: 72a8424bf1c99226d40dda7fe7c8f3b542a53365 [2/4] fs: move i_generation into new hole created after timestamp conversion
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240519/202405190402.C2K6riIg-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project fa9b1be45088dce1e4b602d451f118128b94237b)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240519/202405190402.C2K6riIg-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405190402.C2K6riIg-lkp@intel.com/
Note: the jlayton/inode-shrink HEAD bef03a2e1b6b8265d0bda6eeed1bc5dfce1f1915 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
In file included from arch/riscv/kernel/asm-offsets.c:10:
In file included from include/linux/mm.h:1114:
In file included from include/linux/huge_mm.h:8:
>> include/linux/fs.h:731:3: error: expected ';' after union
731 | }
| ^
| ;
In file included from arch/riscv/kernel/asm-offsets.c:10:
In file included from include/linux/mm.h:2210:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
1 warning and 1 error generated.
make[3]: *** [scripts/Makefile.build:117: arch/riscv/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1197: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:240: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +731 include/linux/fs.h
679
680 /* Misc */
681 unsigned long i_state;
682 struct rw_semaphore i_rwsem;
683
684 unsigned long dirtied_when; /* jiffies of first dirtying */
685 unsigned long dirtied_time_when;
686
687 struct hlist_node i_hash;
688 struct list_head i_io_list; /* backing dev IO list */
689 #ifdef CONFIG_CGROUP_WRITEBACK
690 struct bdi_writeback *i_wb; /* the associated cgroup wb */
691
692 /* foreign inode detection, see wbc_detach_inode() */
693 int i_wb_frn_winner;
694 u16 i_wb_frn_avg_time;
695 u16 i_wb_frn_history;
696 #endif
697 struct list_head i_lru; /* inode LRU list */
698 struct list_head i_sb_list;
699 struct list_head i_wb_list; /* backing dev writeback list */
700 union {
701 struct hlist_head i_dentry;
702 struct rcu_head i_rcu;
703 };
704 atomic64_t i_version;
705 atomic64_t i_sequence; /* see futex */
706 atomic_t i_count;
707 atomic_t i_dio_count;
708 atomic_t i_writecount;
709 #if defined(CONFIG_IMA) || defined(CONFIG_FILE_LOCKING)
710 atomic_t i_readcount; /* struct files open RO */
711 #endif
712 union {
713 const struct file_operations *i_fop; /* former ->i_op->default_file_ops */
714 void (*free_inode)(struct inode *);
715 };
716 struct file_lock_context *i_flctx;
717 struct address_space i_data;
718 struct list_head i_devices;
719 union {
720 struct pipe_inode_info *i_pipe;
721 struct cdev *i_cdev;
722 char *i_link;
723 unsigned i_dir_seq;
724 };
725
726
727 #ifdef CONFIG_FSNOTIFY
728 union {
729 __u32 i_fsnotify_mask; /* all events this inode cares about */
730 __u64 __i_fsnotify_mask_ext; /* for future expansion */
> 731 }
732 struct fsnotify_mark_connector __rcu *i_fsnotify_marks;
733 #endif
734
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-05-18 20:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 20:26 [jlayton:inode-shrink 2/4] include/linux/fs.h:731:3: error: expected ';' after union kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox