Paste #130754

   
pasted on 29.12.2019 19:13
  • Edit to this paste
  • Print
  • Raw
  • The following pastes replied to this paste:  # 141759 # 196234
  • Show paste tree
  • Compare with paste
    #  
  • Toggle line numbers
  • Syntax highlighting  
Text paste
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
[AppLoader] Use shipped PC/SC Lite smart card framework.
An up-to-date "pcsc-lite-libs" or "libpcsclite1" package from your system is preferred.
[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                        done
/etc/init.d/vmware: line 73: /sbin/lsmod: No such file or directory
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                                done
/etc/init.d/vmware: line 93: /sbin/lsmod: No such file or directory
make: Entering directory '/tmp/modconfig-SAUUuv/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-5.4.6-calculate'
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/statVarsVmmon.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/sharedAreaVmmon.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/task.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/monLoaderVmmon.o
In file included from ./arch/x86/include/asm/processor.h:5,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71:
./arch/x86/include/asm/processor-flags.h:39: warning: "CR3_PCID_MASK" redefined
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:53:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: note: this is the location of the previous definition
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:512: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: note: this is the location of the previous definition
  474 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:700: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: note: this is the location of the previous definition
  134 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./arch/x86/include/asm/mmu.h:5,
                 from ./arch/x86/include/asm/desc.h:7,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:71:
./arch/x86/include/asm/msr-index.h:709: warning: "MSR_TSX_FORCE_ABORT" redefined
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/task.c:51:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: note: this is the location of the previous definition
  633 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/monLoader.o
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  134 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  474 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined
  633 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
/tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o: warning: objtool: .text.__x86_indirect_thunk_rbx+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmmon-only/common/memtrack.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/vmmblob.o
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/bootstrap/bootstrap.o
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:45:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
/tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-SAUUuv/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  134 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  474 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:43,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined
  633 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/binfmts.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.c:32:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  134 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  474 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:134: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  134 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:700: note: this is the location of the previous definition
  700 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.h:33,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:47:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined
  633 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/paravirt_types.h:46,
                 from ./arch/x86/include/asm/ptrace.h:94,
                 from ./arch/x86/include/asm/math_emu.h:5,
                 from ./arch/x86/include/asm/processor.h:12,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:474: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  474 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:512: note: this is the location of the previous definition
  512 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86msr.h:633: warning: "MSR_TSX_FORCE_ABORT" redefined
  633 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-SAUUuv/vmmon-only/vmcore/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:709: note: this is the location of the previous definition
  709 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-SAUUuv/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:49:
/tmp/modconfig-SAUUuv/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/processor.h:5,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:38,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/wait.h:9,
                 from ./include/linux/wait_bit.h:8,
                 from ./include/linux/fs.h:6,
                 from ./include/linux/highmem.h:5,
                 from /tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
/tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c: In function 'LinuxDriver_Ioctl':
/tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:1536:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]
 1536 | #if VMX86_DEVEL
      |     ^~~~~~~~~~~
At top level:
/tmp/modconfig-SAUUuv/vmmon-only/linux/driver.c:961:1: warning: always_inline function might not be inlinable [-Wattributes]
  961 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
      | ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmmon-only/linux/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4a5: indirect call found in RETPOLINE build
/tmp/modconfig-SAUUuv/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
/tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmmon-only/linux/hostif.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
  LD [M]  /tmp/modconfig-SAUUuv/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC [M]  /tmp/modconfig-SAUUuv/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/modconfig-SAUUuv/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-SAUUuv/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-SAUUuv/vmmon-only'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory '/tmp/modconfig-SAUUuv/vmmon-only'
make: Entering directory '/tmp/modconfig-SAUUuv/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-5.4.6-calculate'
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/smac_compat.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o
  CC [M]  /tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o
/tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o: warning: objtool: .text.__x86_indirect_thunk_r12+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/vnetEvent.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2284: warning: "PCI_VENDOR_ID_VMWARE" redefined
 2284 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38,
                 from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:43:
/tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
   56 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2285: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38,
                 from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-SAUUuv/vmnet-only/netif.c:43:
/tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:74: note: this is the location of the previous definition
   74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
/tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/vnetUserListener.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmnet-only/userif.c: In function 'VNetCsumCopyDatagram':
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:571:15: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size'
  571 |       if (frag->size > 0) {
      |               ^~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:575:29: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page'; did you mean 'bv_page'?
  575 |   vaddr = compat_kmap(frag->page);
      |                             ^~~~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:84:36: note: in definition of macro 'compat_kmap'
   84 | #   define compat_kmap(page) kmap((page).p)
      |                                    ^~~~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:576:49: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page_offset'; did you mean 'bv_offset'?
  576 |   tmpCsum = csum_and_copy_to_user(vaddr + frag->page_offset,
      |                                                 ^~~~~~~~~~~
      |                                                 bv_offset
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:577:17: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size'
  577 |       curr, frag->size, 0, &err);
      |                 ^~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:578:23: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'page'; did you mean 'bv_page'?
  578 |   compat_kunmap(frag->page);
      |                       ^~~~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:85:40: note: in definition of macro 'compat_kunmap'
   85 | #   define compat_kunmap(page) kunmap((page).p)
      |                                        ^~~~
/tmp/modconfig-SAUUuv/vmnet-only/userif.c:584:15: error: 'skb_frag_t' {aka 'const struct bio_vec'} has no member named 'size'
  584 |   curr += frag->size;
      |               ^~
/tmp/modconfig-SAUUuv/vmnet-only/procfs.o: warning: objtool: .text.__x86_indirect_thunk_r10+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/procfs.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38,
                 from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:53:
/tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
   56 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2284: note: this is the location of the previous definition
 2284 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-SAUUuv/vmnet-only/net.h:38,
                 from /tmp/modconfig-SAUUuv/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:53:
/tmp/modconfig-SAUUuv/vmnet-only/vm_device_version.h:74: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
   74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-SAUUuv/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2285: note: this is the location of the previous definition
 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
/tmp/modconfig-SAUUuv/vmnet-only/driver.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/driver.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmnet-only/hub.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/hub.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmnet-only/bridge.o: warning: objtool: .text.__x86_indirect_thunk_rcx+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmnet-only/bridge.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
make[1]: *** [Makefile:1652: /tmp/modconfig-SAUUuv/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate'
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-SAUUuv/vmnet-only'
make: Entering directory '/tmp/modconfig-SAUUuv/vmci-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.4.6-calculate/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-5.4.6-calculate'
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/linux/driver.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciContext.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/modconfig-SAUUuv/vmci-only/driverLog.o
/tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o: warning: objtool: .text.__x86_indirect_thunk_rdx+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciResource.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:60:
/tmp/modconfig-SAUUuv/vmci-only/./shared/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
   56 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_pci.h:27,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:49:
./include/linux/pci_ids.h:2284: note: this is the location of the previous definition
 2284 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:60:
/tmp/modconfig-SAUUuv/vmci-only/./shared/vm_device_version.h:74: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
   74 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_pci.h:27,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:49:
./include/linux/pci_ids.h:2285: note: this is the location of the previous definition
 2285 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVAInvalidPointer':
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:53: error: macro "access_ok" passed 3 arguments, but takes just 2
 1462 |    return !access_ok(VERIFY_WRITE, (void *)uva, size);
      |                                                     ^
In file included from ./include/linux/uaccess.h:11,
                 from ./include/linux/poll.h:12,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:38:
./arch/x86/include/asm/uaccess.h:93: note: macro "access_ok" defined here
   93 | #define access_ok(addr, size)     \
      | 
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:12: error: 'access_ok' undeclared (first use in this function)
 1462 |    return !access_ok(VERIFY_WRITE, (void *)uva, size);
      |            ^~~~~~~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1462:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVALockPage':
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1492:43: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-pointer-types]
 1492 |    retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
      |                                           ^~~~~
      |                                           |
      |                                           struct page **
In file included from ./include/linux/highmem.h:8,
                 from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_highmem.h:22,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:41:
./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
 1526 |        struct vm_area_struct **vmas);
      |        ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1492:13: error: too many arguments to function 'get_user_pages'
 1492 |    retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
      |             ^~~~~~~~~~~~~~
In file included from ./include/linux/highmem.h:8,
                 from /tmp/modconfig-SAUUuv/vmci-only/./shared/compat_highmem.h:22,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:41:
./include/linux/mm.h:1524:6: note: declared here
 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'vmci_enable_msix':
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1747:13: error: implicit declaration of function 'pci_enable_msix'; did you mean 'pci_enable_msi'? [-Werror=implicit-function-declaration]
 1747 |    result = pci_enable_msix(pdev, vmci_dev.msix_entries, VMCI_MAX_INTRS);
      |             ^~~~~~~~~~~~~~~
      |             pci_enable_msi
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'vmci_exit':
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:2521:14: error: void value not ignored as it ought to be
 2521 |       retval = misc_deregister(&linuxState.misc);
      |              ^
/tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciDatagram.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIHost_WaitForCallLocked':
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:378:8: error: implicit declaration of function 'signal_pending' [-Werror=implicit-function-declaration]
  378 |    if (signal_pending(current)) {
      |        ^~~~~~~~~~~~~~
/tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciEvent.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c: In function 'VMCIUserVAInvalidPointer':
/tmp/modconfig-SAUUuv/vmci-only/linux/driver.c:1463:1: warning: control reaches end of non-void function [-Wreturn-type]
 1463 | }
      | ^
