From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android15-6.6 23/44] drivers/virt/gunyah/gunyah_platform_hooks.c:42:5: warning: conflicting types for 'gunyah_rm_platform_pre_demand_page' due to enum/integer mismatch; have 'int(struct gunyah_rm *, u16, enum gunyah_pagetable_access, struct folio *)' {aka 'int(struct gunyah...
Date: Wed, 29 May 2024 16:07:31 +0800 [thread overview]
Message-ID: <202405291638.zjUBtCaf-lkp@intel.com> (raw)
tree: https://android.googlesource.com/kernel/common android15-6.6
head: 8ae1f42fd034d5d8d1566cf9705840942dd6fc40
commit: 8134d2cbc1b62d687bc49f3481ba27ee5fdc76cd [23/44] FROMLIST: gunyah: rsc_mgr: Add platform ops on mem_lend/mem_reclaim
config: arm64-randconfig-r054-20240529 (https://download.01.org/0day-ci/archive/20240529/202405291638.zjUBtCaf-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240529/202405291638.zjUBtCaf-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/202405291638.zjUBtCaf-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/virt/gunyah/gunyah_platform_hooks.c:42:5: warning: conflicting types for 'gunyah_rm_platform_pre_demand_page' due to enum/integer mismatch; have 'int(struct gunyah_rm *, u16, enum gunyah_pagetable_access, struct folio *)' {aka 'int(struct gunyah_rm *, short unsigned int, enum gunyah_pagetable_access, struct folio *)'} [-Wenum-int-mismatch]
42 | int gunyah_rm_platform_pre_demand_page(struct gunyah_rm *rm, u16 vmid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/virt/gunyah/gunyah_platform_hooks.c:11:
drivers/virt/gunyah/rsc_mgr.h:125:5: note: previous declaration of 'gunyah_rm_platform_pre_demand_page' with type 'int(struct gunyah_rm *, u16, u32, struct folio *)' {aka 'int(struct gunyah_rm *, short unsigned int, unsigned int, struct folio *)'}
125 | int gunyah_rm_platform_pre_demand_page(struct gunyah_rm *rm, u16 vmid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/virt/gunyah/gunyah_platform_hooks.c:56:5: warning: conflicting types for 'gunyah_rm_platform_reclaim_demand_page' due to enum/integer mismatch; have 'int(struct gunyah_rm *, u16, enum gunyah_pagetable_access, struct folio *)' {aka 'int(struct gunyah_rm *, short unsigned int, enum gunyah_pagetable_access, struct folio *)'} [-Wenum-int-mismatch]
56 | int gunyah_rm_platform_reclaim_demand_page(struct gunyah_rm *rm, u16 vmid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/virt/gunyah/rsc_mgr.h:127:5: note: previous declaration of 'gunyah_rm_platform_reclaim_demand_page' with type 'int(struct gunyah_rm *, u16, u32, struct folio *)' {aka 'int(struct gunyah_rm *, short unsigned int, unsigned int, struct folio *)'}
127 | int gunyah_rm_platform_reclaim_demand_page(struct gunyah_rm *rm, u16 vmid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for USB_PHY
Depends on [n]: USB_SUPPORT [=n]
Selected by [y]:
- GKI_HIDDEN_USB_CONFIGS [=y]
WARNING: unmet direct dependencies detected for PAGE_POOL
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for BALLOON_COMPACTION
Depends on [n]: COMPACTION [=n] && MEMORY_BALLOON [=y]
Selected by [y]:
- GKI_HIDDEN_MM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for NET_DEVLINK
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for PHYLINK
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_ETHERNET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for DRM_MIPI_DSI
Depends on [n]: HAS_IOMEM [=y] && DRM [=n]
Selected by [y]:
- GKI_HIDDEN_DRM_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on [n]: NET [=n] && WIRELESS [=n]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y])
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY
Depends on [n]: NET [=n]
Selected by [y]:
- GKI_HIDDEN_NET_CONFIGS [=y]
WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
Depends on [n]: MEDIA_SUPPORT [=y] && VIDEO_DEV [=n] && MEDIA_CONTROLLER [=y]
Selected by [y]:
- GKI_HIDDEN_MEDIA_CONFIGS [=y]
WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD
Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n]
Selected by [y]:
- GKI_HIDDEN_MCP251XFD_CONFIGS [=y]
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y]
Selected by [y]:
- GKI_LEGACY_WEXT_ALLCONFIG [=y]
vim +42 drivers/virt/gunyah/gunyah_platform_hooks.c
41
> 42 int gunyah_rm_platform_pre_demand_page(struct gunyah_rm *rm, u16 vmid,
43 enum gunyah_pagetable_access access,
44 struct folio *folio)
45 {
46 int ret = 0;
47
48 down_read(&rm_platform_ops_lock);
49 if (rm_platform_ops && rm_platform_ops->pre_demand_page)
50 ret = rm_platform_ops->pre_demand_page(rm, vmid, access, folio);
51 up_read(&rm_platform_ops_lock);
52 return ret;
53 }
54 EXPORT_SYMBOL_GPL(gunyah_rm_platform_pre_demand_page);
55
> 56 int gunyah_rm_platform_reclaim_demand_page(struct gunyah_rm *rm, u16 vmid,
57 enum gunyah_pagetable_access access,
58 struct folio *folio)
59 {
60 int ret = 0;
61
62 down_read(&rm_platform_ops_lock);
63 if (rm_platform_ops && rm_platform_ops->pre_demand_page)
64 ret = rm_platform_ops->release_demand_page(rm, vmid, access,
65 folio);
66 up_read(&rm_platform_ops_lock);
67 return ret;
68 }
69 EXPORT_SYMBOL_GPL(gunyah_rm_platform_reclaim_demand_page);
70
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-05-29 8:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202405291638.zjUBtCaf-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.