#121353 success

Build package: master/armv7/linux-wiko-lenny2-3.10.72-r0

Owner
~postmarketos
Created
3 months ago
Updated
3 months ago
Build manifest
view manifest »

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
pmbootstrap_build view log »
checksums view log »
submit view log »
go to bottom »
setup
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
[#121353] 2019/12/12 12:05:58 Booting image alpine/latest (default) on port 22436
[#121353] 2019/12/12 12:06:01 Waiting for guest to settle
[#121353] 2019/12/12 12:06:09 Sending tasks
[#121353] 2019/12/12 12:06:10 Sending build environment
[#121353] 2019/12/12 12:06:10 Sending secrets
[#121353] 2019/12/12 12:06:10 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#121353] 2019/12/12 12:06:10 Installing packages
Warning: Permanently added '[localhost]:22436' (ECDSA) to the list of known hosts.
fetch http://repo-cache.local/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://repo-cache.local/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
v3.10.3-77-g9739986c1e [http://repo-cache.local/alpine/v3.10/main]
v3.10.3-68-ge1e42c5d6c [http://repo-cache.local/alpine/v3.10/community]
OK: 10340 distinct packages available
Warning: Permanently added '[localhost]:22436' (ECDSA) to the list of known hosts.
(1/10) Installing libacl (2.2.52-r6)
(2/10) Installing coreutils (8.31-r0)
(3/10) Installing libproc (3.3.15-r0)
(4/10) Installing procps (3.3.15-r0)
(5/10) Installing python3 (3.7.5-r1)
(6/10) Installing py3-chardet (3.0.4-r1)
(7/10) Installing py3-idna (2.8-r1)
(8/10) Installing py3-certifi (2019.6.16-r0)
(9/10) Installing py3-urllib3 (1.25.3-r0)
(10/10) Installing py3-requests (2.21.0-r4)
Executing busybox-1.30.1-r3.trigger
OK: 1026 MiB in 209 packages
[#121353] 2019/12/12 12:06:12 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init
[#121353] 2019/12/12 12:06:25 Running task bpo_setup
[#121353] 2019/12/12 12:06:26 Running task install_pubkey
[#121353] 2019/12/12 12:06:26 Running task pmbootstrap_build
[#121353] 2019/12/12 12:18:18 Running task checksums
[#121353] 2019/12/12 12:18:19 Running task submit
[#121353] 2019/12/12 12:18:22 Processing post-success triggers...
[#121353] 2019/12/12 12:18:22 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
+ export BPO_JOB_ID=121353
+ BPO_JOB_ID=121353
+ yes ''
+ ./pmbootstrap/pmbootstrap.py --aports=/home/build/pmaports -q init
[12:06:25] Work path [/home/build/.local/var/pmbootstrap]: [12:06:25] Vendor [samsung]: [12:06:25] Device codename [i9100]: [12:06:25] Enable this package? (y/n) [y]: [12:06:25] Username [user]: [12:06:25] User interface [weston]: [12:06:25] Change them? (y/n) [n]: [12:06:25] Extra packages [none]: [12:06:25] Device hostname (short form, e.g. 'foo') [samsung-i9100]: + sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=121353
+ BPO_JOB_ID=121353
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3WEjHjAzm+4HmF/qJxFg
GDjQ78Yfv+aoCja8YtW6iGuq9pX+JheD+l/DDVAlbtupdM/SteyGokO1+SWIvVkL
KKtJzWKTtFf2IfqxQRAzTjfxV5jmw+bgYqCUaxEvDVPxO7WMgBGnrxl5gzwVxMBS
TXtgDKMpdOy7Op5YwVCk20Tp8YuyOTkQI728Gw5O8b1iRByv2BIOp1U2okusY3ox
KnDmB0DWWbWKIfVfLoln++WyQP/1INGA2fVAvEUK8Cm0O6RTruT02Sy4VL+a1rDo
9XEVJDfWWV0UfcTEkTpHbwv3Dcxr2RGIBwqDonUUGZOl1W9vB0/DccWd6T2BmJ+4
dwIDAQAB
-----END PUBLIC KEY-----
'
pmbootstrap_build


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
This is a big file! Only the last 128KiB is shown. Click here to download the full log.

/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3456:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static int update_primary_intferface_module()
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_init':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3480:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  DISP_STATUS ret = DISP_STATUS_OK;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3535:44: warning: passing argument 2 of 'cmdqCoreRegisterCB' from incompatible pointer type
  ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
                                            ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:6:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:32:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_core.h:536:10: note: expected 'CmdqClockOnCB' but argument is of type 'unsigned int (*)(uint64_t)'
  int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3535:59: warning: passing argument 3 of 'cmdqCoreRegisterCB' from incompatible pointer type
  ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
                                                           ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:6:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:32:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_core.h:536:10: note: expected 'CmdqDumpInfoCB' but argument is of type 'unsigned int (*)(uint64_t,  char *, unsigned int)'
  int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3535:75: warning: passing argument 4 of 'cmdqCoreRegisterCB' from incompatible pointer type
  ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
                                                                           ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:6:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:32:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_core.h:536:10: note: expected 'CmdqResetEngCB' but argument is of type 'unsigned int (*)(uint64_t)'
  int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3535:91: warning: passing argument 5 of 'cmdqCoreRegisterCB' from incompatible pointer type
  ret = cmdqCoreRegisterCB(CMDQ_GROUP_DISP, cmdqDdpClockOn,cmdqDdpDumpInfo,cmdqDdpResetEng,cmdqDdpClockOff);
                                                                                           ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:6:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:32:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_core.h:536:10: note: expected 'CmdqClockOffCB' but argument is of type 'unsigned int (*)(uint64_t)'
  int32_t cmdqCoreRegisterCB(CMDQ_GROUP_ENUM engGroup,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3628:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_ddp_path_config *data_config = NULL;
  ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3689:56: warning: passing argument 1 of 'kthread_create_on_node' from incompatible pointer type
         primary_display_Recovery_task = kthread_create(primary_display_recovery_thread, NULL, "display_recovery");
                                                        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kthread.h:14:25: note: in definition of macro 'kthread_create'
  kthread_create_on_node(threadfn, data, -1, namefmt, ##arg)
                         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kthread.h:8:21: note: expected 'int (*)(void *)' but argument is of type 'int (*)(void)'
 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data),
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_release_fence_fake':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3868:62: warning: passing argument 4 of 'disp_sync_get_cached_layer_info' from incompatible pointer type
    disp_sync_get_cached_layer_info(session_id, i, &layer_en, &addr, &fence_idx);
                                                              ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:39:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:157:5: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
 int disp_sync_get_cached_layer_info(unsigned int session_id, unsigned int timeline_idx, unsigned int *layer_en, unsigned long *addr, unsigned int *fence_idx);
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_wait_for_vsync':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3905:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 1);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_suspend':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4004:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 0);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4009:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   int event_ret = dpmgr_wait_event_timeout(pgc->dpmgr_handle, DISP_PATH_EVENT_FRAME_DONE, HZ*1);
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_resume':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4143:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   LCM_PARAMS *lcm_param = disp_lcm_get_params(pgc->plcm);
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4351:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static int trigger_decouple_mirror()
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'trigger_decouple_mirror':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4362:15: warning: passing argument 3 of '_trigger_ovl_to_memory_mirror' from incompatible pointer type
               _olv_wdma_fence_release_callback, DISP_SESSION_DECOUPLE_MIRROR_MODE);
               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:2110:5: note: expected 'fence_release_callback' but argument is of type 'int (*)(uint32_t)'
 int _trigger_ovl_to_memory_mirror(disp_path_handle disp_handle,
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_trigger':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4375:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 1);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4407:11: warning: passing argument 3 of '_trigger_ovl_to_memory' from incompatible pointer type
           _ovl_fence_release_callback, DISP_SESSION_DECOUPLE_MODE);
           ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:2092:5: note: expected 'fence_release_callback' but argument is of type 'int (*)(uint32_t)'
 int _trigger_ovl_to_memory(disp_path_handle disp_handle,
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_mem_out_trigger':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4542:68: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
         cmdqRecFlushAsyncCallback(pgc->cmdq_handle_ovl1to2_config, primary_display_ovl2mem_callback, userdata);
                                                                    ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:32:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'int (*)(unsigned int)'
  int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_config_input_multiple':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4653:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 1);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_config_input':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4775:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 1);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_user_cmd':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4861:80: warning: passing argument 3 of 'MMProfileLogEx' makes integer from pointer without a cast
  MMProfileLogEx(ddp_mmp_get_events()->primary_display_cmd, MMProfileFlagStart, handle, 0);     
                                                                                ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:11:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:16:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/mmprofile.h:81:6: note: expected 'long unsigned int' but argument is of type 'cmdqRecHandle'
 void MMProfileLogEx(MMP_Event event, MMP_LogType type, unsigned long data1, unsigned long data2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4898:78: warning: passing argument 3 of 'MMProfileLogEx' makes integer from pointer without a cast
  MMProfileLogEx(ddp_mmp_get_events()->primary_display_cmd, MMProfileFlagEnd, handle, cmdqsize);
                                                                              ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:11:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:16:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/mmprofile.h:81:6: note: expected 'long unsigned int' but argument is of type 'cmdqRecHandle'
 void MMProfileLogEx(MMP_Event event, MMP_LogType type, unsigned long data1, unsigned long data2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_switch_mode':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:4980:31: warning: passing argument 1 of 'primary_display_idlemgr_kick' discards 'const' qualifier from pointer target type
  primary_display_idlemgr_kick(__func__, 0);
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:404:6: note: expected 'char *' but argument is of type 'const char *'
 void primary_display_idlemgr_kick(char *source, int need_lock)
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function '_set_backlight_by_cmdq':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5377:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret=0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_setbacklight':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5484:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret = 0;
  ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/string.h:17:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/bitmap.h:8,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/cpumask.h:11,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/sched.h:21,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_capture_framebuffer_ovl':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/arch/arm/include/asm/string.h:31:16: warning: initialization makes pointer from integer without a cast
    void *__p = (p); size_t __n = n;   \
                ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5662:9: note: in expansion of macro 'memset'
         memset(pbuf, 0,buffer_size);
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_capture_framebuffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5795:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  unsigned int i;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'DISP_GetVRamSizeBoot':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5866:9: warning: type defaults to 'int' in declaration of 'vramsize' [-Wimplicit-int]
  extern vramsize;
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'disp_hal_allocate_framebuffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:5918:139: warning: passing argument 8 of 'm4u_alloc_mva' from incompatible pointer type
   ret = m4u_alloc_mva(client, M4U_PORT_DISP_OVL0, 0, sg_table, (pa_end - pa_start + 1), M4U_PROT_READ |M4U_PROT_WRITE, M4U_FLAGS_FIX_MVA, mva);
                                                                                                                                           ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:30:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/mach/mt6580/include/mach/m4u.h:80:5: note: expected 'unsigned int *' but argument is of type 'long unsigned int *'
 int m4u_alloc_mva(m4u_client_t *client, M4U_PORT_ID port, 
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'fbconfig_get_esd_check_test':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6069:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  extern int fbconfig_get_esd_check(DSI_INDEX dsi_id,UINT32 cmd,UINT8*buffer,UINT32 num);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'Panel_Master_dsi_config_entry':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6092:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_PARAMS *lcm_param = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_switch_esd_mode':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6281:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret=0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6286:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6375:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int primary_display_te_test()
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_te_test':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6378:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret=0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: In function 'primary_display_roi_test':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6528:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret=0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:6551:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int primary_display_resolution_test()
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:1359:12: warning: '_config_wdma_output' defined but not used [-Wunused-function]
 static int _config_wdma_output(WDMA_CONFIG_STRUCT *wdma_config,
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:2889:13: warning: '_RDMA0_INTERNAL_IRQ_Handler' defined but not used [-Wunused-function]
 static void _RDMA0_INTERNAL_IRQ_Handler(DISP_MODULE_ENUM module, unsigned int param)
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:2957:28: warning: 'fence_release_worker_task' defined but not used [-Wunused-variable]
 static struct task_struct *fence_release_worker_task = NULL;
                            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.c:3286:12: warning: '_fence_release_worker_thread' defined but not used [-Wunused-function]
 static int _fence_release_worker_thread(void *data)
            ^
  CC      drivers/scsi/scsi_pm.o
  CC      drivers/scsi/sd.o
  LD      drivers/scsi/arm/built-in.o
  LD      drivers/scsi/sd_mod.o
  LD      drivers/scsi/scsi_mod.o
  LD      drivers/scsi/built-in.o
  CC      drivers/spi/spi.o
  LD      drivers/spi/built-in.o
  CC      drivers/staging/staging.o
  CC      drivers/staging/android/ion/ion.o
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c: In function 'ion_debug_client_show':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:851:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
          struct ion_buffer *buffer = handle->buffer;
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c: In function 'ion_debug_heap_pool_show':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:1734:18: warning: unused variable 'n' [-Wunused-variable]
  struct rb_node *n;
                  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:1733:21: warning: unused variable 'dev' [-Wunused-variable]
  struct ion_device *dev = heap->dev;
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c: In function 'ion_device_add_heap':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:1843:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
         char tmp_name[64];
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c: In function 'ion_device_destory_heaps':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:2003:13: warning: passing argument 1 of 'plist_del' from incompatible pointer type
   plist_del(heap, &dev->heaps);
             ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/rtmutex.h:16:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/sched.h:42,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/freezer.h:7,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:20:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/plist.h:135:13: note: expected 'struct plist_node *' but argument is of type 'struct ion_heap *'
 extern void plist_del(struct plist_node *node, struct plist_head *head);
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:1997:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c: In function 'ion_drv_get_heap':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion.c:2015:6: warning: unused variable 'i' [-Wunused-variable]
  int i;
      ^
  CC      drivers/misc/mediatek/videox/mt6580/disp_lcm.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:3:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:11:1: warning: missing braces around initializer [-Wmissing-braces]
 static disp_lcm_handle _disp_lcm_driver[MAX_LCM_NUMBER] = {0};
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:11:1: warning: (near initialization for '_disp_lcm_driver[0]') [-Wmissing-braces]
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function '_get_lcm_driver_by_handle':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:53:3: warning: return from incompatible pointer type
   return plcm->drv;
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function '_dump_lcm_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:64:6: warning: unused variable 'i' [-Wunused-variable]
  int i = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_probe':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:170:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int ret = 0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:170:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_init':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:290:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_update':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:350:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:352:14: warning: unused variable 'plcm_param' [-Wunused-variable]
  LCM_PARAMS *plcm_param = NULL;
              ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:351:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
                   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_esd_check':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:388:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_esd_recover':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:415:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_suspend':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:445:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_resume':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:480:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_set_backlight':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:518:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_ATA':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:562:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  LCM_DRIVER *lcm_drv = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_switch_mode':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:590:15: warning: unused variable 'ret' [-Wunused-variable]
  unsigned int ret = 0;
               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_is_video_mode':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:627:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
                   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_is_dual_dsi':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:672:19: warning: unused variable 'lcm_id' [-Wunused-variable]
  LCM_INTERFACE_ID lcm_id = LCM_INTERFACE_NOTDEFINED;
                   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:11:24: warning: '_disp_lcm_driver' defined but not used [-Wunused-variable]
 static disp_lcm_handle _disp_lcm_driver[MAX_LCM_NUMBER] = {0};
                        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function '_is_lcm_inited':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:34:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c: In function 'disp_lcm_ioctl':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_lcm.c:548:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC      drivers/misc/mediatek/videox/mt6580/disp_utils.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_utils.c:9:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
  CC      drivers/staging/android/ion/ion_heap.o
  CC      drivers/misc/mediatek/videox/mt6580/mtkfb_fence.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:10:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 bool get_ovl1_to_mem_on();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:12:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:153:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int mtkfb_fence_timeline_index();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:61:0: warning: "HW_OVERLAY_COUNT" redefined
 #define HW_OVERLAY_COUNT           (5)
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:7:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:12:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_platform.h:39:0: note: this is the location of the previous definition
 #define HW_OVERLAY_COUNT                 (4)
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function '_get_session_sync_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:112:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_prepare, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:115:121: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_setinput, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                         ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:118:122: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_setoutput, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                          ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:121:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_trigger, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:124:92: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_findidx, name, DPREC_LOGGER_LEVEL_DEFAULT, ddp_mmp_get_events()->session_Parent);
                                                                                            ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:127:120: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_release, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:130:122: warning: passing argument 4 of 'dprec_logger_event_init' makes pointer from integer without a cast
    dprec_logger_event_init(&session_info->event_waitvsync, name, DPREC_LOGGER_LEVEL_DEFAULT|DPREC_LOGGER_LEVEL_SYSTRACE, ddp_mmp_get_events()->session_Parent);
                                                                                                                          ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:165:6: note: expected 'MMP_Event *' but argument is of type 'MMP_Event'
 void dprec_logger_event_init(dprec_logger_event *p, char *name, uint32_t level, MMP_Event *mmp_root);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:234:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void mtkfb_ion_init() 
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:250:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static void mtkfb_ion_deinit() 
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_ion_import_handle':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:305:54: warning: passing argument 3 of 'ion_kernel_ioctl' makes integer from pointer without a cast
  if(ion_kernel_ioctl(ion_client, ION_CMD_MULTIMEDIA, &mm_data))
                                                      ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:3:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/ion_drv.h:170:6: note: expected 'long unsigned int' but argument is of type 'struct ion_mm_data *'
 long ion_kernel_ioctl(struct ion_client *client, unsigned int cmd, unsigned long arg);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_ion_cache_flush':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:355:47: warning: passing argument 3 of 'ion_kernel_ioctl' makes integer from pointer without a cast
  if (ion_kernel_ioctl(client, ION_CMD_SYSTEM, &sys_data)) 
                                               ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:3:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/ion_drv.h:170:6: note: expected 'long unsigned int' but argument is of type 'struct ion_sys_data *'
 long ion_kernel_ioctl(struct ion_client *client, unsigned int cmd, unsigned long arg);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_query_buf_mva':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:373:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:395:56: warning: passing argument 2 of 'dprec_logger_start' makes integer from pointer without a cast
    dprec_logger_start(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:147:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
 void dprec_logger_start(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:397:55: warning: passing argument 2 of 'dprec_logger_done' makes integer from pointer without a cast
    dprec_logger_done(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);   
                                                       ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:148:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
 void dprec_logger_done(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_query_buf_va':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:418:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_update_buf_ticket':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:511:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_query_idx_by_ticket':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:539:31: warning: unused variable 'pre_buf' [-Wunused-variable]
  struct mtkfb_fence_buf_info *pre_buf = NULL;
                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_update_buf_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:580:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_query_frm_seq_by_addr':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:611:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = _get_session_sync_info(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'disp_sync_init':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:665:7: warning: unused variable 'name' [-Wunused-variable]
  char name[32];
       ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:664:18: warning: unused variable 'layer_info' [-Wunused-variable]
  disp_sync_info *layer_info = NULL;
                  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:662:6: warning: unused variable 'j' [-Wunused-variable]
  int j = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_release_fence':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:738:15: warning: unused variable 'current_ticket' [-Wunused-variable]
  unsigned int current_ticket = dprec_get_vsync_count();
               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'mtkfb_release_layer_fence':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:828:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  int fence = 0;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'disp_sync_prepare_buf':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:1004:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_sync_info *layer_info = NULL;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: In function 'disp_sync_query_buf_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:1144:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
   return;
   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:1167:56: warning: passing argument 2 of 'dprec_logger_start' makes integer from pointer without a cast
    dprec_logger_start(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);
                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:147:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
 void dprec_logger_start(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:1169:55: warning: passing argument 2 of 'dprec_logger_done' makes integer from pointer without a cast
    dprec_logger_done(DPREC_LOGGER_DISPMGR_CACHE_SYNC, buf->hnd, buf->mva);   
                                                       ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:2:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:148:6: note: expected 'unsigned int' but argument is of type 'struct ion_handle *'
 void dprec_logger_done(DPREC_LOGGER_ENUM source, unsigned int val1, unsigned int val2);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:250:13: warning: 'mtkfb_ion_deinit' defined but not used [-Wunused-function]
 static void mtkfb_ion_deinit() 
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.c:644:12: warning: '_sync_inited' defined but not used [-Wunused-function]
 static int _sync_inited(disp_session_sync_info *info, unsigned int layer_id)
            ^
  CC      drivers/staging/android/ion/ion_page_pool.o
  CC      drivers/staging/android/ion/ion_system_heap.o
  CC      drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:37:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 bool get_ovl1_to_mem_on();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:38:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_reg.h:8:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:52:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_device.h:44:0: warning: "DECLARE_ENABLE_HW_CLOCK" redefined
 #define DECLARE_ENABLE_HW_CLOCK
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_device.h:34:0: note: this is the location of the previous definition
 #define DECLARE_ENABLE_HW_CLOCK(HW_NAME) uint32_t cmdq_dev_enable_clock_##HW_NAME(bool enable);
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:62:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int get_ovl2mem_ticket();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:91:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void ovl2mem_wait_done();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:92:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int ovl2mem_deinit();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:70:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:153:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int mtkfb_fence_timeline_index();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kernel.h:7:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function 'disp_destroy_session':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/stddef.h:8:14: warning: passing argument 3 of 'release_session_buffer' makes integer from pointer without a cast
 #define NULL ((void *)0)
              ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:266:70: note: in expansion of macro 'NULL'
  release_session_buffer(DISP_SESSION_TYPE(config->session_id), 0xFF, NULL);
                                                                      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:245:6: note: expected 'long unsigned int' but argument is of type 'void *'
 bool release_session_buffer (DISP_SESSION_TYPE type, unsigned int layerid, unsigned long layer_phy_addr);
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:250:9: warning: unused variable 'idx' [-Wunused-variable]
  int i, idx;
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function 'release_session_buffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:344:1: warning: label 'releae_exit' defined but not used [-Wunused-label]
 releae_exit:
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_trigger_session':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:468:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:455:6: warning: unused variable 'present_fence_idx' [-Wunused-variable]
  int present_fence_idx = -1;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:451:6: warning: unused variable 'i' [-Wunused-variable]
  int i = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function 'set_memory_buffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1101:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1118:35: warning: assignment makes pointer from integer without a cast
     input->config[i].src_phy_addr = get_dim_layer_mva_addr();
                                   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1123:13: warning: assignment makes integer from pointer without a cast
     dst_mva = input->config[i].src_phy_addr;
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1127:98: warning: passing argument 4 of 'disp_sync_query_buf_info' from incompatible pointer type
     disp_sync_query_buf_info(session_id, layer_id, (unsigned int)input->config[i].next_buff_idx, &dst_mva, &dst_size);
                                                                                                  ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:70:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:162:14: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
 unsigned int disp_sync_query_buf_info(unsigned int session_id, unsigned int timeline_id, unsigned int idx, unsigned long *mva, unsigned int *size);
              ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1157:79: warning: passing argument 3 of '_sync_convert_fb_layer_to_disp_input' from incompatible pointer type
   _sync_convert_fb_layer_to_disp_input(input->session_id, &(input->config[i]),&input_params[layer_id], dst_mva);
                                                                               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:904:12: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct ovl2mem_in_config *'
 static int _sync_convert_fb_layer_to_disp_input(unsigned int session_id, disp_input_config* src, primary_disp_input_config *dst, unsigned int dst_mva)
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1172:23: warning: passing argument 1 of 'ovl2mem_input_config' from incompatible pointer type
  ovl2mem_input_config(&input_params) ;
                       ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:62:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:88:5: note: expected 'struct ovl2mem_in_config *' but argument is of type 'struct ovl2mem_in_config (*)[4]'
 int ovl2mem_input_config(ovl2mem_in_config* input);
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1095:9: warning: unused variable 'ret' [-Wunused-variable]
     int ret = 0;
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function 'set_primary_buffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1193:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1199:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  primary_disp_input_config primary_input[PRIMARY_DISPLAY_SESSION_LAYER_COUNT];
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1226:35: warning: assignment makes pointer from integer without a cast
     input->config[i].src_phy_addr = get_dim_layer_mva_addr();
                                   ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1231:13: warning: assignment makes integer from pointer without a cast
     dst_mva = input->config[i].src_phy_addr;
             ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1235:98: warning: passing argument 4 of 'disp_sync_query_buf_info' from incompatible pointer type
     disp_sync_query_buf_info(session_id, layer_id, (unsigned int)input->config[i].next_buff_idx, &dst_mva, &dst_size);
                                                                                                  ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:70:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:162:14: note: expected 'long unsigned int *' but argument is of type 'unsigned int *'
 unsigned int disp_sync_query_buf_info(unsigned int session_id, unsigned int timeline_id, unsigned int idx, unsigned long *mva, unsigned int *size);
              ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1281:40: warning: passing argument 1 of 'primary_display_config_input_multiple' from incompatible pointer type
  primary_display_config_input_multiple(&primary_input);
                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:49:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:272:5: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct primary_disp_input_config (*)[4]'
 int primary_display_config_input_multiple(primary_disp_input_config* input);
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1186:6: warning: unused variable 'ret' [-Wunused-variable]
  int ret = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_set_input_buffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1303:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1290:15: warning: unused variable 'dst_mva' [-Wunused-variable]
  unsigned int dst_mva = 0;
               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_set_output_buffer':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1469:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1482:12: warning: assignment makes integer from pointer without a cast
    dst_mva = session_output.config.pa;
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1547:12: warning: assignment makes integer from pointer without a cast
    dst_mva = session_output.config.pa;
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1555:100: warning: passing argument 3 of '_sync_convert_fb_layer_to_disp_output' from incompatible pointer type
         _sync_convert_fb_layer_to_disp_output(session_output.session_id, &(session_output.config), &primary_output, dst_mva);
                                                                                                    ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1338:12: note: expected 'struct disp_mem_output_config *' but argument is of type 'struct ovl2mem_out_config *'
 static int _sync_convert_fb_layer_to_disp_output(unsigned int session_id, disp_output_config* src, disp_mem_output_config *dst, unsigned int dst_mva)
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1459:15: warning: unused variable 'dst_va' [-Wunused-variable]
  unsigned int dst_va = 0;
               ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_get_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1619:6: warning: unused variable 'dev' [-Wunused-variable]
  int dev = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_wait_vsync':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1732:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  disp_session_sync_info *session_info = disp_get_session_sync_info_for_debug(vsync_config.session_id);
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1724:6: warning: unused variable 'dev' [-Wunused-variable]
  int dev = 0;
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_ioctl_set_vsync':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1753:6: warning: unused variable 'dev' [-Wunused-variable]
  int dev = 0;
      ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:49:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:293:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
 static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:443:21: warning: 'get_current_ticket' defined but not used [-Wunused-function]
 static unsigned int get_current_ticket(void)
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1178:12: warning: 'set_external_buffer' defined but not used [-Wunused-function]
 static int set_external_buffer(disp_session_input_config * input)
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c: In function '_sync_convert_fb_layer_to_disp_output':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_disp_mgr.c:1449:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC      drivers/staging/android/ion/ion_carveout_heap.o
  CC      drivers/staging/android/ion/ion_chunk_heap.o
  CC      drivers/staging/android/ion/ion_cma_heap.o
  CC      drivers/misc/mediatek/videox/mt6580/mtk_mira.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_mira.c:3:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
  CC      drivers/staging/android/ion/ion_debug.o
  CC      drivers/misc/mediatek/videox/mt6580/mtk_ovl.o
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c: In function 'find_node_in_list':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c:683:16: warning: assignment from incompatible pointer type
   current_node = (unsigned long *)(long)*(current_node);
                ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c: In function 'record_ion_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c:1788:146: warning: passing argument 4 of 'move_node_to_freelist' from incompatible pointer type
                                  found_node2 = move_node_to_freelist(record_param->pid,(unsigned long)record_param->client,record_param->address,(unsigned long **)&(process_record->address_using_list),(unsigned long **)&(process_record->address_freed_list),SEARCH_PID,NODE_MMAP);
                                                                                                                                                  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c:688:7: note: expected 'unsigned int **' but argument is of type 'long unsigned int **'
 void *move_node_to_freelist(pid_t pid,unsigned int client_address,unsigned int data,unsigned int **from, unsigned int **to,unsigned int search_type,unsigned int node_type)
       ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c:1788:202: warning: passing argument 5 of 'move_node_to_freelist' from incompatible pointer type
                                  found_node2 = move_node_to_freelist(record_param->pid,(unsigned long)record_param->client,record_param->address,(unsigned long **)&(process_record->address_using_list),(unsigned long **)&(process_record->address_freed_list),SEARCH_PID,NODE_MMAP);
                                                                                                                                                                                                          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/ion_debug.c:688:7: note: expected 'unsigned int **' but argument is of type 'long unsigned int **'
 void *move_node_to_freelist(pid_t pid,unsigned int client_address,unsigned int data,unsigned int **from, unsigned int **to,unsigned int search_type,unsigned int node_type)
       ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:9:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 bool get_ovl1_to_mem_on();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:11:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_reg.h:8:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:24:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_device.h:44:0: warning: "DECLARE_ENABLE_HW_CLOCK" redefined
 #define DECLARE_ENABLE_HW_CLOCK
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_device.h:34:0: note: this is the location of the previous definition
 #define DECLARE_ENABLE_HW_CLOCK(HW_NAME) uint32_t cmdq_dev_enable_clock_##HW_NAME(bool enable);
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:31:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:86:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int get_ovl2mem_ticket();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:91:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void ovl2mem_wait_done();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.h:92:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int ovl2mem_deinit();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:33:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtkfb_fence.h:153:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int mtkfb_fence_timeline_index();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function '_ovl2mem_path_lock':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:109:20: warning: assignment discards 'const' qualifier from pointer target type
  pgc->mutex_locker = caller;
                    ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function 'ovl2mem_callback':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:249:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:251:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int get_ovl2mem_ticket()
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function 'ovl2mem_input_config':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:357:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     disp_ddp_path_config *data_config;  
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:392:90: warning: passing argument 2 of '_convert_disp_input_to_ovl' from incompatible pointer type
             ret = _convert_disp_input_to_ovl(&(data_config->ovl_config[input[i].layer]), &input[i]);
                                                                                          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:162:12: note: expected 'struct primary_disp_input_config *' but argument is of type 'struct ovl2mem_in_config *'
 static int _convert_disp_input_to_ovl(OVL_CONFIG_STRUCT *dst, primary_disp_input_config* src)
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function 'ovl2mem_output_config':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:422:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     disp_ddp_path_config *data_config;  
     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:416:9: warning: unused variable 'i' [-Wunused-variable]
     int i = 0;
         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function 'ovl2mem_trigger':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:490:56: warning: passing argument 2 of 'cmdqRecFlushAsyncCallback' from incompatible pointer type
     cmdqRecFlushAsyncCallback(pgc->cmdq_handle_config, ovl2mem_callback, atomic_read(&g_trigger_ticket));
                                                        ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/ddp_manager.h:9:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:5,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:19:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/cmdq/mt6580/cmdq_record.h:332:10: note: expected 'CmdqAsyncFlushCB' but argument is of type 'int (*)(unsigned int)'
  int32_t cmdqRecFlushAsyncCallback(cmdqRecHandle handle, CmdqAsyncFlushCB callback,
          ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:504:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void ovl2mem_wait_done()
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:529:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 int ovl2mem_deinit()
     ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:19:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:293:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
 static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:78:21: warning: 'cmdqDdpClockOn' defined but not used [-Wunused-function]
 static unsigned int cmdqDdpClockOn(uint64_t engineFlag)
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:83:21: warning: 'cmdqDdpResetEng' defined but not used [-Wunused-function]
 static unsigned int cmdqDdpResetEng(uint64_t engineFlag)
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:89:21: warning: 'cmdqDdpClockOff' defined but not used [-Wunused-function]
 static unsigned int cmdqDdpClockOff(uint64_t engineFlag)
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:94:21: warning: 'cmdqDdpDumpInfo' defined but not used [-Wunused-function]
 static unsigned int cmdqDdpDumpInfo(uint64_t engineFlag,
                     ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c: In function 'ovl2mem_get_info':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/mtk_ovl.c:159:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC      drivers/misc/mediatek/videox/mt6580/disp_helper.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_drv_log.h:3:0,
                 from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:13:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:159:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void dprec_logger_dump_reset();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:160:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 char *dprec_logger_get_dump_addr();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/dispsys/mt6580/display_recorder.h:161:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 unsigned int dprec_logger_get_dump_len();
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:16:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void enable_screen_idle_switch_decouple();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.h:41:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void disable_screen_idle_switch_decouple();
 ^
  CC      drivers/staging/android/ion/ion_profile.o
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:31:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_E1(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:40:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_E2(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:49:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_E3(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:54:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_early_porting_stage(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:59:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_bringup_stage(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:64:8: warning: return type defaults to 'int' [-Wreturn-type]
 static _is_normal_stage(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:70:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void enable_screen_idle_switch_decouple()
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 void disable_screen_idle_switch_decouple()
      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c: In function 'disp_helper_get_option':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:212:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  return ;
  ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:49:8: warning: '_is_E3' defined but not used [-Wunused-function]
 static _is_E3(void)
        ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c: In function 'disp_helper_set_option':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:121:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c: In function 'disp_helper_stage_spy':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/disp_helper.c:228:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
  CC      drivers/staging/android/ion/mtk/ion_drv.o
  CC      drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.o
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c: In function 'ion_sys_cache_sync':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:144:38: warning: unused variable 'page_start' [-Wunused-variable]
         unsigned long end, page_num, page_start;
                                      ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:144:28: warning: unused variable 'page_num' [-Wunused-variable]
         unsigned long end, page_num, page_start;
                            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:144:23: warning: unused variable 'end' [-Wunused-variable]
         unsigned long end, page_num, page_start;
                       ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c: In function 'ion_drv_probe':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:577:14: warning: passing argument 1 of 'IS_ERR' makes pointer from integer without a cast
   if( IS_ERR(ret))
              ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:18:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/err.h:32:33: note: expected 'const void *' but argument is of type 'int'
 static inline long __must_check IS_ERR(const void *ptr)
                                 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c: In function 'ion_drv_remove':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_drv.c:601:18: warning: unused variable 'i' [-Wunused-variable]
     unsigned int i;
                  ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c:4:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c:12:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/debug.h:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 bool get_ovl1_to_mem_on();
 ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c: In function 'fbconfig_ioctl':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c:293:7: warning: unused variable 'i' [-Wunused-variable]
   int i ;   
       ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c:16:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/primary_display.h:293:12: warning: '__primary_display_switch_mode' declared 'static' but never defined [-Wunused-function]
 static int __primary_display_switch_mode(int sess_mode, unsigned int session, int need_lock);
            ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/videox/mt6580/fbconfig_kdebug_x.c:174:13: warning: 'print_from_head_to_tail' defined but not used [-Wunused-function]
 static void print_from_head_to_tail(void)
             ^
  CC      drivers/staging/android/ion/mtk/ion_mm_heap.o
  LD      drivers/misc/mediatek/videox/mt6580/built-in.o
  LD      drivers/misc/mediatek/videox/built-in.o
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_mm_heap.c: In function 'ion_mm_heap_debug_show':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_mm_heap.c:529:25: warning: unused variable 'i' [-Wunused-variable]
                     int i;
                         ^
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_mm_heap.c: At top level:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/staging/android/ion/mtk/ion_mm_heap.c:554:12: warning: 'write_mm_page_pool' defined but not used [-Wunused-function]
 static int write_mm_page_pool(int high, int order, int cache, size_t size)
            ^
  CC      drivers/misc/mediatek/watchpoint/mt6580/aarch32/hw_watchpoint_aarch32.o
  CC      drivers/misc/mediatek/watchpoint/mt6580/aarch32/mt_dbg_aarch32.o
  CC      drivers/staging/android/ion/mtk/ion_fb_heap.o
  LD      drivers/misc/mediatek/watchpoint/mt6580/aarch32/built-in.o
  LD      drivers/misc/mediatek/watchpoint/mt6580/built-in.o
  LD      drivers/misc/mediatek/watchpoint/built-in.o
  CC      drivers/misc/mediatek/wdk/wd_common_drv.o
  LD      drivers/staging/android/ion/mtk/built-in.o
  LD      drivers/staging/android/ion/built-in.o
  CC      drivers/staging/android/ashmem.o
  CC      drivers/misc/mediatek/wdk/wd_api.o
  LD      drivers/misc/mediatek/wdk/built-in.o
  CC      drivers/misc/mediatek/wdt/mt6580/mtk_wdt.o
  CC      drivers/staging/android/logger.o
  LD      drivers/misc/mediatek/wdt/mt6580/built-in.o
  LD      drivers/misc/mediatek/wdt/built-in.o
  CC      drivers/misc/mediatek/xlog/xlog_filter.o
  CC      drivers/staging/android/timed_output.o
  CC      drivers/misc/mediatek/xlog/xlog_printk.o
  CC      drivers/staging/android/lowmemorykiller.o
  LD      drivers/misc/mediatek/xlog/xlog.o
  LD      drivers/misc/mediatek/xlog/built-in.o
  LD      drivers/misc/mediatek/built-in.o
  LD      drivers/misc/built-in.o
  CC      drivers/staging/android/alarm-dev.o
  CC      drivers/switch/switch_class.o
  CC      drivers/staging/android/sync.o
  LD      drivers/switch/built-in.o
  CC      drivers/thermal/thermal_core.o
  CC      drivers/staging/android/sw_sync.o
  CC      drivers/thermal/backward_compatible.o
  LD      drivers/thermal/thermal_sys.o
  LD      drivers/thermal/built-in.o
  LD      drivers/staging/media/built-in.o
  LD      drivers/staging/android/built-in.o
  CC      drivers/tty/tty_io.o
  CC      drivers/tty/n_tty.o
  CC      drivers/tty/tty_ioctl.o
  CC      drivers/tty/tty_ldisc.o
  CC      drivers/tty/tty_buffer.o
  CC      drivers/tty/tty_port.o
  CC      drivers/tty/tty_mutex.o
  CC      drivers/tty/tty_ldsem.o
  CC      drivers/tty/pty.o
  CC      drivers/tty/tty_audit.o
  CC      drivers/tty/sysrq.o
  LD      drivers/tty/ipwireless/built-in.o
  CC      drivers/tty/serial/serial_core.o
  LD      drivers/tty/serial/built-in.o
  CC      drivers/tty/vt/vt_ioctl.o
  CC      drivers/tty/vt/vc_screen.o
  CC      drivers/tty/vt/selection.o
  CC      drivers/tty/vt/keyboard.o
  CC      drivers/tty/vt/consolemap.o
  CONMK   drivers/tty/vt/consolemap_deftbl.c
  CC      drivers/tty/vt/vt.o
  SHIPPED drivers/tty/vt/defkeymap.c
  CC      drivers/tty/vt/consolemap_deftbl.o
  CC      drivers/tty/vt/defkeymap.o
  LD      drivers/tty/vt/built-in.o
  LD      drivers/tty/built-in.o
  CC      drivers/net/slip/slhc.o
  LD      drivers/net/wireless/built-in.o
  CC      drivers/usb/class/cdc-acm.o
  LD      drivers/net/slip/built-in.o
  LD      drivers/net/built-in.o
  CC      drivers/usb/core/usb.o
  CC      drivers/usb/class/usblp.o
  CC      drivers/usb/core/hub.o
  LD      drivers/usb/class/built-in.o
  CC      drivers/usb/gadget/udc-core.o
  CC      drivers/usb/gadget/android.o
  CC      drivers/usb/core/hcd.o
  CC      drivers/usb/core/urb.o
  CC      drivers/usb/core/message.o
  CC      drivers/usb/core/driver.o
  CC      drivers/usb/core/config.o
  CC      drivers/usb/core/file.o
  CC      drivers/usb/core/buffer.o
  CC      drivers/usb/core/sysfs.o
  CC      drivers/usb/core/endpoint.o
  CC      drivers/usb/core/devio.o
  CC      drivers/usb/gadget/usbstring.o
  CC      drivers/usb/gadget/config.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/core/notify.o
  CC      drivers/usb/gadget/composite.o
  CC      drivers/usb/core/generic.o
  CC      drivers/usb/core/quirks.o
  CC      drivers/usb/core/devices.o
  CC      drivers/usb/gadget/functions.o
  CC      drivers/usb/core/port.o
  CC      drivers/usb/gadget/configfs.o
  LD      drivers/usb/core/usbcore.o
  LD      drivers/usb/core/built-in.o
  CC      drivers/video/fb_notify.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fb_notify.c:13:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/fbmem.o
  CC      drivers/usb/gadget/f_acm.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fbmem.c:34:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/usb/gadget/f_serial.o
  CC      drivers/usb/gadget/u_serial.o
  CC      drivers/video/fbmon.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fbmon.c:29:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  LD      drivers/usb/gadget/usb_f_serial.o
  LD      drivers/usb/gadget/g_android.o
  LD      drivers/usb/gadget/libcomposite.o
  LD      drivers/usb/gadget/usb_f_acm.o
  LD      drivers/usb/gadget/built-in.o
  CC      drivers/video/fbcmap.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fbcmap.c:16:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/fbsysfs.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fbsysfs.c:20:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/modedb.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/modedb.c:16:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/fbcvt.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/fbcvt.c:15:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  LD      drivers/video/backlight/built-in.o
  CC      drivers/video/console/dummycon.o
  CC      drivers/video/console/fonts.o
  CC      drivers/video/console/font_8x16.o
  LD      drivers/video/console/font.o
  LD      drivers/video/console/built-in.o
  CC      drivers/video/logo/logo.o
  LOGO    drivers/video/logo/logo_linux_mono.c
  LOGO    drivers/video/logo/logo_linux_vga16.c
  LOGO    drivers/video/logo/logo_linux_clut224.c
  LOGO    drivers/video/logo/logo_superh_mono.c
  LOGO    drivers/video/logo/logo_blackfin_vga16.c
  LOGO    drivers/video/logo/clut_vga16.c
  LOGO    drivers/video/logo/logo_superh_vga16.c
  LOGO    drivers/video/logo/logo_sgi_clut224.c
  LOGO    drivers/video/logo/logo_m32r_clut224.c
  LOGO    drivers/video/logo/logo_dec_clut224.c
  LOGO    drivers/video/logo/logo_blackfin_clut224.c
  LOGO    drivers/video/logo/logo_parisc_clut224.c
  LOGO    drivers/video/logo/logo_sun_clut224.c
  LOGO    drivers/video/logo/logo_superh_clut224.c
  LOGO    drivers/video/logo/logo_mac_clut224.c
  LOGO    drivers/video/logo/logo_spe_clut224.c
  CC      drivers/video/logo/logo_linux_mono.o
  CC      drivers/video/logo/logo_linux_vga16.o
  CC      drivers/video/logo/logo_linux_clut224.o
  LD      drivers/video/logo/built-in.o
  LD      drivers/video/omap2/displays/built-in.o
  LD      drivers/video/omap2/built-in.o
  CC      drivers/video/cfbfillrect.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/cfbfillrect.c:18:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/cfbcopyarea.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/cfbcopyarea.c:28:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  CC      drivers/video/cfbimgblt.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/video/cfbimgblt.c:34:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/fb.h:26:0: warning: "CONFIG_DMA_SHARED_BUFFER" redefined
 #define CONFIG_DMA_SHARED_BUFFER
 ^
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/include/linux/kconfig.h:4:0,
                 from <command-line>:0:
include/generated/autoconf.h:964:0: note: this is the location of the previous definition
 #define CONFIG_DMA_SHARED_BUFFER 1
 ^
  LD      drivers/video/fb.o
  LD      drivers/video/built-in.o
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/phy/phy.o
  CC      drivers/staging/zsmalloc/zsmalloc-main.o
  CC      drivers/staging/zram/zram_drv.o
  CC      drivers/usb/phy/phy-nop.o
  CC      drivers/staging/zram/zram_sysfs.o
  LD      drivers/staging/zsmalloc/zsmalloc.o
  LD      drivers/usb/phy/built-in.o
  LD      drivers/staging/zsmalloc/built-in.o
  CC      drivers/usb/storage/alauda.o
  CC      drivers/usb/usb-common.o
  CC      drivers/usb/storage/cypress_atacb.o
  LD      drivers/staging/zram/zram.o
  LD      drivers/staging/zram/built-in.o
  LD      drivers/staging/built-in.o
  CC      drivers/usb/storage/datafab.o
  CC      drivers/usb/storage/freecom.o
  CC      drivers/usb/storage/isd200.o
  CC      drivers/usb/storage/jumpshot.o
  CC      drivers/usb/storage/karma.o
  CC      drivers/usb/storage/onetouch.o
  CC      drivers/usb/storage/sddr09.o
  CC      drivers/usb/storage/sddr55.o
  CC      drivers/usb/storage/shuttle_usbat.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/usb/storage/transport.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/usb/storage/usual-tables.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/usb/storage/usual-tables.c:70:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/usb/storage/unusual_devs.h:1922:1: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 HW_UNUSUAL_DEV(  0x2001, 0xa708, 0x06, 0x50,
 ^
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/ums-alauda.o
  LD      drivers/usb/storage/ums-cypress.o
  LD      drivers/usb/storage/ums-datafab.o
  LD      drivers/usb/storage/ums-isd200.o
  LD      drivers/usb/storage/ums-freecom.o
  LD      drivers/usb/storage/ums-jumpshot.o
  LD      drivers/usb/storage/ums-karma.o
  LD      drivers/usb/storage/ums-onetouch.o
  LD      drivers/usb/storage/ums-sddr09.o
  LD      drivers/usb/storage/ums-sddr55.o
  LD      drivers/usb/storage/ums-usbat.o
  LD      drivers/usb/storage/built-in.o
  LD      drivers/usb/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 46 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm/boot/Image
  Kernel: arch/arm/boot/Image is ready
  AS      arch/arm/boot/compressed/head.o
  GZIP    arch/arm/boot/compressed/piggy.gzip
  CC      arch/arm/boot/compressed/misc.o
  CC      arch/arm/boot/compressed/decompress.o
In file included from /home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/arch/arm/boot/compressed/misc.c:28:0:
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/mach/mt6580/include/mach/uncompress.h: In function 'arch_decomp_setup':
/home/pmos/build/src/linux-wiko-lenny2-204adbdcc01951c8eb33fc8b5543320f760bd3e3/drivers/misc/mediatek/mach/mt6580/include/mach/uncompress.h:24:19: warning: unused variable 'tmp' [-Wunused-variable]
     unsigned char tmp;
                   ^
  CC      arch/arm/boot/compressed/string.o
  SHIPPED arch/arm/boot/compressed/hyp-stub.S
  SHIPPED arch/arm/boot/compressed/lib1funcs.S
  SHIPPED arch/arm/boot/compressed/ashldi3.S
  AS      arch/arm/boot/compressed/hyp-stub.o
  AS      arch/arm/boot/compressed/lib1funcs.o
  AS      arch/arm/boot/compressed/ashldi3.o
  AS      arch/arm/boot/compressed/piggy.gzip.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready
  CAT     arch/arm/boot/zImage-dtb
  Kernel: arch/arm/boot/zImage-dtb is ready
>>> linux-wiko-lenny2: Entering fakeroot...
]0;abuild-armv7: linux-wiko-lenny2>>> linux-wiko-lenny2*: zImage found: zImage-dtb
>>> linux-wiko-lenny2*: Running postcheck for linux-wiko-lenny2
>>> linux-wiko-lenny2*: Preparing package linux-wiko-lenny2...
>>> WARNING: linux-wiko-lenny2*: No arch specific binaries found so arch should probably be set to "noarch"
>>> linux-wiko-lenny2*: Tracing dependencies...
>>> linux-wiko-lenny2*: Package size: 5.9 MB
>>> linux-wiko-lenny2*: Compressing data...
>>> linux-wiko-lenny2*: Create checksum...
>>> linux-wiko-lenny2*: Create linux-wiko-lenny2-3.10.72-r0.apk
]0;>>> linux-wiko-lenny2: Build complete at Thu, 12 Dec 2019 12:18:17 +0000 elapsed time 0h 11m 13s
]0;>>> linux-wiko-lenny2: Updating the pmos/armv7 repository index...
>>> linux-wiko-lenny2: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz.2322': Operation not permitted
]0;(002176) [12:18:17] (native) uninstall build dependencies
(002176) [12:18:17] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
]0;abuild-x86_64: linux-wiko-lenny2WARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/21) Purging .makedepends-linux-wiko-lenny2 (20191212.120705)
(2/21) Purging sed (4.7-r0)
Executing sed-4.7-r0.post-deinstall
(3/21) Purging installkernel (3.5-r0)
(4/21) Purging bash (5.0.11-r1)
Executing bash-5.0.11-r1.pre-deinstall
(5/21) Purging gmp-dev (6.1.2-r1)
(6/21) Purging libgmpxx (6.1.2-r1)
(7/21) Purging bc (1.07.1-r1)
(8/21) Purging linux-headers (4.19.36-r0)
(9/21) Purging elfutils-dev (0.168-r2)
(10/21) Purging elfutils-libelf (0.168-r2)
(11/21) Purging devicepkg-dev (0.9.1-r0)
(12/21) Purging gcc4 (9999-r2)
(13/21) Purging git-perl (2.24.1-r0)
(14/21) Purging perl-git (2.24.1-r0)
(15/21) Purging perl-error (0.17028-r0)
(16/21) Purging perl (5.30.1-r0)
(17/21) Purging libbz2 (1.0.8-r1)
(18/21) Purging readline (8.0.1-r0)
(19/21) Purging ncurses-libs (6.1_p20191130-r0)
(20/21) Purging ncurses-terminfo (6.1_p20191130-r0)
(21/21) Purging ncurses-terminfo-base (6.1_p20191130-r0)
Executing busybox-1.31.1-r4.trigger
OK: 257 MiB in 61 packages
]0;(002176) [12:18:18] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002176) [12:18:18] Done
checksums
1
2
3
4
5
6
+ export BPO_JOB_ID=121353
+ BPO_JOB_ID=121353
++ pmbootstrap/pmbootstrap.py -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/armv7
+ sha512sum linux-wiko-lenny2-3.10.72-r0.apk
8079e41558c8c247e00e81b00a1ca49ba23ff6fcb6c5d46cff3c2a90819384d5245f1d4656e869230b577ca9a789500d2e0ca003bcd95ac3e6d0e447cab3dd8c  linux-wiko-lenny2-3.10.72-r0.apk
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
+ export BPO_JOB_ID=121353
+ BPO_JOB_ID=121353
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=armv7
+ BPO_ARCH=armv7
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+++ pmbootstrap/pmbootstrap.py -q config work
++ ls -1 /home/build/.local/var/pmbootstrap/packages/armv7/linux-wiko-lenny2-3.10.72-r0.apk
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/armv7/linux-wiko-lenny2-3.10.72-r0.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/armv7/linux-wiko-lenny2-3.10.72-r0.apk
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=linux-wiko-lenny2
+ BPO_PKGNAME=linux-wiko-lenny2
+ export BPO_VERSION=3.10.72-r0
+ BPO_VERSION=3.10.72-r0
+ exec pmaports/.build.postmarketos.org/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/armv7/linux-wiko-lenny2-3.10.72-r0.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 3 months ago (took 12 minutes)