cc1: some warnings being treated as errors
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function '__VMCIMemcpyToQueue':
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1223:16: error: implicit declaration of function 'memcpy_fromiovec'; did you mean 'memcpy_fromio'? [-Werror=implicit-function-declaration]
 1223 |          err = memcpy_fromiovec((uint8 *)va + pageOffset, iov, toCopy);
      |                ^~~~~~~~~~~~~~~~
      |                memcpy_fromio
make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmci-only/linux/driver.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function '__VMCIMemcpyFromQueue':
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1298:16: error: implicit declaration of function 'memcpy_toiovec'; did you mean 'memcpy_toio'? [-Werror=implicit-function-declaration]
 1298 |          err = memcpy_toiovec(iov, (uint8 *)va + pageOffset, toCopy);
      |                ^~~~~~~~~~~~~~
      |                memcpy_toio
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIReleasePages':
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:1855:7: error: implicit declaration of function 'page_cache_release'; did you mean 'pagecache_get_page'? [-Werror=implicit-function-declaration]
 1855 |       page_cache_release(pages[i]);
      |       ^~~~~~~~~~~~~~~~~~
      |       pagecache_get_page
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c: In function 'VMCIHost_GetUserMemory':
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2073:51: error: passing argument 5 of 'get_user_pages' from incompatible pointer type [-Werror=incompatible-pointer-types]
 2073 |                            produceQ->kernelIf->u.h.headerPage,
      |                            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                                   |
      |                                                   struct page **
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'struct page **'
 1526 |        struct vm_area_struct **vmas);
      |        ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2070:13: error: too many arguments to function 'get_user_pages'
 2070 |    retval = get_user_pages((VA)produceUVA,
      |             ^~~~~~~~~~~~~~
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1524:6: note: declared here
 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
In file included from ./include/linux/thread_info.h:21,
                 from ./arch/x86/include/asm/preempt.h:7,
                 from ./include/linux/preempt.h:78,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/mm.h:10,
                 from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./arch/x86/include/asm/current.h:18:17: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
   18 | #define current get_current()
      |                 ^~~~~~~~~~~~~
      |                 |
      |                 struct task_struct *
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2091:28: note: in expansion of macro 'current'
 2091 |    retval = get_user_pages(current,
      |                            ^~~~~~~
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1524:35: note: expected 'long unsigned int' but argument is of type 'struct task_struct *'
 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                     ~~~~~~~~~~~~~~^~~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2092:35: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [-Wint-conversion]
 2092 |                            current->mm,
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1524:56: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |                                          ~~~~~~~~~~~~~~^~~~~~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2094:46: warning: passing argument 4 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
 2094 |                            consumeQ->kernelIf->numPages,
      |                            ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
      |                                              |
      |                                              size_t {aka long unsigned int}
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1525:46: note: expected 'struct page **' but argument is of type 'size_t' {aka 'long unsigned int'}
 1525 |        unsigned int gup_flags, struct page **pages,
      |                                ~~~~~~~~~~~~~~^~~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2095:28: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [-Wint-conversion]
 2095 |                            1, 0,
      |                            ^
      |                            |
      |                            int
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1526:32: note: expected 'struct vm_area_struct **' but argument is of type 'int'
 1526 |        struct vm_area_struct **vmas);
      |        ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:2091:13: error: too many arguments to function 'get_user_pages'
 2091 |    retval = get_user_pages(current,
      |             ^~~~~~~~~~~~~~
In file included from /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.c:38:
./include/linux/mm.h:1524:6: note: declared here
 1524 | long get_user_pages(unsigned long start, unsigned long nr_pages,
      |      ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:265: /tmp/modconfig-SAUUuv/vmci-only/linux/vmciKernelIf.o] Error 1
/tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciDoorbell.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciQPair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
/tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: .text.__x86_indirect_thunk_rax+0x0: unsupported intra-function call
/tmp/modconfig-SAUUuv/vmci-only/common/vmciQueuePair.o: warning: objtool: If this is a retpoline, please patch it in with alternatives and annotate it with ANNOTATE_NOSPEC_ALTERNATIVE.
make[1]: *** [Makefile:1652: /tmp/modconfig-SAUUuv/vmci-only] Error 2
make[1]: Leaving directory '/usr/src/linux-5.4.6-calculate'
make: *** [Makefile:117: vmci.ko] Error 2
make: Leaving directory '/tmp/modconfig-SAUUuv/vmci-only'
Unable to install all modules.  See log for details.
Add Comment
Author