From: kernel test robot <lkp@intel.com>
To: Binbin Zhou <zhoubinbin@loongson.cn>,
Binbin Zhou <zhoubb.aaron@gmail.com>,
Huacai Chen <chenhuacai@loongson.cn>, Lee Jones <lee@kernel.org>,
Corey Minyard <minyard@acm.org>
Cc: oe-kbuild-all@lists.linux.dev, Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev, linux-kernel@vger.kernel.org,
openipmi-developer@lists.sourceforge.net, jeffbai@aosc.io,
kexybiscuit@aosc.io, wangyao@lemote.com,
Chong Qiao <qiaochong@loongson.cn>
Subject: Re: [PATCH v5 1/3] mfd: ls2kbmc: Introduce Loongson-2K BMC core driver
Date: Sat, 21 Jun 2025 06:15:43 +0800 [thread overview]
Message-ID: <202506210652.ipUFDU5B-lkp@intel.com> (raw)
In-Reply-To: <82cbc8558f15981e0953ab229d2afcc5501f982c.1750301674.git.zhoubinbin@loongson.cn>
Hi Binbin,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8ffcb7560b4a15faf821df95e3ab532b2b020f8c]
url: https://github.com/intel-lab-lkp/linux/commits/Binbin-Zhou/mfd-ls2kbmc-Introduce-Loongson-2K-BMC-core-driver/20250620-100856
base: 8ffcb7560b4a15faf821df95e3ab532b2b020f8c
patch link: https://lore.kernel.org/r/82cbc8558f15981e0953ab229d2afcc5501f982c.1750301674.git.zhoubinbin%40loongson.cn
patch subject: [PATCH v5 1/3] mfd: ls2kbmc: Introduce Loongson-2K BMC core driver
config: x86_64-randconfig-123-20250621 (https://download.01.org/0day-ci/archive/20250621/202506210652.ipUFDU5B-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250621/202506210652.ipUFDU5B-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/202506210652.ipUFDU5B-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/mfd/ls2k-bmc-core.c:75:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char *mode @@ got void [noderef] __iomem * @@
drivers/mfd/ls2k-bmc-core.c:75:14: sparse: expected char *mode
drivers/mfd/ls2k-bmc-core.c:75:14: sparse: got void [noderef] __iomem *
vim +75 drivers/mfd/ls2k-bmc-core.c
64
65 /*
66 * Currently the Loongson-2K BMC hardware does not have an I2C interface to adapt to the
67 * resolution. We set the resolution by presetting "video=1280x1024-16@2M" to the BMC memory.
68 */
69 static int ls2k_bmc_parse_mode(struct pci_dev *pdev, struct simplefb_platform_data *pd)
70 {
71 char *mode;
72 int depth, ret;
73
74 /* The last 16M of PCI BAR0 is used to store the resolution string. */
> 75 mode = devm_ioremap(&pdev->dev, pci_resource_start(pdev, 0) + SZ_16M, SZ_16M);
76 if (!mode)
77 return -ENOMEM;
78
79 /* The resolution field starts with the flag "video=". */
80 if (!strncmp(mode, "video=", 6))
81 mode = mode + 6;
82
83 ret = kstrtoint(strsep(&mode, "x"), 10, &pd->width);
84 if (ret)
85 return ret;
86
87 ret = kstrtoint(strsep(&mode, "-"), 10, &pd->height);
88 if (ret)
89 return ret;
90
91 ret = kstrtoint(strsep(&mode, "@"), 10, &depth);
92 if (ret)
93 return ret;
94
95 pd->stride = pd->width * depth / 8;
96 pd->format = depth == 32 ? "a8r8g8b8" : "r5g6b5";
97
98 return 0;
99 }
100
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-06-20 22:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-20 2:06 [PATCH v5 0/3] LoongArch: Add Loongson-2K BMC support Binbin Zhou
2025-06-20 2:06 ` [PATCH v5 1/3] mfd: ls2kbmc: Introduce Loongson-2K BMC core driver Binbin Zhou
2025-06-20 18:33 ` kernel test robot
2025-06-20 18:44 ` kernel test robot
2025-06-20 18:46 ` Corey Minyard
2025-06-20 22:15 ` kernel test robot [this message]
2025-06-20 2:06 ` [PATCH v5 2/3] mfd: ls2kbmc: Add Loongson-2K BMC reset function support Binbin Zhou
2025-06-20 19:35 ` kernel test robot
2025-06-20 2:06 ` [PATCH v5 3/3] ipmi: Add Loongson-2K BMC support Binbin Zhou
2025-06-20 14:16 ` [PATCH v5 0/3] LoongArch: " Corey Minyard
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=202506210652.ipUFDU5B-lkp@intel.com \
--to=lkp@intel.com \
--cc=chenhuacai@loongson.cn \
--cc=jeffbai@aosc.io \
--cc=kernel@xen0n.name \
--cc=kexybiscuit@aosc.io \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=minyard@acm.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=qiaochong@loongson.cn \
--cc=wangyao@lemote.com \
--cc=zhoubb.aaron@gmail.com \
--cc=zhoubinbin@loongson.cn \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®