hc
2024-02-19 1c055e55a242a33e574e48be530e06770a210dcd
kernel/drivers/net/wireless/intersil/hostap/hostap_download.c
....@@ -232,11 +232,11 @@
232232 return ret;
233233 }
234234
235
-static const struct file_operations prism2_download_aux_dump_proc_fops = {
236
- .open = prism2_download_aux_dump_proc_open,
237
- .read = seq_read,
238
- .llseek = seq_lseek,
239
- .release = seq_release_private,
235
+static const struct proc_ops prism2_download_aux_dump_proc_ops = {
236
+ .proc_open = prism2_download_aux_dump_proc_open,
237
+ .proc_read = seq_read,
238
+ .proc_lseek = seq_lseek,
239
+ .proc_release = seq_release_private,
240240 };
241241
242242
....@@ -407,10 +407,8 @@
407407 hcr);
408408 return 0;
409409 } else {
410
- printk(KERN_DEBUG "Readback test failed, HCR 0x%02x "
411
- "write %02x %02x %02x %02x read %02x %02x %02x %02x\n",
412
- hcr, initseq[0], initseq[1], initseq[2], initseq[3],
413
- readbuf[0], readbuf[1], readbuf[2], readbuf[3]);
410
+ printk(KERN_DEBUG "Readback test failed, HCR 0x%02x write %4ph read %4ph\n",
411
+ hcr, initseq, readbuf);
414412 return 1;
415413 }
416414 }