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
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685 |
This is a big file! Only the last 128KiB is shown. Click here to download the full log.
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:664:9: note: in expansion of macro 'pr_info'
664 | pr_info("%s addr %x length %x not found!\n", __func__, addr, length);
| ^~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c: In function 'vcu_set_gce_cmd':
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:678:25: note: in expansion of macro 'pr_info'
678 | pr_info("[VCU] CMD_READ wrong addr: 0x%x\n", addr);
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:684:25: note: in expansion of macro 'pr_info'
684 | pr_info("[VCU] CMD_WRITE wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:684:25: note: in expansion of macro 'pr_info'
684 | pr_info("[VCU] CMD_WRITE wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:710:25: note: in expansion of macro 'pr_info'
710 | pr_info("[VCU] CMD_POLL_REG wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:710:25: note: in expansion of macro 'pr_info'
710 | pr_info("[VCU] CMD_POLL_REG wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:727:25: note: in expansion of macro 'pr_info'
727 | pr_info("[VCU] CMD_MEM_MV wrong addr/data: 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:727:25: note: in expansion of macro 'pr_info'
727 | pr_info("[VCU] CMD_MEM_MV wrong addr/data: 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:736:25: note: in expansion of macro 'pr_info'
736 | pr_info("[VCU] CMD_POLL_REG wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcu.c:736:25: note: in expansion of macro 'pr_info'
736 | pr_info("[VCU] CMD_POLL_REG wrong addr: 0x%x 0x%x 0x%x\n",
| ^~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/preempt.h:11,
from ../include/linux/spinlock.h:51,
from ../include/linux/seqlock.h:36,
from ../include/linux/time.h:6,
from ../include/linux/videodev2.h:59,
from ../include/media/videobuf2-v4l2.h:15,
from ../include/media/videobuf2-dma-contig.h:16,
from ../drivers/media/platform/mtk-vcu/mtk_vcodec_mem.h:18,
from ../drivers/media/platform/mtk-vcu/mtk_vcodec_mem.c:15:
../drivers/media/platform/mtk-vcu/mtk_vcodec_mem.c: In function 'mtk_vcu_mem_release':
../include/linux/kern_levels.h:5:25: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/media/platform/mtk-vcu/mtk_vcodec_mem.c:75:17: note: in expansion of macro 'pr_info'
75 | pr_info("Free cmdq pa %llx ref_cnt = %d\n", tmp->pa,
| ^~~~~~~
In file included from ../include/linux/kernel.h:10,
from ../include/linux/list.h:9,
from ../include/linux/module.h:9,
from ../net/ethernet/eth.c:40:
../net/ethernet/eth.c: In function 'eth_type_trans':
../net/ethernet/eth.c:168:22: warning: 'is_multicast_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
168 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
../include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../net/ethernet/eth.c:168:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
168 | if (unlikely(is_multicast_ether_addr_64bits(eth->h_dest))) {
../include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
In file included from ../net/ethernet/eth.c:50:
../include/linux/etherdevice.h:132:20: note: in a call to function 'is_multicast_ether_addr_64bits'
132 | static inline bool is_multicast_ether_addr_64bits(const u8 addr[6+2])
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../net/ethernet/eth.c:169:21: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
169 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../net/ethernet/eth.c:169:21: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
../net/ethernet/eth.c:169:21: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
../include/linux/etherdevice.h:346:20: note: in a call to function 'ether_addr_equal_64bits'
346 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
| ^~~~~~~~~~~~~~~~~~~~~~~
../net/ethernet/eth.c:174:28: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175 | dev->dev_addr)))
| ~~~~~~~~~~~~~~
../include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../net/ethernet/eth.c:174:28: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175 | dev->dev_addr)))
| ~~~~~~~~~~~~~~
../include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../net/ethernet/eth.c:174:28: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
174 | else if (unlikely(!ether_addr_equal_64bits(eth->h_dest,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175 | dev->dev_addr)))
| ~~~~~~~~~~~~~~
../include/linux/compiler.h:77:45: note: in definition of macro 'unlikely'
77 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
../include/linux/etherdevice.h:346:20: note: in a call to function 'ether_addr_equal_64bits'
346 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../net/ipv4/ip_forward.c:33:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/raw.c:68:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/udp_impl.h:4,
from ../net/ipv4/udplite.c:17:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/icmp.c:86:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/af_inet.c:107:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/ping.c:43:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.c:49:
../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.h:94:21: warning: conflicting types for 'mt_cpufreq_get_cur_phy_freq_no_lock' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
94 | extern unsigned int mt_cpufreq_get_cur_phy_freq_no_lock(enum mt_cpu_dvfs_id id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/base/power/cpufreq_v1/inc/mtk_cpufreq_internal.h:51,
from ../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.h:22:
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:76:1: note: previous declaration of 'mt_cpufreq_get_cur_phy_freq_no_lock' with type 'unsigned int(unsigned int)'
76 | mt_cpufreq_get_cur_phy_freq_no_lock(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.c: In function 'check_cm_mgr_status_internal':
../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.c:507:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
507 | memset(count_ack, 0, ARRAY_SIZE(count_ack));
| ^~~~~~
../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.c:522:17: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
522 | memset(max_load, 0, ARRAY_SIZE(count_ack));
| ^~~~~~
In file included from ../drivers/misc/mediatek/base/power/cm_mgr_v1/mt6768/mtk_cm_mgr_platform.c:52:
../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.h:94:21: warning: conflicting types for 'mt_cpufreq_get_cur_phy_freq_no_lock' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
94 | extern unsigned int mt_cpufreq_get_cur_phy_freq_no_lock(enum mt_cpu_dvfs_id id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/base/power/cpufreq_v1/inc/mtk_cpufreq_internal.h:51,
from ../drivers/misc/mediatek/base/power/cm_mgr_v1/mtk_cm_mgr.h:22:
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:76:1: note: previous declaration of 'mt_cpufreq_get_cur_phy_freq_no_lock' with type 'unsigned int(unsigned int)'
76 | mt_cpufreq_get_cur_phy_freq_no_lock(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../net/ipv4/ip_tunnel.c:57:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:145:5: warning: conflicting types for 'mt_cpufreq_update_volt' due to enum/integer mismatch; have 'int(enum mt_cpu_dvfs_id, unsigned int *, int)' [-Wenum-int-mismatch]
145 | int mt_cpufreq_update_volt(enum mt_cpu_dvfs_id id, unsigned int *volt_tbl,
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/base/power/cpufreq_v1/inc/mtk_cpufreq_internal.h:51,
from ../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:14:
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:57:12: note: previous declaration of 'mt_cpufreq_update_volt' with type 'int(unsigned int, unsigned int *, int)'
57 | extern int mt_cpufreq_update_volt(unsigned int cluster_id,
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:165:6: warning: conflicting types for 'mt_cpufreq_update_cci_map_tbl' due to enum/integer mismatch; have 'void(unsigned int, unsigned int, unsigned char, unsigned int, unsigned int)' [-Wenum-int-mismatch]
165 | void mt_cpufreq_update_cci_map_tbl(unsigned int idx_1, unsigned int idx_2,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:90:13: note: previous declaration of 'mt_cpufreq_update_cci_map_tbl' with type 'void(unsigned int, unsigned int, unsigned char, unsigned int, enum cci_tbl_use_id)'
90 | extern void mt_cpufreq_update_cci_map_tbl(unsigned int idx_1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:174:6: warning: conflicting types for 'mt_cpufreq_update_cci_mode' due to enum/integer mismatch; have 'void(unsigned int, unsigned int)' [-Wenum-int-mismatch]
174 | void mt_cpufreq_update_cci_mode(unsigned int mode, unsigned int use_id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:93:13: note: previous declaration of 'mt_cpufreq_update_cci_mode' with type 'void(unsigned int, enum cci_tbl_use_id)'
93 | extern void mt_cpufreq_update_cci_mode(unsigned int mode,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:184:6: warning: conflicting types for 'notify_cpu_volt_sampler' due to enum/integer mismatch; have 'void(enum mt_cpu_dvfs_id, unsigned int, int, int)' [-Wenum-int-mismatch]
184 | void notify_cpu_volt_sampler(enum mt_cpu_dvfs_id id, unsigned int volt,
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:64:13: note: previous declaration of 'notify_cpu_volt_sampler' with type 'void(unsigned int, unsigned int, int, int)'
64 | extern void notify_cpu_volt_sampler(unsigned int cluster_id,
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:220:14: warning: conflicting types for 'mt_cpufreq_get_cur_volt' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
220 | unsigned int mt_cpufreq_get_cur_volt(enum mt_cpu_dvfs_id id)
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:59:21: note: previous declaration of 'mt_cpufreq_get_cur_volt' with type 'unsigned int(unsigned int)'
59 | extern unsigned int mt_cpufreq_get_cur_volt(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:286:14: warning: conflicting types for 'mt_cpufreq_get_cur_freq_idx' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
286 | unsigned int mt_cpufreq_get_cur_freq_idx(enum mt_cpu_dvfs_id id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:84:21: note: previous declaration of 'mt_cpufreq_get_cur_freq_idx' with type 'unsigned int(unsigned int)'
84 | extern unsigned int mt_cpufreq_get_cur_freq_idx(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:331:14: warning: conflicting types for 'mt_cpufreq_get_freq_by_idx' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id, int)' [-Wenum-int-mismatch]
331 | unsigned int mt_cpufreq_get_freq_by_idx(enum mt_cpu_dvfs_id id, int idx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:47:21: note: previous declaration of 'mt_cpufreq_get_freq_by_idx' with type 'unsigned int(unsigned int, int)'
47 | extern unsigned int mt_cpufreq_get_freq_by_idx(unsigned int cluster_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:378:14: warning: conflicting types for 'mt_cpufreq_get_volt_by_idx' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id, int)' [-Wenum-int-mismatch]
378 | unsigned int mt_cpufreq_get_volt_by_idx(enum mt_cpu_dvfs_id id, int idx)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:49:21: note: previous declaration of 'mt_cpufreq_get_volt_by_idx' with type 'unsigned int(unsigned int, int)'
49 | extern unsigned int mt_cpufreq_get_volt_by_idx(unsigned int cluster_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:403:14: warning: conflicting types for 'mt_cpufreq_get_cur_phy_freq_no_lock' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
403 | unsigned int mt_cpufreq_get_cur_phy_freq_no_lock(enum mt_cpu_dvfs_id id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:76:1: note: previous declaration of 'mt_cpufreq_get_cur_phy_freq_no_lock' with type 'unsigned int(unsigned int)'
76 | mt_cpufreq_get_cur_phy_freq_no_lock(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/base/power/cpufreq_v1/src/mtk_cpufreq_api.c:426:14: warning: conflicting types for 'mt_cpufreq_get_cur_phy_freq_idx_no_lock' due to enum/integer mismatch; have 'unsigned int(enum mt_cpu_dvfs_id)' [-Wenum-int-mismatch]
426 | unsigned int mt_cpufreq_get_cur_phy_freq_idx_no_lock(enum mt_cpu_dvfs_id id)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/mt6768/include/mach/mtk_cpufreq_api.h:87:1: note: previous declaration of 'mt_cpufreq_get_cur_phy_freq_idx_no_lock' with type 'unsigned int(unsigned int)'
87 | mt_cpufreq_get_cur_phy_freq_idx_no_lock(unsigned int cluster_id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../net/ipv4/sysctl_net_ipv4.c:24:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/proc.c:39:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/udp_tunnel.c:9:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/esp4.c:19:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/netfilter/nf_socket_ipv4.c:14:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv4/udp_diag.c:16:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv6/af_inet6.c:49:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/boot/mtk_boot_common.c:124:14: warning: conflicting types for 'get_boot_mode' due to enum/integer mismatch; have 'unsigned int(void)' [-Wenum-int-mismatch]
124 | unsigned int get_boot_mode(void)
| ^~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/boot/mtk_boot_common.c:36:
../drivers/misc/mediatek/include/mt-plat/mtk_boot_common.h:43:25: note: previous declaration of 'get_boot_mode' with type 'enum boot_mode_t(void)'
43 | extern enum boot_mode_t get_boot_mode(void);
| ^~~~~~~~~~~~~
../drivers/misc/mediatek/boot/mtk_boot.c:88:14: warning: conflicting types for 'get_meta_com_type' due to enum/integer mismatch; have 'unsigned int(void)' [-Wenum-int-mismatch]
88 | unsigned int get_meta_com_type(void)
| ^~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/boot/mtk_boot.c:33:
../drivers/misc/mediatek/include/mt-plat/mtk_boot.h:27:27: note: previous declaration of 'get_meta_com_type' with type 'enum meta_com_type(void)'
27 | extern enum meta_com_type get_meta_com_type(void);
| ^~~~~~~~~~~~~~~~~
In file included from ../net/ipv6/ipv6_sockglue.c:51:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv6/udp_impl.h:4,
from ../net/ipv6/udp.c:57:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/ipv6/udp_impl.h:4,
from ../net/ipv6/udplite.c:15:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
..
../drivers/misc/mediatek/cameraisp/dpe/mt6768/camera_dpe.c: In function 'DPE_ScheduleDveWork':
../drivers/misc/mediatek/cameraisp/dpe/mt6768/camera_dpe.c:4786:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
4786 | if (bResulst == MFALSE)
| ^~
In file included from ../include/linux/printk.h:390,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/kobject.h:20,
from ../include/linux/device.h:17,
from ../drivers/misc/mediatek/cameraisp/dpe/mt6768/camera_dpe.c:15:
../include/linux/dynamic_debug.h:229:1: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
229 | do { \
| ^~
../include/linux/printk.h:394:9: note: in expansion of macro 'dynamic_pr_debug'
394 | dynamic_pr_debug(KLOG_MODNAME fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/cameraisp/dpe/mt6768/camera_dpe.c:143:37: note: in expansion of macro 'pr_debug'
143 | #define LOG_INF(format, args...) pr_debug(MyTag format, ##args)
| ^~~~~~~~
../drivers/misc/mediatek/cameraisp/dpe/mt6768/camera_dpe.c:4789:17: note: in expansion of macro 'LOG_INF'
4789 | LOG_INF("DVE:bFound:%d, DveWriteIdx:%d, WriteIdx:%d\n",
| ^~~~~~~
In file included from ../net/ipv6/raw.c:50:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
FDVT: Drv use 4.0 folder
..
..
..
..
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/kobject.h:20,
from ../include/linux/device.h:17,
from ../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:42:
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c: In function 'ISP_mmap':
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:35:40: note: in expansion of macro 'pr_notice'
35 | #define LOG_NOTICE(format, args...) pr_notice(MyTag "[%s] " format, \
| ^~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:10033:25: note: in expansion of macro 'LOG_NOTICE'
10033 | LOG_NOTICE(
| ^~~~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:35:40: note: in expansion of macro 'pr_notice'
35 | #define LOG_NOTICE(format, args...) pr_notice(MyTag "[%s] " format, \
| ^~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:10041:25: note: in expansion of macro 'LOG_NOTICE'
10041 | LOG_NOTICE(
| ^~~~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:35:40: note: in expansion of macro 'pr_notice'
35 | #define LOG_NOTICE(format, args...) pr_notice(MyTag "[%s] " format, \
| ^~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:10049:25: note: in expansion of macro 'LOG_NOTICE'
10049 | LOG_NOTICE(
| ^~~~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:35:40: note: in expansion of macro 'pr_notice'
35 | #define LOG_NOTICE(format, args...) pr_notice(MyTag "[%s] " format, \
| ^~~~~~~~~
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:10057:25: note: in expansion of macro 'LOG_NOTICE'
10057 | LOG_NOTICE(
| ^~~~~~~~~~
In file included from ../net/ipv6/ping.c:25:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In function 'ISP_REGISTER_IRQ_USERKEY',
inlined from 'ISP_ioctl' at ../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:7548:14:
../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:6400:26: warning: 'strnlen' specified bound 128 exceeds source size 32 [-Wstringop-overread]
6400 | length = strnlen(userName, USERKEY_STR_LEN);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/cameraisp/src/mt6768/camera_isp.c:112:
../drivers/misc/mediatek/cameraisp/src/mt6768/inc/camera_isp.h: In function 'ISP_ioctl':
../drivers/misc/mediatek/cameraisp/src/mt6768/inc/camera_isp.h:165:14: note: source object allocated here
165 | char userName[32]; /* this size must the same as the icamiopipe api
| ^~~~~~~~
..
../drivers/misc/mediatek/ccci_util/ccci_util_lib_sys.c: In function 'ccci_ft_inf_show':
../drivers/misc/mediatek/ccci_util/ccci_util_lib_sys.c:267:13: warning: the address of 'ccci_get_plat_ft_inf' will always evaluate as 'true' [-Waddress]
267 | if (ccci_get_plat_ft_inf) {
| ^~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/ccu/src/Makefile:27: CCU_MAKE_FILE_CALLED
../drivers/misc/mediatek/ccu/src/1.2/Makefile:24: CCU_INC=../drivers/misc/mediatek/ccu/src/mt6768/ccu_ext_interface
In file included from ../net/ipv6/proc.c:29:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/asm-generic/bug.h:16,
from ../arch/arm64/include/asm/bug.h:38,
from ../include/linux/bug.h:5,
from ../include/linux/mmdebug.h:5,
from ../include/linux/gfp.h:5,
from ../include/linux/slab.h:15,
from ../drivers/misc/mediatek/cmdq/v3/cmdq_sec.c:6:
../drivers/misc/mediatek/cmdq/v3/cmdq_sec.c: In function 'cmdq_sec_exec_task_async_impl':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_helper_ext.h:95:9: note: in expansion of macro 'pr_notice'
95 | pr_notice("[CMDQ][ERR]"string, ##args); \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec.c:1984:25: note: in expansion of macro 'CMDQ_ERR'
1984 | CMDQ_ERR(
| ^~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c: In function 'cmdq_sec_mtee_setup_context':
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:27:46: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
27 | strncpy(tee->ta_uuid, ta_uuid, sizeof(ta_uuid));
| ^
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:28:48: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
28 | strncpy(tee->wsm_uuid, wsm_uuid, sizeof(wsm_uuid));
| ^
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/kobject.h:20,
from ../include/linux/of.h:21,
from ../include/linux/mailbox_client.h:13,
from ../include/linux/soc/mediatek/mtk-cmdq.h:9,
from ../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:15:
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c: In function 'cmdq_sec_mtee_allocate_shared_memory':
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:86:17: note: in expansion of macro 'cmdq_err'
86 | cmdq_err("%s: session:%#x handle:%#x size:%#x buffer:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:171:17: note: in expansion of macro 'pr_notice'
171 | pr_notice("[cmdq] "fmt" @%s,%u\n", \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:90:17: note: in expansion of macro 'cmdq_log'
90 | cmdq_log("%s: session:%#x handle:%#x size:%#x buffer:%#x",
| ^~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c: In function 'cmdq_sec_mtee_allocate_wsm':
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:122:17: note: in expansion of macro 'cmdq_err'
122 | cmdq_err("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:171:17: note: in expansion of macro 'pr_notice'
171 | pr_notice("[cmdq] "fmt" @%s,%u\n", \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:127:9: note: in expansion of macro 'cmdq_log'
127 | cmdq_log("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:142:17: note: in expansion of macro 'cmdq_err'
142 | cmdq_err("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:171:17: note: in expansion of macro 'pr_notice'
171 | pr_notice("[cmdq] "fmt" @%s,%u\n", \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:146:17: note: in expansion of macro 'cmdq_log'
146 | cmdq_log("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:161:17: note: in expansion of macro 'cmdq_err'
161 | cmdq_err("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'void *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:171:17: note: in expansion of macro 'pr_notice'
171 | pr_notice("[cmdq] "fmt" @%s,%u\n", \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_sec_mtee.c:165:17: note: in expansion of macro 'cmdq_log'
165 | cmdq_log("%s: session:%#x handle:%#x size:%#x buffer:%p:%#x",
| ^~~~~~~~
In file included from ../net/ipv6/netfilter/nf_socket_ipv6.c:14:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../drivers/misc/mediatek/cmdq/v3/cmdq_test.c:6:
../drivers/misc/mediatek/cmdq/v3/cmdq_test.c: In function 'cmdq_write_test_proc_config':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_helper_ext.h:81:17: note: in expansion of macro 'pr_notice'
81 | pr_notice("[CMDQ]"string, ##args); \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_test.c:8087:25: note: in expansion of macro 'CMDQ_MSG'
8087 | CMDQ_MSG("TEST_CONFIG: data fail, length:%d\n", len);
| ^~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_helper_ext.h:81:17: note: in expansion of macro 'pr_notice'
81 | pr_notice("[CMDQ]"string, ##args); \
| ^~~~~~~~~
../drivers/misc/mediatek/cmdq/v3/cmdq_test.c:8102:25: note: in expansion of macro 'CMDQ_MSG'
8102 | CMDQ_MSG("TEST_CONFIG: sscanf failed, len:%d\n", len);
| ^~~~~~~~
In file included from ../net/ipv6/sit.c:50:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/module.h:9,
from ../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:19,
from ../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c:15:
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c: In function 'BT_write_iter':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:82:49: note: in expansion of macro 'pr_info'
82 | pr_info(PFX" "fmt"%s\n", ##__VA_ARGS__, raw_buf); \
| ^~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c:431:17: note: in expansion of macro 'BT_LOG_PRT_DBG_RAW'
431 | BT_LOG_PRT_DBG_RAW(o_buf, count, "%s: len[%d], TX: ", __func__, count);
| ^~~~~~~~~~~~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:84:49: note: in expansion of macro 'pr_info'
84 | pr_info(PFX" "fmt"%s (prtail)\n", ##__VA_ARGS__, raw_buf); \
| ^~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c:431:17: note: in expansion of macro 'BT_LOG_PRT_DBG_RAW'
431 | BT_LOG_PRT_DBG_RAW(o_buf, count, "%s: len[%d], TX: ", __func__, count);
| ^~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c: In function 'BT_write':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:82:49: note: in expansion of macro 'pr_info'
82 | pr_info(PFX" "fmt"%s\n", ##__VA_ARGS__, raw_buf); \
| ^~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c:467:17: note: in expansion of macro 'BT_LOG_PRT_DBG_RAW'
467 | BT_LOG_PRT_DBG_RAW(o_buf, count, "%s: len[%d], TX: ", __func__, count);
| ^~~~~~~~~~~~~~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:84:49: note: in expansion of macro 'pr_info'
84 | pr_info(PFX" "fmt"%s (prtail)\n", ##__VA_ARGS__, raw_buf); \
| ^~~~~~~
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/stp_chrdev_bt.c:467:17: note: in expansion of macro 'BT_LOG_PRT_DBG_RAW'
467 | BT_LOG_PRT_DBG_RAW(o_buf, count, "%s: len[%d], TX: ", __func__, count);
| ^~~~~~~~~~~~~~~~~~
In file included from ../net/ipv6/ip6_checksum.c:3:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/fw_log_bt.c:16:
../drivers/misc/mediatek/connectivity/bt/mt66xx/legacy/bt.h:54:16: warning: 'raw_buf' defined but not used [-Wunused-variable]
54 | static uint8_t raw_buf[RAW_MAX_BYTES * 5 + 10];
| ^~~~~~~
../drivers/misc/mediatek/connectivity/common/Makefile:116: wmt_drv build-in boot.img
In file included from ../net/ipv6/ip6_udp_tunnel.c:8:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/connectivity/common/common_main/platform/wmt_plat_alps.c:415:7: warning: conflicting types for 'wmt_plat_sdio_ctrl' due to enum/integer mismatch; have 'INT32(WMT_SDIO_SLOT_NUM, ENUM_FUNC_STATE)' {aka 'int(WMT_SDIO_SLOT_NUM, enum _ENUM_FUNC_STATE_)'} [-Wenum-int-mismatch]
415 | INT32 wmt_plat_sdio_ctrl(WMT_SDIO_SLOT_NUM sdioPortType, ENUM_FUNC_STATE on)
| ^~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/connectivity/common/common_main/platform/wmt_plat_alps.c:61:
../drivers/misc/mediatek/connectivity/common/common_main/include/wmt_plat.h:407:7: note: previous declaration of 'wmt_plat_sdio_ctrl' with type 'INT32(UINT32, ENUM_FUNC_STATE)' {aka 'int(unsigned int, enum _ENUM_FUNC_STATE_)'}
407 | INT32 wmt_plat_sdio_ctrl(UINT32 sdioPortNum, ENUM_FUNC_STATE on);
| ^~~~~~~~~~~~~~~~~~
In file included from ../net/l2tp/l2tp_core.c:54:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/l2tp/l2tp_ppp.c:98:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/connectivity/common/common_main/linux/hif_sdio.c: In function '_hif_sdio_wake_up_ctrl':
../drivers/misc/mediatek/connectivity/common/common_main/linux/hif_sdio.c:505:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
505 | else
| ^~~~
../drivers/misc/mediatek/connectivity/common/common_main/linux/hif_sdio.c:508:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
508 | cccr_value = 0x0;
| ^~~~~~~~~~
../drivers/misc/mediatek/connectivity/wlan/adaptor/Makefile:53: wmt_chrdev_wifi build-in boot.img
os option: linux
$MTK_PLATFORM is [mt6768]
$WLAN_CHIP_ID is [6768]
$MTK_COMBO_CHIP is [CONNAC]
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/Makefile:432: wlan_6768_axi build-in boot.img
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/common/wlan_oid.c: In function 'wlanoidSetNvramWrite':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/common/wlan_oid.c:11548:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
11548 | if (rNvRwInfo->ucMethod == PARAM_EEPROM_WRITE_NVRAM)
| ^~
In file included from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_os.h:254,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/include/precomp.h:82,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/common/wlan_oid.c:72:
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/include/debug.h:382:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
382 | do { \
| ^~
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/common/wlan_oid.c:11553:17: note: in expansion of macro 'DBGLOG'
11553 | DBGLOG(REQ, INFO, "status(%d),index=%#X, data=%#02X\n",
| ^~~~~~
In file included from ../net/netfilter/xt_tcpudp.c:8:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/netfilter/xt_TPROXY.c:17:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../net/netfilter/xt_l2tp.c:17:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_kal.c: In function 'hif_thread':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_kal.c:3950:68: warning: bitwise comparison always evaluates to true [-Wtautological-compare]
3950 | fgEnInt = (prGlueInfo->ulFlag | GLUE_FLAG_INT_BIT) != 0;
| ^~
In file included from ../net/netfilter/xt_socket.c:18:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c: In function 'mtk_cfg80211_testmode_get_sta_statistics':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c:2912:41: warning: the comparison will always evaluate as 'false' for the address of 'aucMacAddr' will never be NULL [-Waddress]
2912 | } else if (prParams->aucMacAddr == NULL) {
| ^~
In file included from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/include/precomp.h:83,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c:77:
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_cfg80211.h:117:17: note: 'aucMacAddr' declared here
117 | uint8_t aucMacAddr[MAC_ADDR_LEN];
| ^~~~~~~~~~
In file included from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_os.h:246,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c:73:
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c: In function 'mtk_cfg80211_testmode_get_link_detection':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_kal.h:853:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
853 | memset(pvAddr, 0, u4Size)
| ^~~~~~
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/gl_cfg80211.c:3321:9: note: in expansion of macro 'kalMemZero'
3321 | kalMemZero(arBugReport, sizeof(struct EVENT_BUG_REPORT));
| ^~~~~~~~~~
In file included from ../net/wireguard/send.c:19:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
In file included from ../include/net/udp_tunnel.h:6,
from ../net/wireguard/socket.c:17:
../include/net/udp.h:453:26: warning: 'udp_encap_needed' defined but not used [-Wunused-variable]
453 | static struct static_key udp_encap_needed __read_mostly;
| ^~~~~~~~~~~~~~~~
../net/wireguard/crypto/zinc/blake2s/blake2s.c: In function 'blake2s_mod_init':
../net/wireguard/crypto/zinc/blake2s/blake2s.c:254:14: warning: 'selftest_run' reading 8 bytes from a region of size 0 [-Wstringop-overread]
254 | if (!selftest_run("blake2s", blake2s_selftest, blake2s_nobs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | ARRAY_SIZE(blake2s_nobs)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~
../net/wireguard/crypto/zinc/blake2s/blake2s.c:254:14: note: referencing argument 3 of type 'bool * const[0]' {aka '_Bool * const[]'}
In file included from ../net/wireguard/crypto/zinc/blake2s/blake2s.c:12:
../net/wireguard/crypto/zinc/blake2s/../selftest/run.h:13:20: note: in a call to function 'selftest_run'
13 | static inline bool selftest_run(const char *name, bool (*selftest)(void),
| ^~~~~~~~~~~~
../net/wireguard/crypto/zinc/curve25519/curve25519.c: In function 'curve25519_mod_init':
../net/wireguard/crypto/zinc/curve25519/curve25519.c:92:14: warning: 'selftest_run' reading 8 bytes from a region of size 0 [-Wstringop-overread]
92 | if (!selftest_run("curve25519", curve25519_selftest, curve25519_nobs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
93 | ARRAY_SIZE(curve25519_nobs)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../net/wireguard/crypto/zinc/curve25519/curve25519.c:92:14: note: referencing argument 3 of type 'bool * const[0]' {aka '_Bool * const[]'}
In file included from ../net/wireguard/crypto/zinc/curve25519/curve25519.c:13:
../net/wireguard/crypto/zinc/curve25519/../selftest/run.h:13:20: note: in a call to function 'selftest_run'
13 | static inline bool selftest_run(const char *name, bool (*selftest)(void),
| ^~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_os.h:246,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/include/precomp.h:82,
from ../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c:64:
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c: In function 'wlanGetHarvardTailerInfo':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c:2014:34: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
2014 | sizeof(prTailers[u4SecIdx].ram_version));
| ^
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_kal.h:865:63: note: in definition of macro 'kalStrnCpy'
865 | #define kalStrnCpy(dest, src, n) strncpy(dest, src, n)
| ^
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c: In function 'wlanGetConnacTailerInfo':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c:2044:26: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
2044 | sizeof(prComTailer->aucRamVersion));
| ^
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/os/linux/include/gl_kal.h:865:63: note: in definition of macro 'kalStrnCpy'
865 | #define kalStrnCpy(dest, src, n) strncpy(dest, src, n)
| ^
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c: In function 'wlanDownloadPatch':
../drivers/misc/mediatek/connectivity/wlan/core/gen4m/chips/common/fw_dl.c:2351:9: note: '#pragma message: ROM code supports SEM-CTRL for ROM patch download'
2351 | #pragma message("ROM code supports SEM-CTRL for ROM patch download")
| ^~~~~~~
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c: In function 'dump_drb_queue_data':
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:465:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
465 | (u32)data_64ptr, (i * 8),
| ^
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:121:58: note: in definition of macro 'DPMA_DRB_DATA_INFO'
121 | ccci_dump_write(0, CCCI_DUMP_DPMA_DRB, 0, fmt, ##args)
| ^~~~
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:478:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
478 | DPMA_DRB_DATA_INFO("%08X(%04d):", (u32)data_8ptr, count * 8);
| ^
../drivers/misc/mediatek/eccci/hif/ccci_hif_dpmaif.c:121:58: note: in definition of macro 'DPMA_DRB_DATA_INFO'
121 | ccci_dump_write(0, CCCI_DUMP_DPMA_DRB, 0, fmt, ##args)
| ^~~~
../drivers/mmc/host/mediatek/ComboA/sd.c: In function 'msdc_ops_get_ro':
../drivers/mmc/host/mediatek/ComboA/sd.c:4418:23: warning: unused variable 'flags' [-Wunused-variable]
4418 | unsigned long flags;
| ^~~~~
../drivers/mmc/host/mediatek/ComboA/dbg.c: In function '__dbg_add_sd_log':
../drivers/mmc/host/mediatek/ComboA/dbg.c:430:20: warning: unused variable 'tag' [-Wunused-variable]
430 | static int tag = -1;
| ^~~
../drivers/mmc/host/mediatek/ComboA/dbg.c: In function 'sd_cmd_dump':
../drivers/mmc/host/mediatek/ComboA/dbg.c:676:23: warning: unused variable 'active_reqs' [-Wunused-variable]
676 | unsigned long active_reqs;
| ^~~~~~~~~~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:675:40: warning: unused variable 'cpu' [-Wunused-variable]
675 | int type, cmd, arg, skip, cnt, cpu;
| ^~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:675:35: warning: unused variable 'cnt' [-Wunused-variable]
675 | int type, cmd, arg, skip, cnt, cpu;
| ^~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:673:30: warning: unused variable 'is_fprg' [-Wunused-variable]
673 | int is_read, is_rel, is_fprg;
| ^~~~~~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:673:22: warning: unused variable 'is_rel' [-Wunused-variable]
673 | int is_read, is_rel, is_fprg;
| ^~~~~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:673:13: warning: unused variable 'is_read' [-Wunused-variable]
673 | int is_read, is_rel, is_fprg;
| ^~~~~~~
../drivers/mmc/host/mediatek/ComboA/dbg.c:672:13: warning: unused variable 'tag' [-Wunused-variable]
672 | int tag = -1;
| ^~~
../drivers/mmc/host/mediatek/ComboA/dbg.c: In function 'msdc_debug_proc_show':
../drivers/mmc/host/mediatek/ComboA/dbg.c:2616:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
2616 | if (id >= HOST_MAX_NUM || id < 0)
| ^~
../drivers/mmc/host/mediatek/ComboA/dbg.c:2619:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
2619 | host = mtk_msdc_host[id];
| ^~~~
../drivers/net/macvlan.c: In function 'macvlan_broadcast_one':
../drivers/net/macvlan.c:238:13: warning: 'ether_addr_equal_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
238 | if (ether_addr_equal_64bits(eth->h_dest, dev->broadcast))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/macvlan.c:238:13: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
../drivers/net/macvlan.c:238:13: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
In file included from ../drivers/net/macvlan.c:26:
../include/linux/etherdevice.h:346:20: note: in a call to function 'ether_addr_equal_64bits'
346 | static inline bool ether_addr_equal_64bits(const u8 addr1[6+2],
| ^~~~~~~~~~~~~~~~~~~~~~~
************ drivers/trusty/mtee-kree mk ************
MTK_GPU_VERSION 1 = mali
../drivers/misc/mediatek/gpu/ged/src/ged_hal.c: In function 'opp_logs_show':
../drivers/misc/mediatek/gpu/ged/src/ged_hal.c:248:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
248 | len += sprintf(buf + len, "%10lu",
| ~~~~^
| |
| long unsigned int
| %10u
249 | 1000 * mt_gpufreq_get_freq_by_idx(i));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| unsigned int
../drivers/misc/mediatek/gpu/ged/src/ged_hal.c:222:16: warning: unused variable 'j' [-Wunused-variable]
222 | int i, j;
| ^
*MTK_GPU_VERSION 2 = bifrost
*MTK_GPU_VERSION 3 = r25p0
mali MTK evironment, building r19p0 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r19p0 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
mali MTK evironment, building r19p0 DDK
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY := y
mtk-Kbuild CONFIG_MALI_PLATFORM_THIRDPARTY_NAME := "mt6768"
imgsensor drv by common ../common/v1/s5kgm1st_mipi_raw/ ../common/v1/ov16a1q_mipi_raw/ ../common/v1/s5k4h7yx_mipi_raw/ ../common/v1/ov64b40_mipi_raw/
../lib/dynamic_debug.c: In function 'dynamic_debug_init':
../lib/dynamic_debug.c:1129:31: warning: comparison between two arrays [-Warray-compare]
1129 | if (__start___verbose == __stop___verbose) {
| ^~
../lib/dynamic_debug.c:1129:31: note: use '&__start___verbose[0] == &__stop___verbose[0]' to compare the addresses
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/ov16a1q_mipi_raw/ov16a1qmipiraw_Sensor.c: In function 'get_imgsensor_id':
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/ov16a1q_mipi_raw/ov16a1qmipiraw_Sensor.c:6601:135: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
6601 | *sensor_id = (read_cmos_sensor_8(0x300A) << 16) | (read_cmos_sensor_8(0x300B)<<8) | read_cmos_sensor_8(0x300C)+1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/ov16a1q_mipi_raw/ov16a1qmipiraw_Sensor.c: In function 'open':
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/ov16a1q_mipi_raw/ov16a1qmipiraw_Sensor.c:6658:134: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
6658 | sensor_id = (read_cmos_sensor_8(0x300A) << 16) | (read_cmos_sensor_8(0x300B)<<8) | read_cmos_sensor_8(0x300C)+1;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/s5kgm1st_mipi_raw/s5kgm1stmipiraw_Sensor.c: In function 'set_max_framerate_by_scenario':
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/s5kgm1st_mipi_raw/s5kgm1stmipiraw_Sensor.c:13664:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
13664 | if (imgsensor.current_fps != imgsensor_info.cap.max_framerate)
| ^~
../drivers/misc/mediatek/imgsensor/src/mt6768/../common/v1/s5kgm1st_mipi_raw/s5kgm1stmipiraw_Sensor.c:13668:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
13668 | frame_length = imgsensor_info.cap.pclk / framerate * 10
| ^~~~~~~~~~~~
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c0@11007000/i2c_lcd_bias@3e has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c0@11007000/fuelguage@62 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c3@1100f000/wireless_chg_rx@2b has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c0@11007000/i2c_lcd_bias@3e
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c0@11007000/i2c_lcd_bias@3e
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c0@11007000/fuelguage@62
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c0@11007000/fuelguage@62
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c3@1100f000/wireless_chg_rx@2b
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c3@1100f000/wireless_chg_rx@2b
../drivers/pinctrl/mediatek/mtk-eint.c: In function 'mtk_eint_mask':
../drivers/pinctrl/mediatek/mtk-eint.c:122:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
122 | u32 mask = BIT(d->hwirq & 0x1f);
| ^~~
../drivers/misc/mediatek/pmic/mt6358/v1/mt6358_gauge.c: In function 'fgauge_read_current':
../drivers/misc/mediatek/pmic/mt6358/v1/mt6358_gauge.c:1034:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1034 | else
| ^~~~
../drivers/misc/mediatek/pmic/mt6358/v1/mt6358_gauge.c:1040:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
1040 | if (gauge_dev->fg_cust_data->r_fg_value != 100) {
| ^~
../drivers/misc/mediatek/pmic/mt6358/v1/pmic_irq.c:89:6: warning: conflicting types for 'pmic_enable_interrupt' due to enum/integer mismatch; have 'void(enum PMIC_IRQ_ENUM, unsigned int, char *)' [-Wenum-int-mismatch]
89 | void pmic_enable_interrupt(enum PMIC_IRQ_ENUM intNo, unsigned int en, char *str)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/pmic/mt6358/v1/pmic_irq.c:23:
../drivers/misc/mediatek/include/mt-plat/upmu_common.h:208:13: note: previous declaration of 'pmic_enable_interrupt' with type 'void(unsigned int, unsigned int, char *)'
208 | extern void pmic_enable_interrupt(unsigned int intNo,
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/pmic/mt6358/v1/pmic_irq.c:135:6: warning: conflicting types for 'pmic_register_interrupt_callback' due to enum/integer mismatch; have 'void(enum PMIC_IRQ_ENUM, void (*)(void))' [-Wenum-int-mismatch]
135 | void pmic_register_interrupt_callback(enum PMIC_IRQ_ENUM intNo,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/include/mt-plat/upmu_common.h:213:13: note: previous declaration of 'pmic_register_interrupt_callback' with type 'void(unsigned int, void (*)(void))'
213 | extern void pmic_register_interrupt_callback(unsigned int intNo
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/performance/fpsgo_v3/fstb/fstb.c: In function 'fstb_tune_window_size_show':
../drivers/misc/mediatek/performance/fpsgo_v3/fstb/fstb.c:1887:44: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=]
1887 | return scnprintf(buf, PAGE_SIZE, "%d\n", FRAME_TIME_WINDOW_SIZE_US);
| ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| int long long int
| %lld
../drivers/misc/mediatek/ram_console/mtk_ram_console.c: In function 'aee_rr_show_last_bus':
../drivers/misc/mediatek/ram_console/mtk_ram_console.c:3418:21: warning: the address of 'mt_lastbus_dump' will always evaluate as 'true' [-Waddress]
3418 | if (mt_lastbus_dump) {
| ^~~~~~~~~~~~~~~
In file included from ../drivers/power/supply/mediatek/charger/mtk_switch_charging.c:66:
../drivers/power/supply/mediatek/charger/mtk_switch_charging.c: In function 'mtk_switch_charging_run':
../drivers/power/supply/mediatek/charger/mtk_charger_intf.h:53:13: warning: statement will never be executed [-Wswitch-unreachable]
53 | if (chr_get_debug_level() >= CHRLOG_ERROR_LEVEL) { \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/power/supply/mediatek/charger/mtk_switch_charging.c:810:25: note: in expansion of macro 'chr_err'
810 | chr_err("%s_2 [%d] %d\n", __func__, swchgalg->state,
| ^~~~~~~
../drivers/misc/mediatek/sensors-1.0/alsps/alsps.c:88:29: warning: argument 1 of type 'int *' declared as a pointer [-Warray-parameter=]
88 | int rgbw_data_report_t(int *value, int64_t time_stamp)
| ~~~~~^~~~~
In file included from ../drivers/misc/mediatek/sensors-1.0/alsps/alsps.c:16:
../drivers/misc/mediatek/sensors-1.0/alsps/inc/alsps.h:198:35: note: previously declared as an array 'int[4]'
198 | extern int rgbw_data_report_t(int value[4], int64_t time_stamp);
| ~~~~^~~~~~~~
../drivers/misc/mediatek/sensors-1.0/alsps/alsps.c:106:27: warning: argument 1 of type 'int *' declared as a pointer [-Warray-parameter=]
106 | int rgbw_data_report(int *value)
| ~~~~~^~~~~
../drivers/misc/mediatek/sensors-1.0/alsps/inc/alsps.h:197:33: note: previously declared as an array 'int[4]'
197 | extern int rgbw_data_report(int value[4]);
| ~~~~^~~~~~~~
In file included from ../drivers/power/supply/mediatek/charger/mtk_switch_charging2.c:65:
../drivers/power/supply/mediatek/charger/mtk_switch_charging2.c: In function 'mtk_switch_charging_run':
../drivers/power/supply/mediatek/charger/mtk_charger_intf.h:53:13: warning: statement will never be executed [-Wswitch-unreachable]
53 | if (chr_get_debug_level() >= CHRLOG_ERROR_LEVEL) { \
| ^~~~~~~~~~~~~~~~~~~~~
../drivers/power/supply/mediatek/charger/mtk_switch_charging2.c:940:25: note: in expansion of macro 'chr_err'
940 | chr_err("%s_2 [%d] %d\n", __func__, swchgalg->state,
| ^~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/wait.h:7,
from ../include/linux/wait_bit.h:8,
from ../include/linux/fs.h:6,
from ../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:5:
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c: In function 'MT5725_add_current':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:813:9: note: in expansion of macro 'pr_err'
813 | pr_err("[%s] Rx Vout:%d\n", __func__,tvoltage);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:815:9: note: in expansion of macro 'pr_err'
815 | pr_err("[%s] Rx Iout:%d\n", __func__,tcurrent);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:852:10: note: in expansion of macro 'pr_err'
852 | pr_err("[%s]: Max charge maxchargecurrent = %d mA\n",__func__,(maxchargecurrent/1000));
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:853:10: note: in expansion of macro 'pr_err'
853 | pr_err("[%s]: Get wireless output voltage = %d mV\n",__func__,voltage);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:855:6: note: in expansion of macro 'pr_err'
855 | pr_err("[%s]: last time,Set input tcurrent = %d mA\n",__func__,tcurrent);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:858:10: note: in expansion of macro 'pr_err'
858 | pr_err("[%s]: powertemp = %d , maxpower = %d\n",__func__,powertemp,maxpower);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:858:10: note: in expansion of macro 'pr_err'
858 | pr_err("[%s]: powertemp = %d , maxpower = %d\n",__func__,powertemp,maxpower);
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:866:17: note: in expansion of macro 'pr_info'
866 | pr_info("[%s] add power = %d mW\n", __func__,powertemp);
| ^~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c: In function 'MT5725_irq_handle':
../include/linux/kern_levels.h:5:25: warning: too many arguments for format [-Wformat-extra-args]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:1086:13: note: in expansion of macro 'pr_info'
1086 | pr_info("[%s] Clear this flag and the system will ping again\n", __func__,fod.value);
| ^~~~~~~
../include/linux/kern_levels.h:5:25: warning: too many arguments for format [-Wformat-extra-args]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:14:25: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
../include/linux/printk.h:367:32: note: in expansion of macro 'KERN_INFO'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:1087:13: note: in expansion of macro 'pr_info'
1087 | pr_info("[%s] In case of FOD, there may be metal in the middle, and TX function needs to be turned off\n", __func__,fod.value);
| ^~~~~~~
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c: In function 'MT5725_probe':
../drivers/power/supply/mediatek/charger/mt5725_wireless_driver-15w.c:1506:5: warning: ignoring return value of 'sysfs_create_group' declared with attribute 'warn_unused_result' [-Wunused-result]
1506 | sysfs_create_group(&client->dev.kobj, &mt5725_sysfs_group);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"CONFIG_MICROTRUST_TEE_VERSION="300""
"CONFIG_MICROTRUST_TEE_SUPPORT=y"
"CONFIG_MICROTRUST_TZ_DRIVER=y"
"CONFIG_MICROTRUST_VFS_DRIVER=y"
"CONFIG_MICROTRUST_FP_DRIVER=y"
"CONFIG_MICROTRUST_DEBUG="
"CONFIG_MICROTRUST_TEST_DRIVERS="
../drivers/misc/mediatek/teei/300/tz_driver/teei_client_main.c:201:23: warning: 'mask' defined but not used [-Wunused-variable]
201 | static struct cpumask mask = { CPU_BITS_NONE };
| ^~~~
../drivers/misc/mediatek/teei/300/tz_driver/teei_smc_call.c:29:9: warning: "IMSG_TAG" redefined
29 | #define IMSG_TAG "[tz_driver]"
| ^~~~~~~~
In file included from ../drivers/misc/mediatek/teei/300/tz_driver/teei_smc_call.c:18:
../drivers/misc/mediatek/teei/300/common/include/imsg_log.h:19:9: note: this is the location of the previous definition
19 | #define IMSG_TAG "[ISEE DRV]"
| ^~~~~~~~
../drivers/misc/mediatek/teei/300/tz_driver/teei_smc_call.c:29:9: warning: "IMSG_TAG" redefined
29 | #define IMSG_TAG "[tz_driver]"
| ^~~~~~~~
In file included from ../drivers/misc/mediatek/teei/300/tz_driver/teei_smc_call.c:18:
../drivers/misc/mediatek/teei/300/common/include/imsg_log.h:19:9: note: this is the location of the previous definition
19 | #define IMSG_TAG "[ISEE DRV]"
| ^~~~~~~~
../drivers/misc/mediatek/teei/300/tz_driver/switch_queue.c:46:9: warning: "IMSG_TAG" redefined
46 | #define IMSG_TAG "[tz_driver]"
| ^~~~~~~~
In file included from ../drivers/misc/mediatek/teei/300/tz_driver/tz_log.h:19,
from ../drivers/misc/mediatek/teei/300/tz_driver/switch_queue.c:39:
../drivers/misc/mediatek/teei/300/common/include/imsg_log.h:19:9: note: this is the location of the previous definition
19 | #define IMSG_TAG "[ISEE DRV]"
| ^~~~~~~~
../drivers/misc/mediatek/teei/300/tz_driver/switch_queue.c: In function 'handle_all_switch_task':
../drivers/misc/mediatek/teei/300/tz_driver/switch_queue.c:162:33: warning: unused variable 's' [-Wunused-variable]
162 | struct tz_driver_state *s = get_tz_drv_state();
| ^
../drivers/soc/mediatek/mtk-pmic-wrap.c:3270:13: warning: 'pwrap_irq_thread_init' defined but not used [-Wunused-function]
3270 | static void pwrap_irq_thread_init(void)
| ^~~~~~~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/wait.h:7,
from ../include/linux/completion.h:12,
from ../drivers/soc/mediatek/mtk-cmdq-helper.c:6:
../drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_mbox_create':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c:180:17: note: in expansion of macro 'cmdq_err'
180 | cmdq_err("channel request fail:%d, idx:%d",
| ^~~~~~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_pkt_free_buf':
../include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'struct cmdq_client *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:182:9: note: in expansion of macro 'pr_notice'
182 | pr_notice("[cmdq][err] "fmt" @%s,%u\n", ##args, __func__, __LINE__)
| ^~~~~~~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c:433:33: note: in expansion of macro 'cmdq_err'
433 | cmdq_err("free pool:%s dev:%#lx pa:%pa cl:%#lx",
| ^~~~~~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_pkt_get_curr_buf_va':
../drivers/soc/mediatek/mtk-cmdq-helper.c:598:32: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion]
598 | return -ENOMEM;
| ^
../drivers/soc/mediatek/mtk-cmdq-helper.c: In function 'cmdq_buf_print_move':
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'u64' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH'
13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */
| ^~~~~~~~
../include/linux/printk.h:365:32: note: in expansion of macro 'KERN_NOTICE'
365 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../include/linux/mailbox/mtk-cmdq-mailbox.h:171:17: note: in expansion of macro 'pr_notice'
171 | pr_notice("[cmdq] "fmt" @%s,%u\n", \
| ^~~~~~~~~
../drivers/soc/mediatek/mtk-cmdq-helper.c:2179:17: note: in expansion of macro 'cmdq_log'
2179 | cmdq_log("len:%d over txt_sz:%d", len, txt_sz);
| ^~~~~~~~
TCORE_UT_TESTS_SUPPORT = n
TCORE_PROFILING_SUPPORT = n
TCORE_PROFILING_AUTO_DUMP = n
TCORE_MEMORY_LEAK_DETECTION_SUPPORT = n
../drivers/misc/mediatek/typec/tcpc/pd_core.c: In function 'pd_core_power_flags_init':
../drivers/misc/mediatek/typec/tcpc/pd_core.c:505:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
505 | if (of_property_read_bool(np,
| ^~
In file included from ../include/linux/kernel.h:14,
from ../include/linux/list.h:9,
from ../include/linux/kobject.h:20,
from ../include/linux/of.h:21,
from ../drivers/misc/mediatek/typec/tcpc/pd_core.c:16:
../include/linux/printk.h:367:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
367 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
../drivers/misc/mediatek/typec/tcpc/pd_core.c:509:25: note: in expansion of macro 'pr_info'
509 | pr_info("dpm_caps: %s\n",
| ^~~~~~~
../drivers/staging/android/ion/ion.c: In function 'ion_client_buf_add':
../drivers/staging/android/ion/ion.c:122:24: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
122 | if (heap->type == ION_HEAP_TYPE_MULTIMEDIA_SEC)
| ^~
../drivers/staging/android/ion/ion.c: In function 'ion_client_buf_sub':
../drivers/staging/android/ion/ion.c:162:24: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
162 | if (heap->type == ION_HEAP_TYPE_MULTIMEDIA_SEC) {
| ^~
../drivers/staging/android/ion/ion.c: In function 'ion_client_buf_dump':
../drivers/staging/android/ion/ion.c:207:24: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
207 | if (heap->type == ION_HEAP_TYPE_MULTIMEDIA_SEC)
| ^~
../drivers/staging/android/ion/ion.c: In function 'ion_buffer_create':
../drivers/staging/android/ion/ion.c:360:24: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
360 | if (heap->type == ION_HEAP_TYPE_MULTIMEDIA_SEC)
| ^~
../drivers/staging/android/ion/ion.c: In function 'ion_debug_heap_total':
../drivers/staging/android/ion/ion.c:2186:28: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
2186 | type == ION_HEAP_TYPE_MULTIMEDIA ||
| ^~
../drivers/staging/android/ion/ion.c:2187:28: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
2187 | type == ION_HEAP_TYPE_MULTIMEDIA_SEC))) {
| ^~
../drivers/misc/mediatek/usb20/musb_qmu.c: In function 'mtk_kick_CmdQ':
../drivers/misc/mediatek/usb20/musb_qmu.c:632:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
632 | if (tx_max_number_of_pkts[hw_ep->epnum]
| ^~
In file included from ../drivers/misc/mediatek/usb20/mtk_qmu.h:21,
from ../drivers/misc/mediatek/usb20/musb_core.h:59,
from ../drivers/misc/mediatek/usb20/musb_qmu.c:24:
../drivers/misc/mediatek/usb20/musb_debug.h:80:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
80 | #define DBG_LIMIT(FREQ, fmt, args...) do {\
| ^~
../drivers/misc/mediatek/usb20/musb_qmu.c:638:33: note: in expansion of macro 'DBG_LIMIT'
638 | DBG_LIMIT(1,
| ^~~~~~~~~
../drivers/staging/android/ion/mtk/ion_drv.c: In function 'ion_sys_cache_sync':
../drivers/staging/android/ion/mtk/ion_drv.c:539:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
539 | m4u_mva_unmap_kernel((unsigned int)param->va,
| ^
../drivers/staging/android/ion/mtk/ion_drv.c:427:26: warning: unused variable 'heap' [-Wunused-variable]
427 | struct ion_heap *heap = NULL;
| ^~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/asm-generic/bug.h:16,
from ../arch/arm64/include/asm/bug.h:38,
from ../arch/arm64/include/asm/memory.h:27,
from ../arch/arm64/include/asm/page.h:48,
from ../drivers/staging/android/ion/mtk/ion_mm_heap.c:13:
../drivers/staging/android/ion/mtk/ion_mm_heap.c: In function 'ion_mm_heap_phys':
../include/linux/kern_levels.h:5:25: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'dma_addr_t' {aka 'long long unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/staging/android/ion/mtk/ion_drv.h:256:33: note: in expansion of macro 'pr_err'
256 | #define IONMSG(string, args...) pr_err("[ION]"string, ##args)
| ^~~~~~
../drivers/staging/android/ion/mtk/ion_mm_heap.c:890:33: note: in expansion of macro 'IONMSG'
890 | IONMSG("OUT OF RANGE(%d) pa=0x%lx\n",
| ^~~~~~
../drivers/staging/android/ion/mtk/ion_mm_heap.c: In function 'ion_mm_ioctl':
../drivers/staging/android/ion/mtk/ion_mm_heap.c:2122:52: warning: unused variable 'buffer_info' [-Wunused-variable]
2122 | struct ion_mm_buffer_info *buffer_info =
| ^~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_mm_heap.c:2165:40: warning: comparison between 'enum ion_heap_type' and 'enum mtk_ion_heap_type' [-Wenum-compare]
2165 | } else if (buffer_type == ION_HEAP_TYPE_MULTIMEDIA_SEC) {
| ^~
../drivers/staging/android/ion/mtk/ion_mm_heap.c: At top level:
../drivers/staging/android/ion/mtk/ion_mm_heap.c:296:12: warning: 'ion_mm_heap_init_domain' defined but not used [-Wunused-function]
296 | static int ion_mm_heap_init_domain(struct ion_mm_buffer_info *buffer_info,
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../include/asm-generic/bug.h:16,
from ../arch/arm64/include/asm/bug.h:38,
from ../arch/arm64/include/asm/memory.h:27,
from ../arch/arm64/include/asm/page.h:48,
from ../drivers/staging/android/ion/mtk/ion_sec_heap.c:13:
../drivers/staging/android/ion/mtk/ion_sec_heap.c: In function 'ion_get_trust_mem_type':
../include/linux/kern_levels.h:5:25: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/staging/android/ion/mtk/ion_drv.h:256:33: note: in expansion of macro 'pr_err'
256 | #define IONMSG(string, args...) pr_err("[ION]"string, ##args)
| ^~~~~~
../drivers/staging/android/ion/mtk/ion_sec_heap.c:170:17: note: in expansion of macro 'IONMSG'
170 | IONMSG("%s dmabuf is NULL\n");
| ^~~~~~
In file included from ../drivers/staging/android/ion/mtk/ion_profile.c:13:
../drivers/staging/android/ion/mtk/ion_profile.c: In function 'ion_profile_init':
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:62:9: note: in expansion of macro 'mmprofile_enable_event'
62 | mmprofile_enable_event(ion_mmp_events[PROFILE_ALLOC], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:63:9: note: in expansion of macro 'mmprofile_enable_event'
63 | mmprofile_enable_event(ion_mmp_events[PROFILE_MAP_KERNEL], 0);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:64:9: note: in expansion of macro 'mmprofile_enable_event'
64 | mmprofile_enable_event(ion_mmp_events[PROFILE_MAP_USER], 0);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:65:9: note: in expansion of macro 'mmprofile_enable_event'
65 | mmprofile_enable_event(ion_mmp_events[PROFILE_DMA_CLEAN_ALL], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:66:9: note: in expansion of macro 'mmprofile_enable_event'
66 | mmprofile_enable_event(ion_mmp_events[PROFILE_DMA_FLUSH_ALL], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:67:9: note: in expansion of macro 'mmprofile_enable_event'
67 | mmprofile_enable_event(ion_mmp_events[PROFILE_DMA_INVALID_ALL], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:68:9: note: in expansion of macro 'mmprofile_enable_event'
68 | mmprofile_enable_event(ion_mmp_events[PROFILE_MVA_ALLOC], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/staging/android/ion/mtk/ion_profile.h:46:37: warning: statement with no effect [-Wunused-value]
46 | #define mmprofile_enable_event(...) 0
| ^
../drivers/staging/android/ion/mtk/ion_profile.c:69:9: note: in expansion of macro 'mmprofile_enable_event'
69 | mmprofile_enable_event(ion_mmp_events[PROFILE_MVA_DEALLOC], 1);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/linux/printk.h:7,
from ../include/linux/kernel.h:14,
from ../drivers/misc/mediatek/include/mt-plat/aee.h:17,
from ../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:17,
from ../drivers/misc/mediatek/video/mt6768/dispsys/ddp_rdma_ex.c:15:
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_rdma_ex.c: In function 'rdma_set_ultra_l':
../include/linux/kern_levels.h:5:25: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long long unsigned int' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:33:25: note: in expansion of macro 'pr_err'
33 | pr_err("[DDP/"LOG_TAG"]"fmt, ##args); \
| ^~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:71:30: note: in expansion of macro 'DISP_LOG_I'
71 | #define DDPMSG(fmt, args...) DISP_LOG_I(fmt, ##args)
| ^~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_rdma_ex.c:701:9: note: in expansion of macro 'DDPMSG'
701 | DDPMSG("%s, w=%d, h=%d, fps=%d, consume=%ull\n",
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'const char *' [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:59:17: note: in expansion of macro 'pr_err'
59 | pr_err("[DDP/"LOG_TAG"]error:"fmt, ##args); \
| ^~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:75:30: note: in expansion of macro 'DISP_LOG_E'
75 | #define DDPERR(fmt, args...) DISP_LOG_E(fmt, ##args)
| ^~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_rdma_ex.c:819:17: note: in expansion of macro 'DDPERR'
819 | DDPERR(
| ^~~~~~
../include/linux/kern_levels.h:5:25: warning: too many arguments for format [-Wformat-extra-args]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
../include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
../include/linux/printk.h:360:32: note: in expansion of macro 'KERN_ERR'
360 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:59:17: note: in expansion of macro 'pr_err'
59 | pr_err("[DDP/"LOG_TAG"]error:"fmt, ##args); \
| ^~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_log.h:75:30: note: in expansion of macro 'DISP_LOG_E'
75 | #define DDPERR(fmt, args...) DISP_LOG_E(fmt, ##args)
| ^~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_rdma_ex.c:819:17: note: in expansion of macro 'DDPERR'
819 | DDPERR(
| ^~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_debug.c: In function 'process_dbg_opt':
../drivers/misc/mediatek/video/mt6768/dispsys/ddp_debug.c:602:58: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
602 | strncpy((char *)fmt, (char *)temp, sizeof(temp));
| ^
../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:8747:5: warning: conflicting types for 'primary_display_capture_framebuffer_ovl' due to enum/integer mismatch; have 'int(long unsigned int, enum UNIFIED_COLOR_FMT)' [-Wenum-int-mismatch]
8747 | int primary_display_capture_framebuffer_ovl(unsigned long pbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/video/mt6768/videox/primary_display.c:51:
../drivers/misc/mediatek/video/mt6768/videox/primary_display.h:370:5: note: previous declaration of 'primary_display_capture_framebuffer_ovl' with type 'int(long unsigned int, unsigned int)'
370 | int primary_display_capture_framebuffer_ovl(unsigned long pbuf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:348:6: warning: conflicting types for 'dprec_logger_trigger' due to enum/integer mismatch; have 'void(unsigned int, unsigned int, unsigned int)' [-Wenum-int-mismatch]
348 | void dprec_logger_trigger(unsigned int type_logsrc, unsigned int val1,
| ^~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/misc/mediatek/video/mt6768/videox/disp_drv_log.h:17,
from ../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:29:
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.h:183:6: note: previous declaration of 'dprec_logger_trigger' with type 'void(enum DPREC_LOGGER_ENUM, unsigned int, unsigned int)'
183 | void dprec_logger_trigger(enum DPREC_LOGGER_ENUM source, unsigned int val1,
| ^~~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:416:6: warning: conflicting types for 'dprec_logger_start' due to enum/integer mismatch; have 'void(unsigned int, unsigned int, unsigned int)' [-Wenum-int-mismatch]
416 | void dprec_logger_start(unsigned int type_logsrc, unsigned int val1,
| ^~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.h:185:6: note: previous declaration of 'dprec_logger_start' with type 'void(enum DPREC_LOGGER_ENUM, unsigned int, unsigned int)'
185 | void dprec_logger_start(enum DPREC_LOGGER_ENUM source, unsigned int val1,
| ^~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:452:6: warning: conflicting types for 'dprec_logger_done' due to enum/integer mismatch; have 'void(unsigned int, unsigned int, unsigned int)' [-Wenum-int-mismatch]
452 | void dprec_logger_done(unsigned int type_logsrc, unsigned int val1,
| ^~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.h:187:6: note: previous declaration of 'dprec_logger_done' with type 'void(enum DPREC_LOGGER_ENUM, unsigned int, unsigned int)'
187 | void dprec_logger_done(enum DPREC_LOGGER_ENUM source, unsigned int val1,
| ^~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.c:777:6: warning: conflicting types for 'dprec_logger_submit' due to enum/integer mismatch; have 'void(unsigned int, long long unsigned int, unsigned int)' [-Wenum-int-mismatch]
777 | void dprec_logger_submit(unsigned int type_logsrc,
| ^~~~~~~~~~~~~~~~~~~
../drivers/misc/mediatek/video/mt6768/dispsys/display_recorder.h:199:6: note: previous declaration of 'dprec_logger_submit' with type 'void(enum DPREC_LOGGER_ENUM, long long unsigned int, unsigned int)'
199 | void dprec_logger_submit(enum DPREC_LOGGER_ENUM source,
| ^~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c:1592:13: warning: 'configfs_composite_disconnect' defined but not used [-Wunused-function]
1592 | static void configfs_composite_disconnect(struct usb_gadget *gadget)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c:1567:12: warning: 'configfs_composite_setup' defined but not used [-Wunused-function]
1567 | static int configfs_composite_setup(struct usb_gadget *gadget,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/function/rndis.c: In function 'gen_ndis_query_resp':
../drivers/usb/gadget/function/rndis.c:346:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
346 | if (rndis_debug)
| ^~
../drivers/usb/gadget/function/rndis.c:349:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
349 | retval = 0;
| ^~~~~~
WARNING: vmlinux: 'wireless_charge_chage_current' exported twice. Previous export was in vmlinux
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux2 has a LOAD segment with RWX permissions
aarch64-alpine-linux-musl-ld: warning: vmlinux has a LOAD segment with RWX permissions
WARNING: vmlinux: 'wireless_charge_chage_current' exported twice. Previous export was in vmlinux
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c0@11007000/i2c_lcd_bias@3e has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c0@11007000/fuelguage@62 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (reg_format): "reg" property in /i2c3@1100f000/wireless_chg_rx@2b has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c0@11007000/i2c_lcd_bias@3e
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c0@11007000/i2c_lcd_bias@3e
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c0@11007000/fuelguage@62
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c0@11007000/fuelguage@62
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #address-cells value for /i2c3@1100f000/wireless_chg_rx@2b
arch/arm64/boot/dts/mediatek/mt6768.dtb: Warning (avoid_default_addr_size): Relying on default #size-cells value for /i2c3@1100f000/wireless_chg_rx@2b
>>> linux-volla-mimameid: Entering fakeroot...
NOTE: using Image.gz as kernel image.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[4]: Nothing to be done for '__dtbs_install'.
make[4]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
make[3]: Nothing to be done for '__dtbs_install'.
>>> linux-volla-mimameid*: Running postcheck for linux-volla-mimameid
>>> WARNING: linux-volla-mimameid*: Packages must not put anything under /lib, use /usr/lib instead
>>> linux-volla-mimameid*: Preparing package linux-volla-mimameid...
>>> linux-volla-mimameid*: Tracing dependencies...
>>> linux-volla-mimameid*: Package size: 15.4 MB
>>> linux-volla-mimameid*: Compressing data...
>>> linux-volla-mimameid*: Create checksum...
>>> linux-volla-mimameid*: Create linux-volla-mimameid-4.14.186-r1.apk
>>> linux-volla-mimameid: Build complete at Sun, 24 Nov 2024 14:45:36 +0000 elapsed time 0h 22m 36s
>>> linux-volla-mimameid: Cleaning up srcdir
>>> linux-volla-mimameid: Cleaning up pkgdir
>>> linux-volla-mimameid: Uninstalling dependencies...
(1/17) Purging .makedepends-linux-volla-mimameid (20241124.142301)
(2/17) Purging bash (5.2.37-r0)
Executing bash-5.2.37-r0.pre-deinstall
(3/17) Purging bc (1.07.1-r5)
(4/17) Purging bison (3.8.2-r1)
(5/17) Purging devicepkg-dev (0.18.1-r1)
(6/17) Purging flex (2.6.4-r6)
(7/17) Purging m4 (1.4.19-r3)
(8/17) Purging openssl-dev (3.3.2-r4)
(9/17) Purging linux-headers (6.6-r1)
(10/17) Purging xz (5.6.3-r0)
(11/17) Purging git-perl (2.47.0-r0)
(12/17) Purging perl-git (2.47.0-r0)
(13/17) Purging perl-error (0.17029-r2)
(14/17) Purging perl (5.40.0-r3)
(15/17) Purging libbz2 (1.0.8-r6)
(16/17) Purging readline (8.2.13-r0)
(17/17) Purging xz-libs (5.6.3-r0)
Executing busybox-1.37.0-r8.trigger
OK: 475 MiB in 76 packages
>>> linux-volla-mimameid: Updating the pmos/aarch64 repository index...
>>> linux-volla-mimameid: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/edge/aarch64/APKINDEX.tar.gz.3036': Operation not permitted
[14:45:39] (native) uninstall build dependencies
[14:45:39] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps ;
ERROR: No such package: .makedepends-linux-volla-mimameid
[14:45:39] => edge/linux-volla-mimameid: Done!
[14:45:39] => Finished building packages
[14:45:39] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
[14:45:39] DONE!
|