From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4A62C433F5 for ; Mon, 31 Jan 2022 12:28:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377656AbiAaM22 (ORCPT ); Mon, 31 Jan 2022 07:28:28 -0500 Received: from mga18.intel.com ([134.134.136.126]:3813 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377681AbiAaM21 (ORCPT ); Mon, 31 Jan 2022 07:28:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643632107; x=1675168107; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MUL9VYbwSh5fqKgw8W+VoS+LcD26PNUxxQzC6eIkV1k=; b=IOVO5gR84XfTHp4UQdm+mhZRSsFjn/vCCuIxkS3PICTLtzyW3TT+WMK2 McR93/1Clpeq5m2ZrVF05Dfn0bhrGghDSeyxs2Pb2EJ2tb6pYgyeyfKAw VK/ZFzCPwWzrZtIyK/26iVSzT2ibN/X6xAIweo+fvuWnbZmkUip6K3wBL 2PEe45zyksQtElkgoLdAwFFRM8ntUAALKlq+o030yCIgjZTqeQ3+D1iiz REOay2nRnrxbiiAYJEoOT9IgmKVbiPnzkTv6DeUp7xkV3pOcJ+TPgPJlK RweYn71cqDFsveMF45OnWfKU+Hf4dxvffHfAf9ehOQ208+ZGXCK2f/zbl g==; X-IronPort-AV: E=McAfee;i="6200,9189,10243"; a="231021110" X-IronPort-AV: E=Sophos;i="5.88,330,1635231600"; d="scan'208";a="231021110" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 04:28:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,330,1635231600"; d="scan'208";a="479058783" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 31 Jan 2022 04:28:24 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nEVnD-000Ru7-KY; Mon, 31 Jan 2022 12:28:23 +0000 Date: Mon, 31 Jan 2022 20:27:32 +0800 From: kernel test robot To: Yizhuo Zhai Cc: kbuild-all@lists.01.org, linux-fbdev@vger.kernel.org, Xiyu Yang , Tetsuo Handa , Daniel Vetter , Helge Deller , Zheyu Ma , linux-kernel@vger.kernel.org, Matthew Wilcox , Yizhuo Zhai , dri-devel@lists.freedesktop.org Subject: Re: [PATCH] fbdev: fbmem: Fix the implicit type casting Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> References: <20220131065719.1552958-1-yzhai003@ucr.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 047B8C433FE for ; Mon, 31 Jan 2022 12:28:28 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 25F6010E3BF; Mon, 31 Jan 2022 12:28:28 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9E42510E3AE for ; Mon, 31 Jan 2022 12:28:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643632107; x=1675168107; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=MUL9VYbwSh5fqKgw8W+VoS+LcD26PNUxxQzC6eIkV1k=; b=IOVO5gR84XfTHp4UQdm+mhZRSsFjn/vCCuIxkS3PICTLtzyW3TT+WMK2 McR93/1Clpeq5m2ZrVF05Dfn0bhrGghDSeyxs2Pb2EJ2tb6pYgyeyfKAw VK/ZFzCPwWzrZtIyK/26iVSzT2ibN/X6xAIweo+fvuWnbZmkUip6K3wBL 2PEe45zyksQtElkgoLdAwFFRM8ntUAALKlq+o030yCIgjZTqeQ3+D1iiz REOay2nRnrxbiiAYJEoOT9IgmKVbiPnzkTv6DeUp7xkV3pOcJ+TPgPJlK RweYn71cqDFsveMF45OnWfKU+Hf4dxvffHfAf9ehOQ208+ZGXCK2f/zbl g==; X-IronPort-AV: E=McAfee;i="6200,9189,10243"; a="234841140" X-IronPort-AV: E=Sophos;i="5.88,331,1635231600"; d="scan'208";a="234841140" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2022 04:28:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,330,1635231600"; d="scan'208";a="479058783" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 31 Jan 2022 04:28:24 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nEVnD-000Ru7-KY; Mon, 31 Jan 2022 12:28:23 +0000 Date: Mon, 31 Jan 2022 20:27:32 +0800 From: kernel test robot To: Yizhuo Zhai Subject: Re: [PATCH] fbdev: fbmem: Fix the implicit type casting Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> References: <20220131065719.1552958-1-yzhai003@ucr.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu> User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, kbuild-all@lists.01.org, Xiyu Yang , Tetsuo Handa , Daniel Vetter , Helge Deller , Zheyu Ma , linux-kernel@vger.kernel.org, Matthew Wilcox , Yizhuo Zhai , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6047070179386873320==" MIME-Version: 1.0 From: kernel test robot 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 Message-ID: <202201311943.VXU6K1gH-lkp@intel.com> In-Reply-To: <20220131065719.1552958-1-yzhai003@ucr.edu> List-Id: --===============6047070179386873320== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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-Fi= x-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/arch= ive/20220131/202201311943.VXU6K1gH-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/b8f540468e70290c8278fc261= 1adc2f9b38f821f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Yizhuo-Zhai/fbdev-fbmem-Fix-the-im= plicit-type-casting/20220131-150528 git checkout b8f540468e70290c8278fc2611adc2f9b38f821f # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/video/fbdev/core/fbmem.c:1067:1: error: conflicting types for 'f= b_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_SY= MBOL' 98 | extern typeof(sym) sym; \ | ^~~ include/linux/export.h:160:34: note: in expansion of macro '__EXPORT_SYM= BOL' 160 | #define _EXPORT_SYMBOL(sym, sec) __EXPORT_SYMBOL(sym, sec, "") | ^~~~~~~~~~~~~~~ include/linux/export.h:163:29: note: in expansion of macro '_EXPORT_SYMB= OL' 163 | #define EXPORT_SYMBOL(sym) _EXPORT_SYMBOL(sym, "") | ^~~~~~~~~~~~~~ drivers/video/fbdev/core/fbmem.c:1086:1: note: in expansion of macro 'EX= PORT_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 =3D -EINVAL; 1071 = 1072 if (blank > FB_BLANK_POWERDOWN) 1073 blank =3D FB_BLANK_POWERDOWN; 1074 = 1075 event.info =3D info; 1076 event.data =3D ␣ 1077 = 1078 if (info->fbops->fb_blank) 1079 ret =3D 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 --===============6047070179386873320==--