Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp876599pxb; Tue, 1 Feb 2022 12:14:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJywS+RzF8s0jl7erS8MzmBor5xrDAB9cMpqkgrDymdCOg7YjgxVtGX7RcGYtLmMq1Pt1aiN X-Received: by 2002:a17:902:b583:: with SMTP id a3mr22988857pls.77.1643746491419; Tue, 01 Feb 2022 12:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643746491; cv=none; d=google.com; s=arc-20160816; b=WxxD3t5p1niimjtzlGICPWgjMLIqKG1ZMkqrUBgKnJLAkqHXbcdGaTa6MG5fujnoHK NCth73KhZMd3tZaEDtmVjIE1SSimjM202/k0TzZoYhndEo4fyj/3HkfqDa4WDUta4fzB 3/9haOqtN4M4Cdh8rw+AuTatfGiG04r8t8YQHMKPlJxj3H3xZD+WGcHtDWcUcZYlhJMQ O/6L1HMN28rW60eF9ifZrs4hTjarz3D3firQCDVs/kNrAhHZqU/3FAmNm2Wp9AOoi6Zu FfDXUnVjyOeUPSt535ojFtWWkC+84jjwR91gYW2VAaka2bPDK8DHrf46XLMgapTAJAY9 rKDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=AeGh5/pkT7anNIod4ek9d8QWafrUwltlczxMZkFz08s=; b=LY8Ov8MtcBQpXJbwj6AHWT9Vz+pGa16/5lInXm6cKletUQDh97kgnH8x+OF3iR00kI eD8ZhiR06+lI5vwWOznMlKdHJkUwx9wMHB+hqLsbHnjh2xM/I50LUNSVr31noIuewxzT cSuioXfS+Hw1XsAQZq115Z7plYEWlKKqRy+s/yJoRY6/odXWqK/sqQXBZwgtk1pt+qx2 FPgrfgNR7UIFtPWMJ7V8qaRryHGyEHVeTNEraGwmCdel+Ii51uZkoXZ4swg4VQCVqmse rdcr47WfD0TPlaoB2dssxcX2TtXAg85tooCO19PLpE0aArjosSc2cOhLcNMXsfcJJJqw BwCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IOVO5gR8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gg11si3037373pjb.74.2022.02.01.12.14.40; Tue, 01 Feb 2022 12:14:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IOVO5gR8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377637AbiAaM22 (ORCPT + 99 others); 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