CC: [email protected] CC: [email protected] CC: Linux Memory Management List <[email protected]> TO: Helge Deller <[email protected]> CC: Daniel Vetter <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git pending-fixes head: 6098f9527e1d4fdede9898dd5e8672dbb6f6d754 commit: a3f781a9d6114c1d1e01defb7aa234dec45d2a5f [310/403] fbcon: Add option to enable legacy hardware acceleration :::::: branch date: 7 hours ago :::::: commit date: 2 days ago config: riscv-randconfig-c006-20220201 (https://download.01.org/0day-ci/archive/20220204/[email protected]/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a73e4ce6a59b01f0e37037761c1e6889d539d233) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a3f781a9d6114c1d1e01defb7aa234dec45d2a5f git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next pending-fixes git checkout a3f781a9d6114c1d1e01defb7aa234dec45d2a5f # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv clang-analyzer If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> clang-analyzer warnings: (new ones prefixed by >>) ^ include/linux/compiler_types.h:334:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:326:3: note: expanded from macro '__compiletime_assert' if (!(condition)) \ ^ include/linux/list.h:75:2: note: Loop condition is false. Exiting loop WRITE_ONCE(prev->next, new); ^ include/asm-generic/rwonce.h:60:2: note: expanded from macro 'WRITE_ONCE' compiletime_assert_rwonce_type(x); \ ^ include/asm-generic/rwonce.h:36:2: note: expanded from macro 'compiletime_assert_rwonce_type' compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \ ^ include/linux/compiler_types.h:346:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:334:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:318:2: note: expanded from macro '__compiletime_assert' do { \ ^ include/linux/list.h:75:2: note: Dereference of null pointer WRITE_ONCE(prev->next, new); ^ include/asm-generic/rwonce.h:61:2: note: expanded from macro 'WRITE_ONCE' __WRITE_ONCE(x, val); \ ^~~~~~~~~~~~~~~~~~~~ include/asm-generic/rwonce.h:55:30: note: expanded from macro '__WRITE_ONCE' *(volatile typeof(x) *)&(x) = (val); \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. >> drivers/video/fbdev/core/fbcon.c:1037:2: warning: Value stored to 'cap' is >> never read [clang-analyzer-deadcode.DeadStores] cap = info->flags; ^ ~~~~~~~~~~~ drivers/video/fbdev/core/fbcon.c:1037:2: note: Value stored to 'cap' is never read cap = info->flags; ^ ~~~~~~~~~~~ drivers/video/fbdev/core/fbcon.c:3342:4: warning: Value stored to 'pending' is never read [clang-analyzer-deadcode.DeadStores] pending = cancel_work_sync(&info->queue); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/video/fbdev/core/fbcon.c:3342:4: note: Value stored to 'pending' is never read pending = cancel_work_sync(&info->queue); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Suppressed 3 warnings (2 in non-user code, 1 with check filters). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 5 warnings generated. kernel/rcu/refscale.c:621:4: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy] strcat(buf, "\n"); ^~~~~~ kernel/rcu/refscale.c:621:4: note: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(buf, "\n"); ^~~~~~ kernel/rcu/refscale.c:626:3: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy] strcat(buf, buf1); ^~~~~~ kernel/rcu/refscale.c:626:3: note: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(buf, buf1); ^~~~~~ kernel/rcu/refscale.c:709:3: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy] strcat(buf, buf1); ^~~~~~ kernel/rcu/refscale.c:709:3: note: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat(buf, buf1); ^~~~~~ Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 3 warnings generated. drivers/gpu/drm/drm_framebuffer.c:855:2: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 [clang-analyzer-security.insecureAPI.strcpy] strcpy(fb->comm, current->comm); ^~~~~~ drivers/gpu/drm/drm_framebuffer.c:855:2: note: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 strcpy(fb->comm, current->comm); ^~~~~~ Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. 2 warnings generated. Suppressed 2 warnings (2 in non-user code). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. vim +/cap +1037 drivers/video/fbdev/core/fbcon.c ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1019 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1020 static void fbcon_init(struct vc_data *vc, int init) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1021 { 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1022 struct fb_info *info; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1023 struct fbcon_ops *ops; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1024 struct vc_data **default_mode = vc->vc_display_fg; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1025 struct vc_data *svc = *default_mode; 50233393f0cf9b drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1026 struct fbcon_display *t, *p = &fb_display[vc->vc_num]; a1ac250a82a5e9 drivers/video/fbdev/core/fbcon.c Peilin Ye 2020-11-12 1027 int logo = 1, new_rows, new_cols, rows, cols; 87ab9f6b741734 drivers/video/fbdev/core/fbcon.c Helge Deller 2022-02-02 1028 int cap, ret; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1029 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1030 if (WARN_ON(info_idx == -1)) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1031 return; 306958e8e8d150 drivers/video/console/fbcon.c Adrian Bunk 2005-05-01 1032 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1033 if (con2fb_map[vc->vc_num] == -1) 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1034 con2fb_map[vc->vc_num] = info_idx; 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1035 1f4ed2fb01f80f drivers/video/fbdev/core/fbcon.c Daniel Vetter 2019-05-28 1036 info = registered_fb[con2fb_map[vc->vc_num]]; 87ab9f6b741734 drivers/video/fbdev/core/fbcon.c Helge Deller 2022-02-02 @1037 cap = info->flags; 306958e8e8d150 drivers/video/console/fbcon.c Adrian Bunk 2005-05-01 1038 3c5a1b111373e6 drivers/video/fbdev/core/fbcon.c Andreas Schwab 2019-05-06 1039 if (logo_shown < 0 && console_loglevel <= CONSOLE_LOGLEVEL_QUIET) 10993504d64735 drivers/video/fbdev/core/fbcon.c Prarit Bhargava 2019-02-08 1040 logo_shown = FBCON_LOGO_DONTSHOW; 10993504d64735 drivers/video/fbdev/core/fbcon.c Prarit Bhargava 2019-02-08 1041 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1042 if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW || ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1043 (info->fix.type == FB_TYPE_TEXT)) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1044 logo = 0; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1045 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1046 if (var_to_display(p, &info->var, info)) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1047 return; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1048 d1baa4ffa677bf drivers/video/console/fbcon.c Antonino A. Daplas 2007-07-17 1049 if (!info->fbcon_par) d1baa4ffa677bf drivers/video/console/fbcon.c Antonino A. Daplas 2007-07-17 1050 con2fb_acquire_newinfo(vc, info, vc->vc_num, -1); d1baa4ffa677bf drivers/video/console/fbcon.c Antonino A. Daplas 2007-07-17 1051 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1052 /* If we are not the first console on this ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1053 fb, copy the font from that console */ e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1054 t = &fb_display[fg_console]; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1055 if (!p->fontdata) { e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1056 if (t->fontdata) { e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1057 struct vc_data *fvc = vc_cons[fg_console].d; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1058 e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1059 vc->vc_font.data = (void *)(p->fontdata = e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1060 fvc->vc_font.data); e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1061 vc->vc_font.width = fvc->vc_font.width; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1062 vc->vc_font.height = fvc->vc_font.height; a1ac250a82a5e9 drivers/video/fbdev/core/fbcon.c Peilin Ye 2020-11-12 1063 vc->vc_font.charcount = fvc->vc_font.charcount; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1064 p->userfont = t->userfont; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1065 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1066 if (p->userfont) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1067 REFCOUNT(p->fontdata)++; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1068 } else { e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1069 const struct font_desc *font = NULL; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1070 e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1071 if (!fontname[0] || !(font = find_font(fontname))) e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1072 font = get_default_font(info->var.xres, 2d2699d9849248 drivers/video/console/fbcon.c Antonino A. Daplas 2007-05-08 1073 info->var.yres, 2d2699d9849248 drivers/video/console/fbcon.c Antonino A. Daplas 2007-05-08 1074 info->pixmap.blit_x, 2d2699d9849248 drivers/video/console/fbcon.c Antonino A. Daplas 2007-05-08 1075 info->pixmap.blit_y); e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1076 vc->vc_font.width = font->width; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1077 vc->vc_font.height = font->height; e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1078 vc->vc_font.data = (void *)(p->fontdata = font->data); a1ac250a82a5e9 drivers/video/fbdev/core/fbcon.c Peilin Ye 2020-11-12 1079 vc->vc_font.charcount = font->charcount; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1080 } e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1081 } e614b18dcedb24 drivers/video/console/fbcon.c Antonino A. Daplas 2006-06-26 1082 b8c909454f046b drivers/video/console/fbcon.c Antonino A. Daplas 2005-09-09 1083 vc->vc_can_do_color = (fb_get_color_depth(&info->var, &info->fix)!=1); ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1084 vc->vc_complement_mask = vc->vc_can_do_color ? 0x7700 : 0x0800; a1ac250a82a5e9 drivers/video/fbdev/core/fbcon.c Peilin Ye 2020-11-12 1085 if (vc->vc_font.charcount == 256) { ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1086 vc->vc_hi_font_mask = 0; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1087 } else { ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1088 vc->vc_hi_font_mask = 0x100; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1089 if (vc->vc_can_do_color) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1090 vc->vc_complement_mask <<= 1; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1091 } ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1092 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1093 if (!*svc->vc_uni_pagedir_loc) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1094 con_set_default_unimap(svc); ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1095 if (!*vc->vc_uni_pagedir_loc) ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1096 con_copy_unimap(vc, svc); ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1097 e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1098 ops = info->fbcon_par; f235f664a8afab drivers/video/console/fbcon.c Scot Doyle 2015-10-09 1099 ops->cur_blink_jiffies = msecs_to_jiffies(vc->vc_cur_blink_ms); c9e6a36492504e drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1100 2428e59b530928 drivers/video/console/fbcon.c Marcin Slusarz 2008-02-06 1101 p->con_rotate = initial_rotation; c9e6a36492504e drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1102 if (p->con_rotate == -1) c9e6a36492504e drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1103 p->con_rotate = info->fbcon_rotate_hint; c9e6a36492504e drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1104 if (p->con_rotate == -1) f2f4946b0adfd6 drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1105 p->con_rotate = FB_ROTATE_UR; c9e6a36492504e drivers/video/fbdev/core/fbcon.c Hans de Goede 2017-11-25 1106 b73deed32d0874 drivers/video/console/fbcon.c Antonino A. Daplas 2006-01-09 1107 set_blitting_type(vc, info); e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1108 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1109 cols = vc->vc_cols; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1110 rows = vc->vc_rows; e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1111 new_cols = FBCON_SWAP(ops->rotate, info->var.xres, info->var.yres); e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1112 new_rows = FBCON_SWAP(ops->rotate, info->var.yres, info->var.xres); e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1113 new_cols /= vc->vc_font.width; e4fc27618b7523 drivers/video/console/fbcon.c Antonino A. Daplas 2005-11-08 1114 new_rows /= vc->vc_font.height; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1115 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1116 /* ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1117 * We must always set the mode. The mode of the previous console ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1118 * driver could be in the same resolution but we are using different ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1119 * hardware so we have to initialize the hardware. ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1120 * ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1121 * We need to do it in fbcon_init() to prevent screen corruption. ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1122 */ 6ca8dfd78187d8 drivers/video/console/fbcon.c Jiri Slaby 2016-06-23 1123 if (con_is_visible(vc) && vc->vc_mode == KD_TEXT) { ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1124 if (info->fbops->fb_set_par && 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1125 !(ops->flags & FBCON_FLAGS_INIT)) { 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1126 ret = info->fbops->fb_set_par(info); 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1127 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1128 if (ret) 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1129 printk(KERN_ERR "fbcon_init: detected " 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1130 "unhandled fb_set_par error, " 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1131 "error code %d\n", ret); 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1132 } 0fcf6ada2b8eb4 drivers/video/console/fbcon.c Florian Tobias Schandinat 2009-09-22 1133 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1134 ops->flags |= FBCON_FLAGS_INIT; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1135 } ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1136 ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1137 ops->graphics = 0; ^1da177e4c3f41 drivers/video/console/fbcon.c Linus Torvalds 2005-04-16 1138 :::::: The code at line 1037 was first introduced by commit :::::: 87ab9f6b7417349aa197a6c7098d4fdd4beebb74 Revert "fbcon: Disable accelerated scrolling" :::::: TO: Helge Deller <[email protected]> :::::: CC: Daniel Vetter <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
