From: kernel test robot <lkp@intel.com>
To: Venkateshwar Rao Gannavarapu
<venkateshwar.rao.gannavarapu@xilinx.com>,
laurent.pinchart@ideasonboard.com, sam@ravnborg.org,
dri-devel@lists.freedesktop.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, airlied@linux.ie,
vgannava@xilinx.com,
Venkateshwar Rao Gannavarapu
<venkateshwar.rao.gannavarapu@xilinx.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2 2/2] drm: xlnx: dsi: Add Xilinx MIPI DSI-Tx subsystem driver
Date: Mon, 27 Jun 2022 06:44:29 +0800 [thread overview]
Message-ID: <202206270612.vJbBPJ9r-lkp@intel.com> (raw)
In-Reply-To: <1655389056-37044-3-git-send-email-venkateshwar.rao.gannavarapu@xilinx.com>
Hi Venkateshwar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on linus/master v5.19-rc3 next-20220624]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Venkateshwar-Rao-Gannavarapu/Add-Xilinx-DSI-Tx-subsystem-DRM-driver/20220616-222008
base: git://anongit.freedesktop.org/drm/drm drm-next
config: mips-randconfig-c004-20220626
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b0d6dd3905db145853c7c744ac92d49b00b1fa20)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/28aa62ffdc1901029bf75961166f4ebba948b9b7
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Venkateshwar-Rao-Gannavarapu/Add-Xilinx-DSI-Tx-subsystem-DRM-driver/20220616-222008
git checkout 28aa62ffdc1901029bf75961166f4ebba948b9b7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/xlnx/xlnx_dsi.c:255:10: error: label at end of compound statement: expected statement
default: /* define */
^
;
1 error generated.
vim +255 drivers/gpu/drm/xlnx/xlnx_dsi.c
227
228 #define MAX_INPUT_SEL_FORMATS 3
229 static u32
230 *xlnx_dsi_bridge_atomic_get_input_bus_fmts(struct drm_bridge *bridge,
231 struct drm_bridge_state *bridge_state,
232 struct drm_crtc_state *crtc_state,
233 struct drm_connector_state *conn_state,
234 u32 output_fmt,
235 unsigned int *num_input_fmts)
236 {
237 u32 *input_fmts;
238 unsigned int i = 0;
239
240 *num_input_fmts = 0;
241 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), GFP_KERNEL);
242 if (!input_fmts)
243 return NULL;
244
245 switch (output_fmt) {
246 case MEDIA_BUS_FMT_FIXED:
247 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24;
248 break;
249 case MEDIA_BUS_FMT_RGB666_1X18:
250 input_fmts[i++] = MEDIA_BUS_FMT_RGB666_1X18;
251 break;
252 case MEDIA_BUS_FMT_RGB565_1X16:
253 input_fmts[i++] = MEDIA_BUS_FMT_RGB565_1X16;
254 break;
> 255 default: /* define */
256 }
257
258 *num_input_fmts = i;
259 if (*num_input_fmts == 0) {
260 kfree(input_fmts);
261 input_fmts = NULL;
262 }
263
264 return input_fmts;
265 }
266
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Venkateshwar Rao Gannavarapu
<venkateshwar.rao.gannavarapu@xilinx.com>,
laurent.pinchart@ideasonboard.com, sam@ravnborg.org,
dri-devel@lists.freedesktop.org
Cc: Venkateshwar Rao Gannavarapu
<venkateshwar.rao.gannavarapu@xilinx.com>,
kbuild-all@lists.01.org, airlied@linux.ie, llvm@lists.linux.dev,
linux-kernel@vger.kernel.org, vgannava@xilinx.com
Subject: Re: [PATCH V2 2/2] drm: xlnx: dsi: Add Xilinx MIPI DSI-Tx subsystem driver
Date: Mon, 27 Jun 2022 06:44:29 +0800 [thread overview]
Message-ID: <202206270612.vJbBPJ9r-lkp@intel.com> (raw)
In-Reply-To: <1655389056-37044-3-git-send-email-venkateshwar.rao.gannavarapu@xilinx.com>
Hi Venkateshwar,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm/drm-next]
[also build test ERROR on linus/master v5.19-rc3 next-20220624]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Venkateshwar-Rao-Gannavarapu/Add-Xilinx-DSI-Tx-subsystem-DRM-driver/20220616-222008
base: git://anongit.freedesktop.org/drm/drm drm-next
config: mips-randconfig-c004-20220626
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b0d6dd3905db145853c7c744ac92d49b00b1fa20)
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
# install mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/28aa62ffdc1901029bf75961166f4ebba948b9b7
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Venkateshwar-Rao-Gannavarapu/Add-Xilinx-DSI-Tx-subsystem-DRM-driver/20220616-222008
git checkout 28aa62ffdc1901029bf75961166f4ebba948b9b7
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/xlnx/xlnx_dsi.c:255:10: error: label at end of compound statement: expected statement
default: /* define */
^
;
1 error generated.
vim +255 drivers/gpu/drm/xlnx/xlnx_dsi.c
227
228 #define MAX_INPUT_SEL_FORMATS 3
229 static u32
230 *xlnx_dsi_bridge_atomic_get_input_bus_fmts(struct drm_bridge *bridge,
231 struct drm_bridge_state *bridge_state,
232 struct drm_crtc_state *crtc_state,
233 struct drm_connector_state *conn_state,
234 u32 output_fmt,
235 unsigned int *num_input_fmts)
236 {
237 u32 *input_fmts;
238 unsigned int i = 0;
239
240 *num_input_fmts = 0;
241 input_fmts = kcalloc(MAX_INPUT_SEL_FORMATS, sizeof(*input_fmts), GFP_KERNEL);
242 if (!input_fmts)
243 return NULL;
244
245 switch (output_fmt) {
246 case MEDIA_BUS_FMT_FIXED:
247 input_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24;
248 break;
249 case MEDIA_BUS_FMT_RGB666_1X18:
250 input_fmts[i++] = MEDIA_BUS_FMT_RGB666_1X18;
251 break;
252 case MEDIA_BUS_FMT_RGB565_1X16:
253 input_fmts[i++] = MEDIA_BUS_FMT_RGB565_1X16;
254 break;
> 255 default: /* define */
256 }
257
258 *num_input_fmts = i;
259 if (*num_input_fmts == 0) {
260 kfree(input_fmts);
261 input_fmts = NULL;
262 }
263
264 return input_fmts;
265 }
266
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-06-26 22:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-16 14:17 [PATCH V2 0/2] Add Xilinx DSI-Tx subsystem DRM driver Venkateshwar Rao Gannavarapu
2022-06-16 14:17 ` Venkateshwar Rao Gannavarapu
2022-06-16 14:17 ` [PATCH V2 1/2] dt-bindings: display: xlnx: Add DSI 2.0 Tx subsystem documentation Venkateshwar Rao Gannavarapu
2022-06-16 14:17 ` Venkateshwar Rao Gannavarapu
2022-06-22 21:06 ` Laurent Pinchart
2022-06-22 21:06 ` Laurent Pinchart
2022-06-16 14:17 ` [PATCH V2 2/2] drm: xlnx: dsi: Add Xilinx MIPI DSI-Tx subsystem driver Venkateshwar Rao Gannavarapu
2022-06-16 14:17 ` Venkateshwar Rao Gannavarapu
2022-06-16 15:48 ` Randy Dunlap
2022-06-16 15:48 ` Randy Dunlap
2022-06-22 22:08 ` Laurent Pinchart
2022-06-22 22:08 ` Laurent Pinchart
2022-06-26 22:44 ` kernel test robot [this message]
2022-06-26 22:44 ` kernel test robot
2022-06-19 6:36 kernel test robot
2022-06-20 2:05 ` kernel test robot
2022-06-20 2:05 ` 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=202206270612.vJbBPJ9r-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=sam@ravnborg.org \
--cc=venkateshwar.rao.gannavarapu@xilinx.com \
--cc=vgannava@xilinx.com \
/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.