https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94382
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmalcolm at gcc dot gnu.org --- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> --- Beyond simply showing the entire prototype, some other ideas: ./fs/iomap/apply.c:13:1: error: conflicting types for ‘__iomap_apply’ 13 | __iomap_apply(struct inode *inode, loff_t pos, loff_t length, unsigned flags, 14 | struct iomap *iomap, struct iomap *srcmap, | ------------------- -------------------- | | | | param 5 param 6 15 | const struct iomap_ops *ops, iomap_actor_t actor) | --------------------------- ------------------- | | | | param 7 param 8 In file included from ../fs/iomap/apply.c:9: ../include/linux/iomap.h:152:1: note: previous declaration of ‘__iomap_apply’ was here 152 | __iomap_apply(struct inode *inode, loff_t pos, loff_t length, unsigned flags, 153 | const struct iomap_ops *ops, iomap_actor_t actor, | --------------------------- ------------------- | | | | param 5 param 6 154 | struct iomap *iomap, struct iomap *srcmap); | ------------------- -------------------- | | | | param 7 param 8 note: you've transposed params 5 and 7, and params 6 and 8 But it's probably simplest to just show the full prototype.