hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/hv/vmbus_drv.c
....@@ -1359,8 +1359,7 @@
13591359 * buffer and call into Hyper-V to transfer the data.
13601360 */
13611361 static void hv_kmsg_dump(struct kmsg_dumper *dumper,
1362
- enum kmsg_dump_reason reason,
1363
- struct kmsg_dumper_iter *iter)
1362
+ enum kmsg_dump_reason reason)
13641363 {
13651364 size_t bytes_written;
13661365 phys_addr_t panic_pa;
....@@ -1375,7 +1374,7 @@
13751374 * Write dump contents to the page. No need to synchronize; panic should
13761375 * be single-threaded.
13771376 */
1378
- kmsg_dump_get_buffer(iter, false, hv_panic_page, HV_HYP_PAGE_SIZE,
1377
+ kmsg_dump_get_buffer(dumper, false, hv_panic_page, HV_HYP_PAGE_SIZE,
13791378 &bytes_written);
13801379 if (bytes_written)
13811380 hyperv_report_panic_msg(panic_pa, bytes_written);