All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android17-6.18 1/1] include/trace/hooks/fs.h:144:18: warning: declaration of 'struct linux_binprm' will not be visible outside of this function
Date: Sun, 18 Oct 2026 06:06:42 +0800	[thread overview]
Message-ID: <202610180642.sTdZMplQ-lkp@intel.com> (raw)

tree:   https://android.googlesource.com/kernel/common android17-6.18
head:   70a231d0d37bc782fef784fc8a367822ed2098a1
commit: fa573af4b2ab4a7c778dfaf0bb0a081ed59327f8 [1/1] ANDROID: vendor_hooks: add hooks for process authenticator security module
config: arm-randconfig-1001-20261017 (https://download.01.org/0day-ci/archive/20261018/202610180642.sTdZMplQ-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261018/202610180642.sTdZMplQ-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/202610180642.sTdZMplQ-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from fs/f2fs/inode.c:16:
   fs/f2fs/f2fs.h:2457:42: error: no member named 'read_waiters' in 'struct f2fs_rwsem'
    2457 |         _trace_android_rvh_f2fs_down_read(&sem->read_waiters, &sem->internal_rwsem, &skip);
         |                                            ~~~  ^
   In file included from fs/f2fs/inode.c:22:
>> include/trace/hooks/fs.h:144:18: warning: declaration of 'struct linux_binprm' will not be visible outside of this function [-Wvisibility]
     144 |         TP_PROTO(struct linux_binprm *bprm, int depth),
         |                         ^
   1 warning and 1 error generated.


vim +144 include/trace/hooks/fs.h

    16	
    17	DECLARE_HOOK(android_vh_ep_create_wakeup_source,
    18		TP_PROTO(char *name, int len),
    19		TP_ARGS(name, len));
    20	
    21	DECLARE_HOOK(android_vh_timerfd_create,
    22		TP_PROTO(char *name, int len),
    23		TP_ARGS(name, len));
    24	
    25	DECLARE_HOOK(android_vh_f2fs_printk,
    26		TP_PROTO(unsigned long s_flag, struct va_format *vaf, int level, bool limit_rate),
    27		TP_ARGS(s_flag, vaf, level, limit_rate));
    28	
    29	DECLARE_HOOK(android_vh_f2fs_create,
    30		TP_PROTO(struct inode *inode, struct dentry *dentry),
    31		TP_ARGS(inode, dentry));
    32	
    33	DECLARE_HOOK(android_vh_f2fs_set_bio_flag,
    34		TP_PROTO(struct folio *folio, struct bio *bio),
    35		TP_ARGS(folio, bio));
    36	
    37	DECLARE_HOOK(android_vh_put_super,
    38		TP_PROTO(struct super_block *sb),
    39		TP_ARGS(sb));
    40	
    41	DECLARE_HOOK(android_vh_wb_dirty_limits,
    42		TP_PROTO(unsigned long *thresh, struct bdi_writeback *wb),
    43		TP_ARGS(thresh, wb));
    44	
    45	DECLARE_HOOK(android_vh_evict,
    46		TP_PROTO(struct inode *inode),
    47		TP_ARGS(inode));
    48	
    49	DECLARE_HOOK(android_vh_inode_io_list_del,
    50		TP_PROTO(struct inode *inode, struct bdi_writeback *wb),
    51		TP_ARGS(inode, wb));
    52	
    53	DECLARE_HOOK(android_vh_redirty_tail_locked,
    54		TP_PROTO(struct list_head **target_list, struct inode *inode,
    55			 struct bdi_writeback *wb),
    56		TP_ARGS(target_list, inode, wb));
    57	
    58	DECLARE_HOOK(android_vh_queue_io,
    59		TP_PROTO(struct bdi_writeback *wb, unsigned int for_kupdate,
    60			 unsigned long dirtied_before, int *moved),
    61		TP_ARGS(wb, for_kupdate, dirtied_before, moved));
    62	
    63	DECLARE_HOOK(android_vh_mark_inode_dirty,
    64		TP_PROTO(struct inode *inode, struct bdi_writeback *wb, struct list_head **dirty_list),
    65		TP_ARGS(inode, wb, dirty_list));
    66	
    67	DECLARE_HOOK(android_vh_vfs_fsync_range,
    68		TP_PROTO(struct inode *inode, unsigned long *cut_off),
    69		TP_ARGS(inode, cut_off));
    70	
    71	DECLARE_RESTRICTED_HOOK(android_rvh_do_fcntl,
    72		TP_PROTO(struct file *filp, unsigned int cmd, unsigned long arg, long *err),
    73		TP_ARGS(filp, cmd, arg, err), 1);
    74	
    75	DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_buffer_write,
    76		TP_PROTO(struct kiocb *iocb, struct iov_iter *from,
    77			 ssize_t *ret, bool *write_done),
    78		TP_ARGS(iocb, from, ret, write_done), 1);
    79	
    80	DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_move_data_block_bypass,
    81		TP_PROTO(struct inode *inode, unsigned int bidx, int gc_type,
    82			 unsigned int segno, int off, int *err, bool *bypass),
    83		TP_ARGS(inode, bidx, gc_type, segno, off, err, bypass), 1);
    84	
    85	DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_ra_data_block_bypass,
    86		TP_PROTO(struct inode *inode, pgoff_t index, int *err, bool *bypass),
    87		TP_ARGS(inode, index, err, bypass), 1);
    88	
    89	DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_write_cache_pages,
    90		TP_PROTO(struct address_space *mapping, struct writeback_control *wbc,
    91			 int *ret, bool *wb_done),
    92		TP_ARGS(mapping, wbc, ret, wb_done), 1);
    93	
    94	DECLARE_HOOK(android_vh_f2fs_customized_ioctl,
    95		TP_PROTO(struct file *filp, unsigned int cmd, unsigned long arg,
    96			 long *ret, bool *ioctl_done),
    97		TP_ARGS(filp, cmd, arg, ret, ioctl_done));
    98	
    99	DECLARE_HOOK(android_vh_f2fs_dnode_set_blkaddr,
   100		TP_PROTO(struct inode *inode, u32 blkaddr),
   101		TP_ARGS(inode, blkaddr));
   102	
   103	DECLARE_HOOK(android_vh_f2fs_inode_may_compress,
   104		TP_PROTO(struct inode *inode, int *err),
   105		TP_ARGS(inode, err));
   106	
   107	DECLARE_HOOK(android_vh_f2fs_improve_priority,
   108		TP_PROTO(struct task_struct *p, int *saved_prio, bool *skip),
   109		TP_ARGS(p, saved_prio, skip));
   110	
   111	DECLARE_HOOK(android_vh_f2fs_restore_priority,
   112		TP_PROTO(struct task_struct *p, int saved_prio),
   113		TP_ARGS(p, saved_prio));
   114	
   115	DECLARE_RESTRICTED_HOOK(android_rvh_f2fs_down_read,
   116		TP_PROTO(wait_queue_head_t *read_waiters, struct rw_semaphore *rwsem, bool *skip),
   117		TP_ARGS(read_waiters, rwsem, skip), 1);
   118	
   119	DECLARE_HOOK(android_vh_f2fs_file_open,
   120		TP_PROTO(struct inode *inode, struct file *filp),
   121		TP_ARGS(inode, filp));
   122	
   123	DECLARE_HOOK(android_vh_erofs_iostat_submit,
   124		TP_PROTO(struct super_block *sb, struct bio *bio),
   125		TP_ARGS(sb, bio));
   126	
   127	DECLARE_HOOK(android_vh_erofs_iostat_update,
   128		TP_PROTO(struct super_block *sb, struct bio *bio),
   129		TP_ARGS(sb, bio));
   130	
   131	DECLARE_HOOK(android_vh_f2fs_iostat_submit,
   132		TP_PROTO(struct super_block *sb, int type, struct bio *bio),
   133		TP_ARGS(sb, type, bio));
   134	
   135	DECLARE_HOOK(android_vh_f2fs_iostat_update,
   136		TP_PROTO(struct super_block *sb, struct bio *bio, bool *skip),
   137		TP_ARGS(sb, bio, skip));
   138	
   139	DECLARE_RESTRICTED_HOOK(android_rvh_post_setattr,
   140		TP_PROTO(struct dentry *dentry),
   141		TP_ARGS(dentry), 1);
   142	
   143	DECLARE_RESTRICTED_HOOK(android_rvh_exec_binprm_check,
 > 144		TP_PROTO(struct linux_binprm *bprm, int depth),
   145		TP_ARGS(bprm, depth), 1);
   146	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-10-17 22:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-17 22:06 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-10-16  8:34 [android-common:android17-6.18 1/1] include/trace/hooks/fs.h:144:18: warning: declaration of 'struct linux_binprm' will not be visible outside of this function kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202610180642.sTdZMplQ-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.