[superna9999:amlogic/v5.17/g12-dsi 3/23] drivers/gpu/drm/meson/meson_encoder_dsi.c:240:9: error: implicit declaration of function 'meson_venc_encoder_dsi_mode_set'; did you mean 'meson_encoder_dsi_mode_set'?
by kernel test robot
tree: https://github.com/superna9999/linux amlogic/v5.17/g12-dsi
head: 62dac9179f2937dc08bffe08d15c6846bc4aedb4
commit: 6b197be782e0410bb911b74fb152daefccce6a29 [3/23] WIP: drm/meson: add DSI encoder
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20211211/202112111720.SAqWZOsV-lk...)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/superna9999/linux/commit/6b197be782e0410bb911b74fb152d...
git remote add superna9999 https://github.com/superna9999/linux
git fetch --no-tags superna9999 amlogic/v5.17/g12-dsi
git checkout 6b197be782e0410bb911b74fb152daefccce6a29
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the superna9999/amlogic/v5.17/g12-dsi HEAD 62dac9179f2937dc08bffe08d15c6846bc4aedb4 builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu'
89 | #define le32_to_cpu __le32_to_cpu
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_registers.h:15:25: note: in expansion of macro 'readl_relaxed'
15 | writel_relaxed((readl_relaxed(addr) & ~(mask)) | ((val) & (mask)), addr)
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:198:9: note: in expansion of macro 'writel_bits_relaxed'
198 | writel_bits_relaxed(0x3, 0x3,
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:199:49: error: 'MIPI_DSI_TOP_CLK_CNTL' undeclared (first use in this function)
199 | encoder_dsi->base + MIPI_DSI_TOP_CLK_CNTL);
| ^~~~~~~~~~~~~~~~~~~~~
include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__cpu_to_le32'
33 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
| ^
drivers/gpu/drm/meson/meson_registers.h:15:9: note: in expansion of macro 'writel_relaxed'
15 | writel_relaxed((readl_relaxed(addr) & ~(mask)) | ((val) & (mask)), addr)
| ^~~~~~~~~~~~~~
include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu'
89 | #define le32_to_cpu __le32_to_cpu
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_registers.h:15:25: note: in expansion of macro 'readl_relaxed'
15 | writel_relaxed((readl_relaxed(addr) & ~(mask)) | ((val) & (mask)), addr)
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:198:9: note: in expansion of macro 'writel_bits_relaxed'
198 | writel_bits_relaxed(0x3, 0x3,
| ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/io.h:13,
from include/acpi/acpi_io.h:5,
from include/linux/acpi.h:35,
from include/linux/i2c.h:13,
from include/drm/drm_crtc.h:28,
from include/drm/drm_atomic_helper.h:31,
from drivers/gpu/drm/meson/meson_encoder_dsi.c:13:
drivers/gpu/drm/meson/meson_encoder_dsi.c:199:40: error: 'struct meson_encoder_dsi' has no member named 'base'
199 | encoder_dsi->base + MIPI_DSI_TOP_CLK_CNTL);
| ^~
arch/arm64/include/asm/io.h:127:82: note: in definition of macro 'writel_relaxed'
127 | #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:198:9: note: in expansion of macro 'writel_bits_relaxed'
198 | writel_bits_relaxed(0x3, 0x3,
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:201:38: error: 'struct meson_encoder_dsi' has no member named 'base'
201 | writel_relaxed(0, encoder_dsi->base + MIPI_DSI_TOP_MEM_PD);
| ^~
arch/arm64/include/asm/io.h:127:82: note: in definition of macro 'writel_relaxed'
127 | #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:201:47: error: 'MIPI_DSI_TOP_MEM_PD' undeclared (first use in this function)
201 | writel_relaxed(0, encoder_dsi->base + MIPI_DSI_TOP_MEM_PD);
| ^~~~~~~~~~~~~~~~~~~
arch/arm64/include/asm/io.h:127:82: note: in definition of macro 'writel_relaxed'
127 | #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c: In function 'meson_encoder_dsi_mode_set':
drivers/gpu/drm/meson/meson_encoder_dsi.c:214:20: error: 'struct meson_encoder_dsi' has no member named 'mode_flags'
214 | encoder_dsi->mode_flags = mode->flags;
| ^~
drivers/gpu/drm/meson/meson_encoder_dsi.c:216:15: error: implicit declaration of function 'encoder_dsi_pixel_format_to_bpp' [-Werror=implicit-function-declaration]
216 | bpp = encoder_dsi_pixel_format_to_bpp(mipi_dsi->dsi_device->format);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:216:47: error: 'mipi_dsi' undeclared (first use in this function)
216 | bpp = encoder_dsi_pixel_format_to_bpp(mipi_dsi->dsi_device->format);
| ^~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:218:9: error: implicit declaration of function 'phy_mipi_dphy_get_default_config' [-Werror=implicit-function-declaration]
218 | phy_mipi_dphy_get_default_config(mode->clock * 1000,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:219:58: error: 'struct meson_encoder_dsi' has no member named 'dsi_device'
219 | bpp, encoder_dsi->dsi_device->lanes,
| ^~
drivers/gpu/drm/meson/meson_encoder_dsi.c:220:54: error: 'struct meson_encoder_dsi' has no member named 'phy_opts'
220 | &encoder_dsi->phy_opts.mipi_dphy);
| ^~
drivers/gpu/drm/meson/meson_encoder_dsi.c:222:9: error: implicit declaration of function 'phy_configure'; did you mean 'of_dma_configure'? [-Werror=implicit-function-declaration]
222 | phy_configure(encoder_dsi->phy, &mipi_dsi->phy_opts);
| ^~~~~~~~~~~~~
| of_dma_configure
drivers/gpu/drm/meson/meson_encoder_dsi.c:222:34: error: 'struct meson_encoder_dsi' has no member named 'phy'
222 | phy_configure(encoder_dsi->phy, &mipi_dsi->phy_opts);
| ^~
drivers/gpu/drm/meson/meson_encoder_dsi.c:224:28: error: 'struct meson_encoder_dsi' has no member named 'dsi_device'
224 | switch (encoder_dsi->dsi_device->format) {
| ^~
drivers/gpu/drm/meson/meson_encoder_dsi.c:225:14: error: 'MIPI_DSI_FMT_RGB888' undeclared (first use in this function)
225 | case MIPI_DSI_FMT_RGB888:
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:229:14: error: 'MIPI_DSI_FMT_RGB666' undeclared (first use in this function)
229 | case MIPI_DSI_FMT_RGB666:
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:233:14: error: 'MIPI_DSI_FMT_RGB666_PACKED' undeclared (first use in this function)
233 | case MIPI_DSI_FMT_RGB666_PACKED:
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:234:14: error: 'MIPI_DSI_FMT_RGB565' undeclared (first use in this function)
234 | case MIPI_DSI_FMT_RGB565:
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:239:9: error: implicit declaration of function 'dw_encoder_dsi_set_vclk'; did you mean 'dw_mipi_dsi_set_vclk'? [-Werror=implicit-function-declaration]
239 | dw_encoder_dsi_set_vclk(mipi_dsi, mode);
| ^~~~~~~~~~~~~~~~~~~~~~~
| dw_mipi_dsi_set_vclk
>> drivers/gpu/drm/meson/meson_encoder_dsi.c:240:9: error: implicit declaration of function 'meson_venc_encoder_dsi_mode_set'; did you mean 'meson_encoder_dsi_mode_set'? [-Werror=implicit-function-declaration]
240 | meson_venc_encoder_dsi_mode_set(priv, mode);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| meson_encoder_dsi_mode_set
In file included from include/linux/byteorder/little_endian.h:5,
from arch/arm64/include/uapi/asm/byteorder.h:23,
from include/asm-generic/bitops/le.h:7,
from arch/arm64/include/asm/bitops.h:29,
from include/linux/bitops.h:33,
from include/linux/kernel.h:13,
from drivers/gpu/drm/meson/meson_encoder_dsi.c:8:
drivers/gpu/drm/meson/meson_encoder_dsi.c:249:40: error: 'struct meson_encoder_dsi' has no member named 'base'
249 | reg = readl_relaxed(encoder_dsi->base + MIPI_DSI_TOP_CNTL) &
| ^~
include/uapi/linux/byteorder/little_endian.h:34:51: note: in definition of macro '__le32_to_cpu'
34 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:249:15: note: in expansion of macro 'readl_relaxed'
249 | reg = readl_relaxed(encoder_dsi->base + MIPI_DSI_TOP_CNTL) &
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:249:49: error: 'MIPI_DSI_TOP_CNTL' undeclared (first use in this function)
249 | reg = readl_relaxed(encoder_dsi->base + MIPI_DSI_TOP_CNTL) &
| ^~~~~~~~~~~~~~~~~
include/uapi/linux/byteorder/little_endian.h:34:51: note: in definition of macro '__le32_to_cpu'
34 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:249:15: note: in expansion of macro 'readl_relaxed'
249 | reg = readl_relaxed(encoder_dsi->base + MIPI_DSI_TOP_CNTL) &
| ^~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:260:29: error: 'struct meson_encoder_dsi' has no member named 'mode_flags'
260 | (encoder_dsi->mode_flags & DRM_MODE_FLAG_NHSYNC ? 0 : BIT(BIT_HSYNC_POL)) |
| ^~
include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__cpu_to_le32'
33 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:254:9: note: in expansion of macro 'writel_relaxed'
254 | writel_relaxed(reg |
| ^~~~~~~~~~~~~~
drivers/gpu/drm/meson/meson_encoder_dsi.c:261:29: error: 'struct meson_encoder_dsi' has no member named 'mode_flags'
261 | (encoder_dsi->mode_flags & DRM_MODE_FLAG_NVSYNC ? 0 : BIT(BIT_VSYNC_POL)),
| ^~
include/uapi/linux/byteorder/little_endian.h:33:51: note: in definition of macro '__cpu_to_le32'
33 | #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
| ^
drivers/gpu/drm/meson/meson_encoder_dsi.c:254:9: note: in expansion of macro 'writel_relaxed'
254 | writel_relaxed(reg |
| ^~~~~~~~~~~~~~
In file included from include/linux/io.h:13,
from include/acpi/acpi_io.h:5,
from include/linux/acpi.h:35,
from include/linux/i2c.h:13,
from include/drm/drm_crtc.h:28,
from include/drm/drm_atomic_helper.h:31,
from drivers/gpu/drm/meson/meson_encoder_dsi.c:13:
drivers/gpu/drm/meson/meson_encoder_dsi.c:262:28: error: 'struct meson_encoder_dsi' has no member named 'base'
262 | encoder_dsi->base + MIPI_DSI_TOP_CNTL);
| ^~
arch/arm64/include/asm/io.h:127:82: note: in definition of macro 'writel_relaxed'
127 | #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
| ^
At top level:
drivers/gpu/drm/meson/meson_encoder_dsi.c:140:13: warning: 'dw_mipi_dsi_set_vclk' defined but not used [-Wunused-function]
140 | static void dw_mipi_dsi_set_vclk(struct meson_encoder_dsi *mipi_dsi,
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +240 drivers/gpu/drm/meson/meson_encoder_dsi.c
203
204 static void meson_encoder_dsi_mode_set(struct drm_bridge *bridge,
205 const struct drm_display_mode *mode,
206 const struct drm_display_mode *adjusted_mode)
207 {
208 struct meson_encoder_dsi *encoder_dsi = bridge_to_meson_encoder_dsi(bridge);
209 unsigned int dpi_data_format, venc_data_width;
210 struct meson_drm *priv = encoder_dsi->priv;
211 int bpp;
212 u32 reg;
213
214 encoder_dsi->mode_flags = mode->flags;
215
216 bpp = encoder_dsi_pixel_format_to_bpp(mipi_dsi->dsi_device->format);
217
218 phy_mipi_dphy_get_default_config(mode->clock * 1000,
219 bpp, encoder_dsi->dsi_device->lanes,
220 &encoder_dsi->phy_opts.mipi_dphy);
221
222 phy_configure(encoder_dsi->phy, &mipi_dsi->phy_opts);
223
224 switch (encoder_dsi->dsi_device->format) {
225 case MIPI_DSI_FMT_RGB888:
226 dpi_data_format = COLOR_24BIT;
227 venc_data_width = MIPI_DSI_VENC_COLOR_24B;
228 break;
229 case MIPI_DSI_FMT_RGB666:
230 dpi_data_format = COLOR_18BIT_CFG_2;
231 venc_data_width = MIPI_DSI_VENC_COLOR_18B;
232 break;
233 case MIPI_DSI_FMT_RGB666_PACKED:
234 case MIPI_DSI_FMT_RGB565:
235 /* invalid */
236 break;
237 };
238
239 dw_encoder_dsi_set_vclk(mipi_dsi, mode);
> 240 meson_venc_encoder_dsi_mode_set(priv, mode);
241
242 meson_encl_load_gamma(priv);
243
244 writel_relaxed(0, priv->io_base + _REG(ENCL_VIDEO_EN));
245
246 meson_encoder_dsi_hw_init(encoder_dsi);
247
248 /* Configure Set color format for DPI register */
249 reg = readl_relaxed(encoder_dsi->base + MIPI_DSI_TOP_CNTL) &
250 ~(0xf<<BIT_DPI_COLOR_MODE) &
251 ~(0x7<<BIT_IN_COLOR_MODE) &
252 ~(0x3<<BIT_CHROMA_SUBSAMPLE);
253
254 writel_relaxed(reg |
255 (dpi_data_format << BIT_DPI_COLOR_MODE) |
256 (venc_data_width << BIT_IN_COLOR_MODE) |
257 0 << BIT_COMP0_SEL |
258 1 << BIT_COMP1_SEL |
259 2 << BIT_COMP2_SEL |
260 (encoder_dsi->mode_flags & DRM_MODE_FLAG_NHSYNC ? 0 : BIT(BIT_HSYNC_POL)) |
261 (encoder_dsi->mode_flags & DRM_MODE_FLAG_NVSYNC ? 0 : BIT(BIT_VSYNC_POL)),
262 encoder_dsi->base + MIPI_DSI_TOP_CNTL);
263 }
264
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[linux-next:master 5987/6579] fs/ext4/super.c:2689:51: sparse: sparse: incorrect type in argument 1 (different address spaces)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: ea922272cbe547bdf58da2aaf240d59782c6a009
commit: e6e268cb682290da29e3c8408493a4474307b8cc [5987/6579] ext4: move quota configuration out of handle_mount_opt()
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20211211/202112111727.6cF6r7SQ-lk...)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout e6e268cb682290da29e3c8408493a4474307b8cc
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=m68k SHELL=/bin/bash fs/ext4/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> fs/ext4/super.c:2689:51: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected char const *cs @@ got char [noderef] __rcu * @@
fs/ext4/super.c:2689:51: sparse: expected char const *cs
fs/ext4/super.c:2689:51: sparse: got char [noderef] __rcu *
fs/ext4/super.c:2657:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const *objp @@ got char [noderef] __rcu * @@
fs/ext4/super.c:2657:38: sparse: expected void const *objp
fs/ext4/super.c:2657:38: sparse: got char [noderef] __rcu *
vim +2689 fs/ext4/super.c
2663
2664 /*
2665 * Check quota settings consistency.
2666 */
2667 static int ext4_check_quota_consistency(struct fs_context *fc,
2668 struct super_block *sb)
2669 {
2670 #ifdef CONFIG_QUOTA
2671 struct ext4_fs_context *ctx = fc->fs_private;
2672 struct ext4_sb_info *sbi = EXT4_SB(sb);
2673 bool quota_feature = ext4_has_feature_quota(sb);
2674 bool quota_loaded = sb_any_quota_loaded(sb);
2675 int i;
2676
2677 if (ctx->qname_spec && quota_loaded) {
2678 if (quota_feature)
2679 goto err_feature;
2680
2681 for (i = 0; i < EXT4_MAXQUOTAS; i++) {
2682 if (!(ctx->qname_spec & (1 << i)))
2683 continue;
2684
2685 if (!!sbi->s_qf_names[i] != !!ctx->s_qf_names[i])
2686 goto err_jquota_change;
2687
2688 if (sbi->s_qf_names[i] && ctx->s_qf_names[i] &&
> 2689 strcmp(sbi->s_qf_names[i],
2690 ctx->s_qf_names[i]) != 0)
2691 goto err_jquota_specified;
2692 }
2693 }
2694
2695 if (ctx->s_jquota_fmt) {
2696 if (sbi->s_jquota_fmt != ctx->s_jquota_fmt && quota_loaded)
2697 goto err_quota_change;
2698 if (quota_feature) {
2699 ext4_msg(NULL, KERN_INFO, "Quota format mount options "
2700 "ignored when QUOTA feature is enabled");
2701 return 0;
2702 }
2703 }
2704 return 0;
2705
2706 err_quota_change:
2707 ext4_msg(NULL, KERN_ERR,
2708 "Cannot change quota options when quota turned on");
2709 return -EINVAL;
2710 err_jquota_change:
2711 ext4_msg(NULL, KERN_ERR, "Cannot change journaled quota "
2712 "options when quota turned on");
2713 return -EINVAL;
2714 err_jquota_specified:
2715 ext4_msg(NULL, KERN_ERR, "%s quota file already specified",
2716 QTYPE2NAME(i));
2717 return -EINVAL;
2718 err_feature:
2719 ext4_msg(NULL, KERN_ERR, "Journaled quota options ignored "
2720 "when QUOTA feature is enabled");
2721 return 0;
2722 #else
2723 return 0;
2724 #endif
2725 }
2726
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
[chenxing:msc313_mainlining 66/73] drivers/irqchip/irq-msc313-pm-wakeup.c:132:9: warning: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result'
by kernel test robot
tree: git://github.com/linux-chenxing/linux.git msc313_mainlining
head: 5e3741656d3316ae3aad27aab949cf42b09a803e
commit: e864bf0c3324aa13e0efe2d1f4a7b92c797f92ba [66/73] irqchip: MStar wakeup intc
config: alpha-randconfig-r001-20211211 (https://download.01.org/0day-ci/archive/20211211/202112111641.E105jEr1-lk...)
compiler: alpha-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/linux-chenxing/linux/commit/e864bf0c3324aa13e0efe2d1f4...
git remote add chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags chenxing msc313_mainlining
git checkout e864bf0c3324aa13e0efe2d1f4a7b92c797f92ba
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/irqchip/ drivers/mtd/spi-nor/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/irqchip/irq-msc313-pm-wakeup.c: In function 'msc313_pm_wakeup_intc_of_init':
>> drivers/irqchip/irq-msc313-pm-wakeup.c:132:9: warning: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' [-Wunused-result]
132 | request_irq(irq, msc313_pm_wakeup_intc_chainedhandler, IRQF_SHARED,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 | "pmsleep", domain);
| ~~~~~~~~~~~~~~~~~~
vim +132 drivers/irqchip/irq-msc313-pm-wakeup.c
97
98 static int __init msc313_pm_wakeup_intc_of_init(struct device_node *node,
99 struct device_node *parent)
100 {
101 int ret = 0, irq;
102 struct regmap *pmsleep;
103 struct msc313_sleep_intc *intc;
104 struct irq_domain *domain;
105
106 irq = of_irq_get(node, 0);
107 if (irq <= 0)
108 return irq;
109
110 pmsleep = syscon_regmap_lookup_by_phandle(node, "mstar,pmsleep");
111 if (IS_ERR(pmsleep))
112 return PTR_ERR(pmsleep);
113
114 intc = kzalloc(sizeof(*intc), GFP_KERNEL);
115 if (!intc)
116 return -ENOMEM;
117
118 intc->mask = regmap_field_alloc(pmsleep, field_mask);
119 intc->type = regmap_field_alloc(pmsleep, field_type);
120 intc->status = regmap_field_alloc(pmsleep, field_status);
121
122 /* The masks survive deep sleep so clear them. */
123 regmap_field_write(intc->mask, ~0);
124
125 domain = irq_domain_add_linear(node, NUM_IRQ,
126 &msc313_pm_wakeup_intc_domain_ops, intc);
127 if (!domain) {
128 ret = -ENOMEM;
129 goto out_free;
130 }
131
> 132 request_irq(irq, msc313_pm_wakeup_intc_chainedhandler, IRQF_SHARED,
133 "pmsleep", domain);
134
135 return 0;
136
137 out_free:
138 kfree(intc);
139 return ret;
140 }
141
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
9 months, 1 week
Re: Mutual Investment Proposal
by Luis Fernandez
Good Day,
My name is Luis Fernandez, I am contacting you because we have
investors that have the capacity to invest in any massive project
in your country or invest in your existing project that requires
funding.
Kindly get back to me for more details.
Regards
Luis Fernandez
9 months, 1 week
Cash app unique names-how to create it?
by tonystark797123@gmail.com
Cash app users may easily save the different mane of their cash app account while creating their account. They have the facilities for Cash app cashtag names according to their choice. Certain kinds of hassles however may appear but users can get rid of those easily with the help of the cash app support executives. They have complete knowledge of management and how to guide their cash app customer. https://www.squarecashhelps.com/blog/best-cash-app-cashtag-example/
9 months, 1 week
Cash app unique names-how to create it?
by tonystark797123@gmail.com
Cash app users may easily save the different mane of their cash app account while creating their account. They have the facilities for Cash app cashtag names according to their choice. Certain kinds of hassles however may appear but users can get rid of those easily with the help of the cash app support executives. They have complete knowledge of management and how to guide their cash app customer.
https://www.squarecashhelps.com/blog/best-cash-app-cashtag-example/
9 months, 1 week