From: kernel test robot <lkp@intel.com>
To: Yizhuo Zhai <yzhai003@ucr.edu>
Cc: kbuild-all@lists.01.org, linux-fbdev@vger.kernel.org,
Xiyu Yang <xiyuyang19@fudan.edu.cn>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Helge Deller <deller@gmx.de>, Zheyu Ma <zheyuma97@gmail.com>,
linux-kernel@vger.kernel.org,
Matthew Wilcox <willy@infradead.org>,
Yizhuo Zhai <yzhai003@ucr.edu>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] fbdev: fbmem: Fix the implicit type casting
Date: Mon, 31 Jan 2022 20:27:32 +0800 [thread overview]
Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> (raw)
In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu>
Hi Yizhuo,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.17-rc2 next-20220131]
[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/0day-ci/linux/commits/Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 26291c54e111ff6ba87a164d85d4a4e134b7315c
config: i386-randconfig-c001-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311943.VXU6K1gH-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b8f540468e70290c8278fc2611adc2f9b38f821f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
git checkout b8f540468e70290c8278fc2611adc2f9b38f821f
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/video/fbdev/core/fbmem.c:1067:1: error: conflicting types for 'fb_blank'
1067 | fb_blank(struct fb_info *info, unsigned long blank)
| ^~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
In file included from include/linux/linkage.h:7,
from arch/x86/include/asm/cache.h:5,
from include/linux/cache.h:6,
from include/linux/time.h:5,
from include/linux/stat.h:19,
from include/linux/module.h:13,
from drivers/video/fbdev/core/fbmem.c:14:
drivers/video/fbdev/core/fbmem.c:1086:15: error: conflicting types for 'fb_blank'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~
include/linux/export.h:98:21: note: in definition of macro '___EXPORT_SYMBOL'
98 | extern typeof(sym) sym; \
| ^~~
include/linux/export.h:160:34: note: in expansion of macro '__EXPORT_SYMBOL'
160 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
| ^~~~~~~~~~~~~~~
include/linux/export.h:163:29: note: in expansion of macro '_EXPORT_SYMBOL'
163 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
| ^~~~~~~~~~~~~~
drivers/video/fbdev/core/fbmem.c:1086:1: note: in expansion of macro 'EXPORT_SYMBOL'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
vim +/fb_blank +1067 drivers/video/fbdev/core/fbmem.c
1065
1066 int
> 1067 fb_blank(struct fb_info *info, unsigned long blank)
1068 {
1069 struct fb_event event;
1070 int ret = -EINVAL;
1071
1072 if (blank > FB_BLANK_POWERDOWN)
1073 blank = FB_BLANK_POWERDOWN;
1074
1075 event.info = info;
1076 event.data = ␣
1077
1078 if (info->fbops->fb_blank)
1079 ret = info->fbops->fb_blank(blank, info);
1080
1081 if (!ret)
1082 fb_notifier_call_chain(FB_EVENT_BLANK, &event);
1083
1084 return ret;
1085 }
1086 EXPORT_SYMBOL(fb_blank);
1087
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Yizhuo Zhai <yzhai003@ucr.edu>
Cc: linux-fbdev@vger.kernel.org, kbuild-all@lists.01.org,
Xiyu Yang <xiyuyang19@fudan.edu.cn>,
Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Helge Deller <deller@gmx.de>, Zheyu Ma <zheyuma97@gmail.com>,
linux-kernel@vger.kernel.org,
Matthew Wilcox <willy@infradead.org>,
Yizhuo Zhai <yzhai003@ucr.edu>,
dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] fbdev: fbmem: Fix the implicit type casting
Date: Mon, 31 Jan 2022 20:27:32 +0800 [thread overview]
Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> (raw)
In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu>
Hi Yizhuo,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.17-rc2 next-20220131]
[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/0day-ci/linux/commits/Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 26291c54e111ff6ba87a164d85d4a4e134b7315c
config: i386-randconfig-c001-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311943.VXU6K1gH-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b8f540468e70290c8278fc2611adc2f9b38f821f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
git checkout b8f540468e70290c8278fc2611adc2f9b38f821f
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/video/fbdev/core/fbmem.c:1067:1: error: conflicting types for 'fb_blank'
1067 | fb_blank(struct fb_info *info, unsigned long blank)
| ^~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
In file included from include/linux/linkage.h:7,
from arch/x86/include/asm/cache.h:5,
from include/linux/cache.h:6,
from include/linux/time.h:5,
from include/linux/stat.h:19,
from include/linux/module.h:13,
from drivers/video/fbdev/core/fbmem.c:14:
drivers/video/fbdev/core/fbmem.c:1086:15: error: conflicting types for 'fb_blank'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~
include/linux/export.h:98:21: note: in definition of macro '___EXPORT_SYMBOL'
98 | extern typeof(sym) sym; \
| ^~~
include/linux/export.h:160:34: note: in expansion of macro '__EXPORT_SYMBOL'
160 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
| ^~~~~~~~~~~~~~~
include/linux/export.h:163:29: note: in expansion of macro '_EXPORT_SYMBOL'
163 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
| ^~~~~~~~~~~~~~
drivers/video/fbdev/core/fbmem.c:1086:1: note: in expansion of macro 'EXPORT_SYMBOL'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
vim +/fb_blank +1067 drivers/video/fbdev/core/fbmem.c
1065
1066 int
> 1067 fb_blank(struct fb_info *info, unsigned long blank)
1068 {
1069 struct fb_event event;
1070 int ret = -EINVAL;
1071
1072 if (blank > FB_BLANK_POWERDOWN)
1073 blank = FB_BLANK_POWERDOWN;
1074
1075 event.info = info;
1076 event.data = ␣
1077
1078 if (info->fbops->fb_blank)
1079 ret = info->fbops->fb_blank(blank, info);
1080
1081 if (!ret)
1082 fb_notifier_call_chain(FB_EVENT_BLANK, &event);
1083
1084 return ret;
1085 }
1086 EXPORT_SYMBOL(fb_blank);
1087
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] fbdev: fbmem: Fix the implicit type casting
Date: Mon, 31 Jan 2022 20:27:32 +0800 [thread overview]
Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> (raw)
In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu>
[-- Attachment #1: Type: text/plain, Size: 4097 bytes --]
Hi Yizhuo,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.17-rc2 next-20220131]
[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/0day-ci/linux/commits/Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 26291c54e111ff6ba87a164d85d4a4e134b7315c
config: i386-randconfig-c001-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311943.VXU6K1gH-lkp(a)intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/b8f540468e70290c8278fc2611adc2f9b38f821f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yizhuo-Zhai/fbdev-fbmem-Fix-the-implicit-type-casting/20220131-150528
git checkout b8f540468e70290c8278fc2611adc2f9b38f821f
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/video/fbdev/core/fbmem.c:1067:1: error: conflicting types for 'fb_blank'
1067 | fb_blank(struct fb_info *info, unsigned long blank)
| ^~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
In file included from include/linux/linkage.h:7,
from arch/x86/include/asm/cache.h:5,
from include/linux/cache.h:6,
from include/linux/time.h:5,
from include/linux/stat.h:19,
from include/linux/module.h:13,
from drivers/video/fbdev/core/fbmem.c:14:
drivers/video/fbdev/core/fbmem.c:1086:15: error: conflicting types for 'fb_blank'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~
include/linux/export.h:98:21: note: in definition of macro '___EXPORT_SYMBOL'
98 | extern typeof(sym) sym; \
| ^~~
include/linux/export.h:160:34: note: in expansion of macro '__EXPORT_SYMBOL'
160 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "")
| ^~~~~~~~~~~~~~~
include/linux/export.h:163:29: note: in expansion of macro '_EXPORT_SYMBOL'
163 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "")
| ^~~~~~~~~~~~~~
drivers/video/fbdev/core/fbmem.c:1086:1: note: in expansion of macro 'EXPORT_SYMBOL'
1086 | EXPORT_SYMBOL(fb_blank);
| ^~~~~~~~~~~~~
In file included from drivers/video/fbdev/core/fbmem.c:34:
include/linux/fb.h:591:12: note: previous declaration of 'fb_blank' was here
591 | extern int fb_blank(struct fb_info *info, int blank);
| ^~~~~~~~
vim +/fb_blank +1067 drivers/video/fbdev/core/fbmem.c
1065
1066 int
> 1067 fb_blank(struct fb_info *info, unsigned long blank)
1068 {
1069 struct fb_event event;
1070 int ret = -EINVAL;
1071
1072 if (blank > FB_BLANK_POWERDOWN)
1073 blank = FB_BLANK_POWERDOWN;
1074
1075 event.info = info;
1076 event.data = ␣
1077
1078 if (info->fbops->fb_blank)
1079 ret = info->fbops->fb_blank(blank, info);
1080
1081 if (!ret)
1082 fb_notifier_call_chain(FB_EVENT_BLANK, &event);
1083
1084 return ret;
1085 }
1086 EXPORT_SYMBOL(fb_blank);
1087
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next prev parent reply other threads:[~2022-01-31 12:28 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 6:57 [PATCH] fbdev: fbmem: Fix the implicit type casting Yizhuo Zhai
2022-01-31 6:57 ` Yizhuo Zhai
2022-01-31 10:55 ` kernel test robot
2022-01-31 10:55 ` kernel test robot
2022-01-31 10:55 ` kernel test robot
2022-01-31 11:36 ` kernel test robot
2022-01-31 11:36 ` kernel test robot
2022-01-31 11:36 ` kernel test robot
2022-01-31 12:27 ` kernel test robot [this message]
2022-01-31 12:27 ` kernel test robot
2022-01-31 12:27 ` kernel test robot
2022-02-01 2:35 ` [PATCH v2] " Yizhuo Zhai
2022-02-01 2:35 ` Yizhuo Zhai
2022-02-02 9:02 ` David Laight
2022-02-02 9:02 ` David Laight
2022-02-01 15:02 ` [PATCH] " Helge Deller
2022-02-01 15:02 ` Helge Deller
2022-02-01 22:37 ` Yizhuo Zhai
2022-02-02 17:27 ` Sam Ravnborg
2022-02-02 17:27 ` Sam Ravnborg
2022-02-02 17:36 ` Helge Deller
2022-02-02 17:36 ` Helge Deller
2022-02-02 22:58 ` Yizhuo Zhai
2022-02-02 23:16 ` [PATCH v4] " Yizhuo Zhai
2022-02-02 23:16 ` Yizhuo Zhai
2022-02-02 23:16 ` Yizhuo Zhai
2022-02-02 23:16 ` Yizhuo Zhai
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=202201311943.VXU6K1gH-lkp@intel.com \
--to=lkp@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=penguin-kernel@i-love.sakura.ne.jp \
--cc=willy@infradead.org \
--cc=xiyuyang19@fudan.edu.cn \
--cc=yzhai003@ucr.edu \
--cc=zheyuma97@gmail.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.