Re: [PATCH] drivers: GHES_ASSIST feature cause kernel to have a 5ms scheduling latency on AMD ROME's platform
by kbuild test robot
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pm/linux-next]
[also build test ERROR on v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/dianruihui-163-com/drivers-GHES_...
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-rhel (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
drivers/acpi/apei/hest.c: In function 'hest_parse_ghes':
>> drivers/acpi/apei/hest.c:159:26: error: 'CPI_HEST_GHES_ASSIST_MSK' undeclared (first use in this function); did you mean 'ACPI_HEST_GHES_ASSIST_MSK'?
159 | hest_hdr->source_id&CPI_HEST_GHES_ASSIST_MSK)
| ^~~~~~~~~~~~~~~~~~~~~~~~
| ACPI_HEST_GHES_ASSIST_MSK
drivers/acpi/apei/hest.c:159:26: note: each undeclared identifier is reported only once for each function it appears in
vim +159 drivers/acpi/apei/hest.c
150
151 static int __init hest_parse_ghes(struct acpi_hest_header *hest_hdr, void *data)
152 {
153 struct platform_device *ghes_dev;
154 struct ghes_arr *ghes_arr = data;
155 int rc, i;
156
157 if ((hest_hdr->type != ACPI_HEST_TYPE_GENERIC_ERROR &&
158 hest_hdr->type != ACPI_HEST_TYPE_GENERIC_ERROR_V2) ||
> 159 hest_hdr->source_id&CPI_HEST_GHES_ASSIST_MSK)
160 return 0;
161
162 if (!((struct acpi_hest_generic *)hest_hdr)->enabled)
163 return 0;
164 for (i = 0; i < ghes_arr->count; i++) {
165 struct acpi_hest_header *hdr;
166 ghes_dev = ghes_arr->ghes_devs[i];
167 hdr = *(struct acpi_hest_header **)ghes_dev->dev.platform_data;
168 if (hdr->source_id == hest_hdr->source_id) {
169 pr_warn(FW_WARN HEST_PFX "Duplicated hardware error source ID: %d.\n",
170 hdr->source_id);
171 return -EIO;
172 }
173 }
174 ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id);
175 if (!ghes_dev)
176 return -ENOMEM;
177
178 rc = platform_device_add_data(ghes_dev, &hest_hdr, sizeof(void *));
179 if (rc)
180 goto err;
181
182 rc = platform_device_add(ghes_dev);
183 if (rc)
184 goto err;
185 ghes_arr->ghes_devs[ghes_arr->count++] = ghes_dev;
186
187 return 0;
188 err:
189 platform_device_put(ghes_dev);
190 return rc;
191 }
192
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[linux-next:master 6211/14131] arch/powerpc/platforms/cell/spufs/coredump.c:124:11: error: comparison of unsigned expression < 0 is always false
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: 5456ffdee666c66e27ccc1006f9afe83ad55559f [6211/14131] powerpc/spufs: simplify spufs core dumping
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
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
git checkout 5456ffdee666c66e27ccc1006f9afe83ad55559f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/powerpc/platforms/cell/spufs/coredump.c: In function 'spufs_arch_write_note':
>> arch/powerpc/platforms/cell/spufs/coredump.c:124:11: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits]
124 | if (ret < 0)
| ^
cc1: all warnings being treated as errors
vim +124 arch/powerpc/platforms/cell/spufs/coredump.c
101
102 static int spufs_arch_write_note(struct spu_context *ctx, int i,
103 struct coredump_params *cprm, int dfd)
104 {
105 size_t sz = spufs_coredump_read[i].size;
106 char fullname[80];
107 struct elf_note en;
108 size_t ret;
109
110 sprintf(fullname, "SPU/%d/%s", dfd, spufs_coredump_read[i].name);
111 en.n_namesz = strlen(fullname) + 1;
112 en.n_descsz = sz;
113 en.n_type = NT_SPU;
114
115 if (!dump_emit(cprm, &en, sizeof(en)))
116 return -EIO;
117 if (!dump_emit(cprm, fullname, en.n_namesz))
118 return -EIO;
119 if (!dump_align(cprm, 4))
120 return -EIO;
121
122 if (spufs_coredump_read[i].dump) {
123 ret = spufs_coredump_read[i].dump(ctx, cprm);
> 124 if (ret < 0)
125 return ret;
126 } else {
127 char buf[32];
128
129 ret = snprintf(buf, sizeof(buf), "0x%.16llx",
130 spufs_coredump_read[i].get(ctx));
131 if (ret >= sizeof(buf))
132 return sizeof(buf);
133
134 /* count trailing the NULL: */
135 if (!dump_emit(cprm, buf, ret + 1))
136 return -EIO;
137 }
138
139 if (!dump_skip(cprm, roundup(cprm->pos - ret + sz, 4) - cprm->pos))
140 return -EIO;
141 return 0;
142 }
143
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH ghak124 v2] audit: log nftables configuration change events
by kbuild test robot
Hi Richard,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pcmoore-audit/next]
[also build test ERROR on next-20200529]
[cannot apply to nf/master nf-next/master linus/master linux/master v5.7-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Richard-Guy-Briggs/audit-log-nft...
base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/sparc/kernel/ptrace_64.c:25:
>> include/linux/audit.h:126:40: error: 'audit_nftcfgs' defined but not used [-Werror=unused-const-variable=]
126 | static const struct audit_nftcfgop_tab audit_nftcfgs[] = {
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/audit_nftcfgs +126 include/linux/audit.h
125
> 126 static const struct audit_nftcfgop_tab audit_nftcfgs[] = {
127 { NFT_MSG_NEWTABLE, AUDIT_NFT_OP_TABLE_REGISTER },
128 { NFT_MSG_GETTABLE, AUDIT_NFT_OP_INVALID },
129 { NFT_MSG_DELTABLE, AUDIT_NFT_OP_TABLE_UNREGISTER },
130 { NFT_MSG_NEWCHAIN, AUDIT_NFT_OP_CHAIN_REGISTER },
131 { NFT_MSG_GETCHAIN, AUDIT_NFT_OP_INVALID },
132 { NFT_MSG_DELCHAIN, AUDIT_NFT_OP_CHAIN_UNREGISTER },
133 { NFT_MSG_NEWRULE, AUDIT_NFT_OP_RULE_REGISTER },
134 { NFT_MSG_GETRULE, AUDIT_NFT_OP_INVALID },
135 { NFT_MSG_DELRULE, AUDIT_NFT_OP_RULE_UNREGISTER },
136 { NFT_MSG_NEWSET, AUDIT_NFT_OP_SET_REGISTER },
137 { NFT_MSG_GETSET, AUDIT_NFT_OP_INVALID },
138 { NFT_MSG_DELSET, AUDIT_NFT_OP_SET_UNREGISTER },
139 { NFT_MSG_NEWSETELEM, AUDIT_NFT_OP_SETELEM_REGISTER },
140 { NFT_MSG_GETSETELEM, AUDIT_NFT_OP_INVALID },
141 { NFT_MSG_DELSETELEM, AUDIT_NFT_OP_SETELEM_UNREGISTER },
142 { NFT_MSG_NEWGEN, AUDIT_NFT_OP_GEN_REGISTER },
143 { NFT_MSG_GETGEN, AUDIT_NFT_OP_INVALID },
144 { NFT_MSG_TRACE, AUDIT_NFT_OP_INVALID },
145 { NFT_MSG_NEWOBJ, AUDIT_NFT_OP_OBJ_REGISTER },
146 { NFT_MSG_GETOBJ, AUDIT_NFT_OP_INVALID },
147 { NFT_MSG_DELOBJ, AUDIT_NFT_OP_OBJ_UNREGISTER },
148 { NFT_MSG_GETOBJ_RESET, AUDIT_NFT_OP_OBJ_RESET },
149 { NFT_MSG_NEWFLOWTABLE, AUDIT_NFT_OP_FLOWTABLE_REGISTER },
150 { NFT_MSG_GETFLOWTABLE, AUDIT_NFT_OP_INVALID },
151 { NFT_MSG_DELFLOWTABLE, AUDIT_NFT_OP_FLOWTABLE_UNREGISTER },
152 { NFT_MSG_MAX, AUDIT_NFT_OP_INVALID },
153 };
154
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH RESEND v8 2/2] PCI: hip: Add handling of HiSilicon HIP PCIe controller errors
by kbuild test robot
Hi Shiju,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on pci/next]
[also build test WARNING on linus/master v5.7-rc7]
[cannot apply to pm/linux-next linux/master next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Shiju-Jose/ACPI-APEI-Add-support...
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/pci/controller/pcie-hisi-error.c: In function 'hisi_pcie_handle_error':
>> drivers/pci/controller/pcie-hisi-error.c:246:1: warning: the frame size of 1124 bytes is larger than 1024 bytes [-Wframe-larger-than=]
246 | }
| ^
vim +246 drivers/pci/controller/pcie-hisi-error.c
181
182 static void hisi_pcie_handle_error(const struct hisi_pcie_error_data *error,
183 struct platform_device *pdev)
184 {
185 char buf[HISI_PCIE_ERR_INFO_SIZE];
186 char *p = buf, *end = buf + sizeof(buf);
187 struct device *dev = &pdev->dev;
188 u32 i;
189 int rc;
190
191 if (error->val_bits == 0) {
192 dev_warn(dev, "%s: no valid error information\n", __func__);
193 return;
194 }
195
196 /* Logging */
197 p += snprintf(p, end - p, "[ Table version=%d ", error->version);
198 if (error->val_bits & HISI_PCIE_LOCAL_VALID_SOC_ID)
199 p += snprintf(p, end - p, "SOC ID=%d ", error->soc_id);
200
201 if (error->val_bits & HISI_PCIE_LOCAL_VALID_SOCKET_ID)
202 p += snprintf(p, end - p, "socket ID=%d ", error->socket_id);
203
204 if (error->val_bits & HISI_PCIE_LOCAL_VALID_NIMBUS_ID)
205 p += snprintf(p, end - p, "nimbus ID=%d ", error->nimbus_id);
206
207 if (error->val_bits & HISI_PCIE_LOCAL_VALID_SUB_MODULE_ID)
208 p += snprintf(p, end - p, "sub module=%s ",
209 hisi_pcie_sub_module_name(error->sub_module_id));
210
211 if (error->val_bits & HISI_PCIE_LOCAL_VALID_CORE_ID)
212 p += snprintf(p, end - p, "core ID=core%d ", error->core_id);
213
214 if (error->val_bits & HISI_PCIE_LOCAL_VALID_PORT_ID)
215 p += snprintf(p, end - p, "port ID=port%d ", error->port_id);
216
217 if (error->val_bits & HISI_PCIE_LOCAL_VALID_ERR_SEVERITY)
218 p += snprintf(p, end - p, "error severity=%s ",
219 hisi_pcie_error_severity(error->err_severity));
220
221 if (error->val_bits & HISI_PCIE_LOCAL_VALID_ERR_TYPE)
222 p += snprintf(p, end - p, "error type=0x%x ", error->err_type);
223
224 p += snprintf(p, end - p, "]\n");
225 dev_info(dev, "\nHISI : HIP : PCIe controller error\n");
226 dev_info(dev, "%s\n", buf);
227
228 dev_info(dev, "Reg Dump:\n");
229 for (i = 0; i < HISI_PCIE_ERR_MISC_REGS; i++) {
230 if (error->val_bits &
231 BIT_ULL(HISI_PCIE_LOCAL_VALID_ERR_MISC + i))
232 dev_info(dev,
233 "ERR_MISC_%d=0x%x\n", i, error->err_misc[i]);
234 }
235
236 /* Recovery for the PCIe controller errors */
237 if (error->err_severity == HISI_ERR_SEV_RECOVERABLE) {
238 /* try reset PCI port for the error recovery */
239 rc = hisi_pcie_port_do_recovery(pdev, error->socket_id,
240 HISI_PCIE_PORT_ID(error->core_id, error->port_id));
241 if (rc) {
242 dev_info(dev, "fail to do hisi pcie port reset\n");
243 return;
244 }
245 }
> 246 }
247
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[tip:x86/entry 19/19] arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head: 5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 5980d208e5ef28455e9e8b08f6250b443a2f0893 [19/19] x86/idt: Consolidate idt functionality
config: i386-randconfig-c001-20200529 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/x86/kernel/idt.c: In function 'idt_is_f00f_address':
>> arch/x86/kernel/idt.c:177:43: error: expected ';' before ')' token
177 | return (address - idt_descr.address) >> 3) == 6;
| ^
| ;
>> arch/x86/kernel/idt.c:177:43: error: expected statement before ')' token
>> arch/x86/kernel/idt.c:177:45: error: expected expression before '==' token
177 | return (address - idt_descr.address) >> 3) == 6;
| ^~
vim +177 arch/x86/kernel/idt.c
173
174 #ifdef CONFIG_X86_F00F_BUG
175 bool idt_is_f00f_address(unsigned long address)
176 {
> 177 return (address - idt_descr.address) >> 3) == 6;
178 }
179 #endif
180
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH 5/6] USB: sisusbvga: change sisusb_read_mem_bulk
by kbuild test robot
Hi Changming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on balbi-usb/testing/next peter.chen-usb/ci-for-usb-next v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Changming/USB-sisusbvga-series-o...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/usb/misc/sisusbvga/sisusb.c:2996:11: error: initialization of 'ssize_t (*)(struct file *, char *, size_t, loff_t *)' {aka 'int (*)(struct file *, char *, unsigned int, long long int *)'} from incompatible pointer type 'ssize_t (*)(struct file *, u8 *, size_t, loff_t *)' {aka 'int (*)(struct file *, unsigned char *, unsigned int, long long int *)'} [-Werror=incompatible-pointer-types]
2996 | .read = sisusb_read,
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb.c:2996:11: note: (near initialization for 'usb_sisusb_fops.read')
drivers/usb/misc/sisusbvga/sisusb.c:2997:11: error: initialization of 'ssize_t (*)(struct file *, const char *, size_t, loff_t *)' {aka 'int (*)(struct file *, const char *, unsigned int, long long int *)'} from incompatible pointer type 'ssize_t (*)(struct file *, const u8 *, size_t, loff_t *)' {aka 'int (*)(struct file *, const unsigned char *, unsigned int, long long int *)'} [-Werror=incompatible-pointer-types]
2997 | .write = sisusb_write,
| ^~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb.c:2997:11: note: (near initialization for 'usb_sisusb_fops.write')
In file included from drivers/usb/misc/sisusbvga/sisusb.c:54:
drivers/usb/misc/sisusbvga/sisusb_init.h:695:34: warning: 'SiSUSB_VCLKData' defined but not used [-Wunused-const-variable=]
695 | static const struct SiS_VCLKData SiSUSB_VCLKData[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:437:35: warning: 'SiSUSB_CRT1Table' defined but not used [-Wunused-const-variable=]
437 | static const struct SiS_CRT1Table SiSUSB_CRT1Table[] = {
| ^~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:379:30: warning: 'SiSUSB_RefIndex' defined but not used [-Wunused-const-variable=]
379 | static const struct SiS_Ext2 SiSUSB_RefIndex[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:300:29: warning: 'SiSUSB_EModeIDTable' defined but not used [-Wunused-const-variable=]
300 | static const struct SiS_Ext SiSUSB_EModeIDTable[] = {
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:269:36: warning: 'SiSUSB_StandTable' defined but not used [-Wunused-const-variable=]
269 | static const struct SiS_StandTable SiSUSB_StandTable[] = {
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:232:37: warning: 'SiSUSB_ModeResInfo' defined but not used [-Wunused-const-variable=]
232 | static const struct SiS_ModeResInfo SiSUSB_ModeResInfo[] = {
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:224:37: warning: 'SiSUSB_StResInfo' defined but not used [-Wunused-const-variable=]
224 | static const struct SiS_StResInfo_S SiSUSB_StResInfo[] = {
| ^~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:219:28: warning: 'SiSUSB_SModeIDTable' defined but not used [-Wunused-const-variable=]
219 | static const struct SiS_St SiSUSB_SModeIDTable[] = {
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:206:28: warning: 'SiS_VGA_DAC' defined but not used [-Wunused-const-variable=]
206 | static const unsigned char SiS_VGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:195:28: warning: 'SiS_EGA_DAC' defined but not used [-Wunused-const-variable=]
195 | static const unsigned char SiS_EGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:184:28: warning: 'SiS_CGA_DAC' defined but not used [-Wunused-const-variable=]
184 | static const unsigned char SiS_CGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:173:28: warning: 'SiS_MDA_DAC' defined but not used [-Wunused-const-variable=]
173 | static const unsigned char SiS_MDA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:171:29: warning: 'ModeIndex_1280x1024' defined but not used [-Wunused-const-variable=]
171 | static const unsigned short ModeIndex_1280x1024[] = { 0x3a, 0x4d, 0x00, 0x65 };
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:170:29: warning: 'ModeIndex_1280x768' defined but not used [-Wunused-const-variable=]
170 | static const unsigned short ModeIndex_1280x768[] = { 0x23, 0x24, 0x00, 0x25 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:169:29: warning: 'ModeIndex_1280x720' defined but not used [-Wunused-const-variable=]
169 | static const unsigned short ModeIndex_1280x720[] = { 0x79, 0x75, 0x00, 0x78 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:168:29: warning: 'ModeIndex_1152x864' defined but not used [-Wunused-const-variable=]
168 | static const unsigned short ModeIndex_1152x864[] = { 0x29, 0x2a, 0x00, 0x2b };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:167:29: warning: 'ModeIndex_1024x576' defined but not used [-Wunused-const-variable=]
167 | static const unsigned short ModeIndex_1024x576[] = { 0x71, 0x74, 0x00, 0x77 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:166:29: warning: 'ModeIndex_1024x768' defined but not used [-Wunused-const-variable=]
166 | static const unsigned short ModeIndex_1024x768[] = { 0x38, 0x4a, 0x00, 0x64 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:165:29: warning: 'ModeIndex_960x600' defined but not used [-Wunused-const-variable=]
165 | static const unsigned short ModeIndex_960x600[] = { 0x20, 0x21, 0x00, 0x22 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:164:29: warning: 'ModeIndex_960x540' defined but not used [-Wunused-const-variable=]
164 | static const unsigned short ModeIndex_960x540[] = { 0x1d, 0x1e, 0x00, 0x1f };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:163:29: warning: 'ModeIndex_856x480' defined but not used [-Wunused-const-variable=]
163 | static const unsigned short ModeIndex_856x480[] = { 0x3f, 0x42, 0x00, 0x45 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:162:29: warning: 'ModeIndex_848x480' defined but not used [-Wunused-const-variable=]
162 | static const unsigned short ModeIndex_848x480[] = { 0x39, 0x3b, 0x00, 0x3e };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:161:29: warning: 'ModeIndex_800x600' defined but not used [-Wunused-const-variable=]
161 | static const unsigned short ModeIndex_800x600[] = { 0x30, 0x47, 0x00, 0x63 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:160:29: warning: 'ModeIndex_800x480' defined but not used [-Wunused-const-variable=]
160 | static const unsigned short ModeIndex_800x480[] = { 0x70, 0x7a, 0x00, 0x76 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:159:29: warning: 'ModeIndex_768x576' defined but not used [-Wunused-const-variable=]
159 | static const unsigned short ModeIndex_768x576[] = { 0x5f, 0x60, 0x00, 0x61 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:158:29: warning: 'ModeIndex_720x576' defined but not used [-Wunused-const-variable=]
158 | static const unsigned short ModeIndex_720x576[] = { 0x32, 0x34, 0x00, 0x36 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:157:29: warning: 'ModeIndex_720x480' defined but not used [-Wunused-const-variable=]
157 | static const unsigned short ModeIndex_720x480[] = { 0x31, 0x33, 0x00, 0x35 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:156:29: warning: 'ModeIndex_640x480' defined but not used [-Wunused-const-variable=]
156 | static const unsigned short ModeIndex_640x480[] = { 0x2e, 0x44, 0x00, 0x62 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:155:29: warning: 'ModeIndex_640x400' defined but not used [-Wunused-const-variable=]
155 | static const unsigned short ModeIndex_640x400[] = { 0x2f, 0x5d, 0x00, 0x5e };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:154:29: warning: 'ModeIndex_512x384' defined but not used [-Wunused-const-variable=]
154 | static const unsigned short ModeIndex_512x384[] = { 0x52, 0x58, 0x00, 0x5c };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:153:29: warning: 'ModeIndex_400x300' defined but not used [-Wunused-const-variable=]
153 | static const unsigned short ModeIndex_400x300[] = { 0x51, 0x57, 0x00, 0x54 };
vim +2996 drivers/usb/misc/sisusbvga/sisusb.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 2991
066202dd48cf32 Luiz Fernando N. Capitulino 2006-08-05 2992 static const struct file_operations usb_sisusb_fops = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2993 .owner = THIS_MODULE,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2994 .open = sisusb_open,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2995 .release = sisusb_release,
^1da177e4c3f41 Linus Torvalds 2005-04-16 @2996 .read = sisusb_read,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2997 .write = sisusb_write,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2998 .llseek = sisusb_lseek,
022e468e139573 Jiri Slaby 2019-01-22 2999 #ifdef CONFIG_COMPAT
^1da177e4c3f41 Linus Torvalds 2005-04-16 3000 .compat_ioctl = sisusb_compat_ioctl,
^1da177e4c3f41 Linus Torvalds 2005-04-16 3001 #endif
49f15255465321 Alan Cox 2008-05-22 3002 .unlocked_ioctl = sisusb_ioctl
^1da177e4c3f41 Linus Torvalds 2005-04-16 3003 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 3004
:::::: The code at line 2996 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH 5/6] USB: sisusbvga: change sisusb_read_mem_bulk
by kbuild test robot
Hi Changming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on balbi-usb/testing/next v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Changming/USB-sisusbvga-series-o...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/usb/misc/sisusbvga/sisusb.c:2996:11: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, char *, size_t, loff_t *)' (aka 'long (*)(struct file *, char *, unsigned long, long long *)') with an expression of type 'ssize_t (struct file *, u8 *, size_t, loff_t *)' (aka 'long (struct file *, unsigned char *, unsigned long, long long *)') [-Werror,-Wincompatible-function-pointer-types]
.read = sisusb_read,
^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb.c:2997:11: error: incompatible function pointer types initializing 'ssize_t (*)(struct file *, const char *, size_t, loff_t *)' (aka 'long (*)(struct file *, const char *, unsigned long, long long *)') with an expression of type 'ssize_t (struct file *, const u8 *, size_t, loff_t *)' (aka 'long (struct file *, const unsigned char *, unsigned long, long long *)') [-Werror,-Wincompatible-function-pointer-types]
.write = sisusb_write,
^~~~~~~~~~~~
2 errors generated.
vim +2996 drivers/usb/misc/sisusbvga/sisusb.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 2991
066202dd48cf32 Luiz Fernando N. Capitulino 2006-08-05 2992 static const struct file_operations usb_sisusb_fops = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2993 .owner = THIS_MODULE,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2994 .open = sisusb_open,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2995 .release = sisusb_release,
^1da177e4c3f41 Linus Torvalds 2005-04-16 @2996 .read = sisusb_read,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2997 .write = sisusb_write,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2998 .llseek = sisusb_lseek,
022e468e139573 Jiri Slaby 2019-01-22 2999 #ifdef CONFIG_COMPAT
^1da177e4c3f41 Linus Torvalds 2005-04-16 3000 .compat_ioctl = sisusb_compat_ioctl,
^1da177e4c3f41 Linus Torvalds 2005-04-16 3001 #endif
49f15255465321 Alan Cox 2008-05-22 3002 .unlocked_ioctl = sisusb_ioctl
^1da177e4c3f41 Linus Torvalds 2005-04-16 3003 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 3004
:::::: The code at line 2996 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
[linux-next:master 13212/14131] arch/riscv/mm/ptdump.c:255:17: error: initialization of 'void (*)(struct ptdump_state *, long unsigned int, int, u64)' {aka 'void (*)(struct ptdump_state *, long unsigned int, int, long long unsigned int)'} from incompatible pointer type 'void (*)(struct ptdump_state *, long unsigned int, int, long unsigned int)'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e7b08814b16b80a0bf76eeca16317f8c2ed23b8c
commit: 8e1fbb89ffff1b66d68ad6f28b5dda689def97d9 [13212/14131] mm: ptdump: expand type of 'val' in note_page()
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
git checkout 8e1fbb89ffff1b66d68ad6f28b5dda689def97d9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
arch/riscv/mm/ptdump.c: In function 'ptdump_walk':
>> arch/riscv/mm/ptdump.c:255:17: error: initialization of 'void (*)(struct ptdump_state *, long unsigned int, int, u64)' {aka 'void (*)(struct ptdump_state *, long unsigned int, int, long long unsigned int)'} from incompatible pointer type 'void (*)(struct ptdump_state *, long unsigned int, int, long unsigned int)' [-Werror=incompatible-pointer-types]
255 | .note_page = note_page,
| ^~~~~~~~~
arch/riscv/mm/ptdump.c:255:17: note: (near initialization for 'st.ptdump.note_page')
arch/riscv/mm/ptdump.c: In function 'ptdump_check_wx':
arch/riscv/mm/ptdump.c:277:17: error: initialization of 'void (*)(struct ptdump_state *, long unsigned int, int, u64)' {aka 'void (*)(struct ptdump_state *, long unsigned int, int, long long unsigned int)'} from incompatible pointer type 'void (*)(struct ptdump_state *, long unsigned int, int, long unsigned int)' [-Werror=incompatible-pointer-types]
277 | .note_page = note_page,
| ^~~~~~~~~
arch/riscv/mm/ptdump.c:277:17: note: (near initialization for 'st.ptdump.note_page')
cc1: some warnings being treated as errors
vim +255 arch/riscv/mm/ptdump.c
59c4da8640ccf4 Zong Li 2020-03-12 247
59c4da8640ccf4 Zong Li 2020-03-12 248 static void ptdump_walk(struct seq_file *s)
59c4da8640ccf4 Zong Li 2020-03-12 249 {
59c4da8640ccf4 Zong Li 2020-03-12 250 struct pg_state st = {
59c4da8640ccf4 Zong Li 2020-03-12 251 .seq = s,
59c4da8640ccf4 Zong Li 2020-03-12 252 .marker = address_markers,
59c4da8640ccf4 Zong Li 2020-03-12 253 .level = -1,
59c4da8640ccf4 Zong Li 2020-03-12 254 .ptdump = {
59c4da8640ccf4 Zong Li 2020-03-12 @255 .note_page = note_page,
59c4da8640ccf4 Zong Li 2020-03-12 256 .range = (struct ptdump_range[]) {
59c4da8640ccf4 Zong Li 2020-03-12 257 {KERN_VIRT_START, ULONG_MAX},
59c4da8640ccf4 Zong Li 2020-03-12 258 {0, 0}
59c4da8640ccf4 Zong Li 2020-03-12 259 }
59c4da8640ccf4 Zong Li 2020-03-12 260 }
59c4da8640ccf4 Zong Li 2020-03-12 261 };
59c4da8640ccf4 Zong Li 2020-03-12 262
59c4da8640ccf4 Zong Li 2020-03-12 263 ptdump_walk_pgd(&st.ptdump, &init_mm, NULL);
59c4da8640ccf4 Zong Li 2020-03-12 264 }
59c4da8640ccf4 Zong Li 2020-03-12 265
:::::: The code at line 255 was first introduced by commit
:::::: 59c4da8640ccf4721d54d36835706f3eefb521a4 riscv: Add support to dump the kernel page tables
:::::: TO: Zong Li <zong.li(a)sifive.com>
:::::: CC: Palmer Dabbelt <palmerdabbelt(a)google.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [Intel-gfx] [RFC PATCH 1/1] drm/mm: add ig_frag selftest
by kbuild test robot
Hi Nirmoy,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Nirmoy-Das/drm-mm-add-ig_frag-se...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: arc-randconfig-m031-20200531 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
smatch warnings:
drivers/gpu/drm/selftests/test-drm_mm.c:1084 igt_frag() warn: unsigned 'insert_time1' is never less than zero.
drivers/gpu/drm/selftests/test-drm_mm.c:1088 igt_frag() warn: unsigned 'insert_time2' is never less than zero.
vim +/insert_time1 +1084 drivers/gpu/drm/selftests/test-drm_mm.c
1069
1070 static int igt_frag(void *ignored)
1071 {
1072 const struct insert_mode *mode;
1073 unsigned int insert_time1, insert_time2;
1074 unsigned int insert_size = 10000;
1075 unsigned int scale_factor = 4;
1076 /* tolerate 10% excess insertion duration */
1077 unsigned int error_factor = 110;
1078 int ret = -EINVAL;
1079
1080 for (mode = insert_modes; mode->name; mode++) {
1081 unsigned int expected_time;
1082
1083 insert_time1 = get_insert_time(insert_size, mode);
> 1084 if (insert_time1 < 0)
1085 goto err;
1086
1087 insert_time2 = get_insert_time((insert_size * 2), mode);
> 1088 if (insert_time2 < 0)
1089 goto err;
1090
1091 expected_time = (scale_factor * insert_time1 *
1092 error_factor)/100;
1093 if (insert_time2 > expected_time) {
1094 pr_err("%s fragmented insert took more %u msecs\n",
1095 mode->name, insert_time2 - expected_time);
1096 goto err;
1097 }
1098
1099 pr_info("%s fragmented insert of %u and %u insertions took %u and %u msecs\n",
1100 mode->name, insert_size, insert_size * 2, insert_time1,
1101 insert_time2);
1102 }
1103
1104 ret = 0;
1105 err:
1106 return ret;
1107 }
1108
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months
Re: [PATCH 5/6] USB: sisusbvga: change sisusb_read_mem_bulk
by kbuild test robot
Hi Changming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on usb/usb-testing]
[also build test ERROR on balbi-usb/testing/next peter.chen-usb/ci-for-usb-next v5.7-rc7 next-20200529]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Changming/USB-sisusbvga-series-o...
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gcc (GCC) 9.3.0
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/usb/misc/sisusbvga/sisusb.c:2996:11: error: initialization of 'ssize_t (*)(struct file *, char *, size_t, loff_t *)' {aka 'long int (*)(struct file *, char *, long unsigned int, long long int *)'} from incompatible pointer type 'ssize_t (*)(struct file *, u8 *, size_t, loff_t *)' {aka 'long int (*)(struct file *, unsigned char *, long unsigned int, long long int *)'} [-Werror=incompatible-pointer-types]
2996 | .read = sisusb_read,
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb.c:2996:11: note: (near initialization for 'usb_sisusb_fops.read')
drivers/usb/misc/sisusbvga/sisusb.c:2997:11: error: initialization of 'ssize_t (*)(struct file *, const char *, size_t, loff_t *)' {aka 'long int (*)(struct file *, const char *, long unsigned int, long long int *)'} from incompatible pointer type 'ssize_t (*)(struct file *, const u8 *, size_t, loff_t *)' {aka 'long int (*)(struct file *, const unsigned char *, long unsigned int, long long int *)'} [-Werror=incompatible-pointer-types]
2997 | .write = sisusb_write,
| ^~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb.c:2997:11: note: (near initialization for 'usb_sisusb_fops.write')
In file included from drivers/usb/misc/sisusbvga/sisusb.c:54:
drivers/usb/misc/sisusbvga/sisusb_init.h:695:34: warning: 'SiSUSB_VCLKData' defined but not used [-Wunused-const-variable=]
695 | static const struct SiS_VCLKData SiSUSB_VCLKData[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:437:35: warning: 'SiSUSB_CRT1Table' defined but not used [-Wunused-const-variable=]
437 | static const struct SiS_CRT1Table SiSUSB_CRT1Table[] = {
| ^~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:379:30: warning: 'SiSUSB_RefIndex' defined but not used [-Wunused-const-variable=]
379 | static const struct SiS_Ext2 SiSUSB_RefIndex[] = {
| ^~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:300:29: warning: 'SiSUSB_EModeIDTable' defined but not used [-Wunused-const-variable=]
300 | static const struct SiS_Ext SiSUSB_EModeIDTable[] = {
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:269:36: warning: 'SiSUSB_StandTable' defined but not used [-Wunused-const-variable=]
269 | static const struct SiS_StandTable SiSUSB_StandTable[] = {
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:232:37: warning: 'SiSUSB_ModeResInfo' defined but not used [-Wunused-const-variable=]
232 | static const struct SiS_ModeResInfo SiSUSB_ModeResInfo[] = {
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:224:37: warning: 'SiSUSB_StResInfo' defined but not used [-Wunused-const-variable=]
224 | static const struct SiS_StResInfo_S SiSUSB_StResInfo[] = {
| ^~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:219:28: warning: 'SiSUSB_SModeIDTable' defined but not used [-Wunused-const-variable=]
219 | static const struct SiS_St SiSUSB_SModeIDTable[] = {
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:206:28: warning: 'SiS_VGA_DAC' defined but not used [-Wunused-const-variable=]
206 | static const unsigned char SiS_VGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:195:28: warning: 'SiS_EGA_DAC' defined but not used [-Wunused-const-variable=]
195 | static const unsigned char SiS_EGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:184:28: warning: 'SiS_CGA_DAC' defined but not used [-Wunused-const-variable=]
184 | static const unsigned char SiS_CGA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:173:28: warning: 'SiS_MDA_DAC' defined but not used [-Wunused-const-variable=]
173 | static const unsigned char SiS_MDA_DAC[] = {
| ^~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:171:29: warning: 'ModeIndex_1280x1024' defined but not used [-Wunused-const-variable=]
171 | static const unsigned short ModeIndex_1280x1024[] = { 0x3a, 0x4d, 0x00, 0x65 };
| ^~~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:170:29: warning: 'ModeIndex_1280x768' defined but not used [-Wunused-const-variable=]
170 | static const unsigned short ModeIndex_1280x768[] = { 0x23, 0x24, 0x00, 0x25 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:169:29: warning: 'ModeIndex_1280x720' defined but not used [-Wunused-const-variable=]
169 | static const unsigned short ModeIndex_1280x720[] = { 0x79, 0x75, 0x00, 0x78 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:168:29: warning: 'ModeIndex_1152x864' defined but not used [-Wunused-const-variable=]
168 | static const unsigned short ModeIndex_1152x864[] = { 0x29, 0x2a, 0x00, 0x2b };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:167:29: warning: 'ModeIndex_1024x576' defined but not used [-Wunused-const-variable=]
167 | static const unsigned short ModeIndex_1024x576[] = { 0x71, 0x74, 0x00, 0x77 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:166:29: warning: 'ModeIndex_1024x768' defined but not used [-Wunused-const-variable=]
166 | static const unsigned short ModeIndex_1024x768[] = { 0x38, 0x4a, 0x00, 0x64 };
| ^~~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:165:29: warning: 'ModeIndex_960x600' defined but not used [-Wunused-const-variable=]
165 | static const unsigned short ModeIndex_960x600[] = { 0x20, 0x21, 0x00, 0x22 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:164:29: warning: 'ModeIndex_960x540' defined but not used [-Wunused-const-variable=]
164 | static const unsigned short ModeIndex_960x540[] = { 0x1d, 0x1e, 0x00, 0x1f };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:163:29: warning: 'ModeIndex_856x480' defined but not used [-Wunused-const-variable=]
163 | static const unsigned short ModeIndex_856x480[] = { 0x3f, 0x42, 0x00, 0x45 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:162:29: warning: 'ModeIndex_848x480' defined but not used [-Wunused-const-variable=]
162 | static const unsigned short ModeIndex_848x480[] = { 0x39, 0x3b, 0x00, 0x3e };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:161:29: warning: 'ModeIndex_800x600' defined but not used [-Wunused-const-variable=]
161 | static const unsigned short ModeIndex_800x600[] = { 0x30, 0x47, 0x00, 0x63 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:160:29: warning: 'ModeIndex_800x480' defined but not used [-Wunused-const-variable=]
160 | static const unsigned short ModeIndex_800x480[] = { 0x70, 0x7a, 0x00, 0x76 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:159:29: warning: 'ModeIndex_768x576' defined but not used [-Wunused-const-variable=]
159 | static const unsigned short ModeIndex_768x576[] = { 0x5f, 0x60, 0x00, 0x61 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:158:29: warning: 'ModeIndex_720x576' defined but not used [-Wunused-const-variable=]
158 | static const unsigned short ModeIndex_720x576[] = { 0x32, 0x34, 0x00, 0x36 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:157:29: warning: 'ModeIndex_720x480' defined but not used [-Wunused-const-variable=]
157 | static const unsigned short ModeIndex_720x480[] = { 0x31, 0x33, 0x00, 0x35 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:156:29: warning: 'ModeIndex_640x480' defined but not used [-Wunused-const-variable=]
156 | static const unsigned short ModeIndex_640x480[] = { 0x2e, 0x44, 0x00, 0x62 };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:155:29: warning: 'ModeIndex_640x400' defined but not used [-Wunused-const-variable=]
155 | static const unsigned short ModeIndex_640x400[] = { 0x2f, 0x5d, 0x00, 0x5e };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:154:29: warning: 'ModeIndex_512x384' defined but not used [-Wunused-const-variable=]
154 | static const unsigned short ModeIndex_512x384[] = { 0x52, 0x58, 0x00, 0x5c };
| ^~~~~~~~~~~~~~~~~
drivers/usb/misc/sisusbvga/sisusb_init.h:153:29: warning: 'ModeIndex_400x300' defined but not used [-Wunused-const-variable=]
153 | static const unsigned short ModeIndex_400x300[] = { 0x51, 0x57, 0x00, 0x54 };
vim +2996 drivers/usb/misc/sisusbvga/sisusb.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 2991
066202dd48cf32 Luiz Fernando N. Capitulino 2006-08-05 2992 static const struct file_operations usb_sisusb_fops = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2993 .owner = THIS_MODULE,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2994 .open = sisusb_open,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2995 .release = sisusb_release,
^1da177e4c3f41 Linus Torvalds 2005-04-16 @2996 .read = sisusb_read,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2997 .write = sisusb_write,
^1da177e4c3f41 Linus Torvalds 2005-04-16 2998 .llseek = sisusb_lseek,
022e468e139573 Jiri Slaby 2019-01-22 2999 #ifdef CONFIG_COMPAT
^1da177e4c3f41 Linus Torvalds 2005-04-16 3000 .compat_ioctl = sisusb_compat_ioctl,
^1da177e4c3f41 Linus Torvalds 2005-04-16 3001 #endif
49f15255465321 Alan Cox 2008-05-22 3002 .unlocked_ioctl = sisusb_ioctl
^1da177e4c3f41 Linus Torvalds 2005-04-16 3003 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 3004
:::::: The code at line 2996 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 11 months