#263480 success

Build package: master/armv7/linux-samsung-gtel3g-3.10.17-r1

Owner
~postmarketos
Created
18 days ago
Updated
18 days 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
41
42
43
44
45
46
47
[#263480] 2020/07/24 16:26:13 Booting image alpine/latest (default) on port 22858
[#263480] 2020/07/24 16:26:13 Waiting for guest to settle
[#263480] 2020/07/24 16:26:21 Sending tasks
[#263480] 2020/07/24 16:26:21 Sending build environment
[#263480] 2020/07/24 16:26:21 Sending secrets
[#263480] 2020/07/24 16:26:21 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#263480] 2020/07/24 16:26:21 Installing packages
Warning: Permanently added '[localhost]:22858' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
v3.12.0-175-g8b3334c57c [http://dl-cdn.alpinelinux.org/alpine/v3.12/main]
v3.12.0-179-gc1e97b6747 [http://dl-cdn.alpinelinux.org/alpine/v3.12/community]
OK: 12744 distinct packages available
Warning: Permanently added '[localhost]:22858' (ECDSA) to the list of known hosts.
(1/14) Installing coreutils (8.32-r0)
(2/14) Installing libproc (3.3.16-r0)
(3/14) Installing procps (3.3.16-r0)
(4/14) Installing py3-ordered-set (4.0.1-r0)
(5/14) Installing py3-appdirs (1.4.4-r1)
(6/14) Installing py3-parsing (2.4.7-r0)
(7/14) Installing py3-six (1.15.0-r0)
(8/14) Installing py3-packaging (20.4-r0)
(9/14) Installing py3-setuptools (47.0.0-r0)
(10/14) Installing py3-chardet (3.0.4-r4)
(11/14) Installing py3-idna (2.9-r0)
(12/14) Installing py3-certifi (2020.4.5.1-r0)
(13/14) Installing py3-urllib3 (1.25.9-r0)
(14/14) Installing py3-requests (2.23.0-r0)
Executing busybox-1.31.1-r19.trigger
OK: 1132 MiB in 215 packages
[#263480] 2020/07/24 16:26:25 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init
Cloning into 'build.postmarketos.org'...
+ cd build.postmarketos.org
+ git submodule update --init
[#263480] 2020/07/24 16:26:39 Running task bpo_setup
[#263480] 2020/07/24 16:26:42 Running task install_pubkey
[#263480] 2020/07/24 16:26:43 Running task pmbootstrap_build
[#263480] 2020/07/24 16:37:51 Running task checksums
[#263480] 2020/07/24 16:37:52 Running task submit
[#263480] 2020/07/24 16:37:58 Processing post-success triggers...
[#263480] 2020/07/24 16:37:58 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
+ export BPO_JOB_ID=263480
+ BPO_JOB_ID=263480
+ mkdir -p /home/build/.config
+ echo '[pmbootstrap]'
+ echo 'is_default_channel = False'
+ git -C pmaports checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ + ./pmbootstrap/pmbootstrap.py --aports=/home/build/pmaports -q yes ''
init
[16:26:41] Work path [/home/build/.local/var/pmbootstrap]: [16:26:41] Channel [edge]: [16:26:41] Vendor [qemu]: [16:26:41] Device codename [amd64]: [16:26:41] Kernel [virt]: [16:26:41] Username [user]: [16:26:41] User interface [weston]: [16:26:41] Change them? (y/n) [n]: [16:26:41] Extra packages [none]: [16:26:41] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [16:26:41] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: + sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
++ git -C pmaports rev-parse --abbrev-ref HEAD
+ branch=master
+ '[' master '!=' master ']'
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=263480
+ BPO_JOB_ID=263480
+ 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
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
This is a big file! Only the last 128KiB is shown. Click here to download the full log.

      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:442:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  442 |  spi_chip->reg_backup[7] = __raw_readl(reg_base + SPI_INT_EN);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:443:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  443 |  spi_chip->reg_backup[8] = __raw_readl(reg_base + SPI_DSP_WAIT);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:444:49: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  444 |  spi_chip->reg_backup[9] = __raw_readl(reg_base + SPI_CTL6);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:445:50: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  445 |  spi_chip->reg_backup[10] = __raw_readl(reg_base + SPI_CTL7);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_restore_config':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:455:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  455 |  __raw_writel(spi_chip->reg_backup[0], reg_base + SPI_CLKD);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:456:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  456 |  __raw_writel(spi_chip->reg_backup[1], reg_base + SPI_CTL0);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:457:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  457 |  __raw_writel(spi_chip->reg_backup[2], reg_base + SPI_CTL1);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:458:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  458 |  __raw_writel(spi_chip->reg_backup[3], reg_base + SPI_CTL2);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:459:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  459 |  __raw_writel(spi_chip->reg_backup[4], reg_base + SPI_CTL3);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:460:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  460 |  __raw_writel(spi_chip->reg_backup[5], reg_base + SPI_CTL4);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:461:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  461 |  __raw_writel(spi_chip->reg_backup[6], reg_base + SPI_CTL5);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:462:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  462 |  __raw_writel(spi_chip->reg_backup[7], reg_base + SPI_INT_EN);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:463:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  463 |  __raw_writel(spi_chip->reg_backup[8], reg_base + SPI_DSP_WAIT);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:464:49: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  464 |  __raw_writel(spi_chip->reg_backup[9], reg_base + SPI_CTL6);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:465:50: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  465 |  __raw_writel(spi_chip->reg_backup[10], reg_base + SPI_CTL7);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/scatterlist.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/dma-mapping.h:9,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'u32' {aka 'unsigned int'}
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
  CC      drivers/sipc/smem.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/platform_device.h:14,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:17:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c: In function 'sprd_spi_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:594:23: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'resource_size_t' {aka 'unsigned int'} [-Wformat=]
  594 |  dev_info(&pdev->dev, "probe spi %d get regbase %p\n", pdev->id, regs->start);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            ~~~~~~~~~~~
      |                                                                      |
      |                                                                      resource_size_t {aka unsigned int}
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:51: note: in definition of macro 'dev_info'
 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                   ^~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/spi/sprd_spi_r4p0.c:594:50: note: format string is defined here
  594 |  dev_info(&pdev->dev, "probe spi %d get regbase %p\n", pdev->id, regs->start);
      |                                                 ~^
      |                                                  |
      |                                                  void *
      |                                                 %d
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smem.c: In function 'smem_debug_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/smem.c:140:53: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'atomic_t' {aka 'struct <anonymous>'} [-Wformat=]
  140 |  seq_printf(m, "phys_addr=0x%x, total=0x%x, used=0x%x, free=0x%x\n",
      |                                                    ~^
      |                                                     |
      |                                                     unsigned int
  141 |   spool->addr, spool->size, spool->used, fsize);
      |                             ~~~~~~~~~~~              
      |                                  |
      |                                  atomic_t {aka struct <anonymous>}
  CC      drivers/sipc/sbuf.o
  CC      net/xfrm/xfrm_hash.o
  LD      drivers/spi/built-in.o
  CC      drivers/staging/staging.o
  CC      net/xfrm/xfrm_input.o
  CC      drivers/staging/android/binder.o
  CC      drivers/sipc/sblock.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/binder.c: In function 'binder_node_release':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/binder.c:2963:1: warning: label 'out' defined but not used [-Wunused-label]
 2963 | out:
      | ^~~
  CC      net/xfrm/xfrm_output.o
  CC      drivers/sipc/sipc_debugfs.o
  CC      drivers/sipc/spipe.o
  CC      net/xfrm/xfrm_sysctl.o
  CC      drivers/sipc/seth.o
  CC      net/xfrm/xfrm_replay.o
  CC      drivers/sipc/stty.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:184:25: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  184 | static struct tty_port *stty_port_init()
      |                         ^~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_parse_dt':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:248:30: warning: initialization of 'struct of_device_node *' from incompatible pointer type 'struct device_node *' [-Wincompatible-pointer-types]
  248 |  struct of_device_node *np = dev->of_node;
      |                              ^~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:258:32: warning: passing argument 1 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types]
  258 |  ret = of_property_read_string(np, "sprd,name", (const char **)&pdata->name);
      |                                ^~
      |                                |
      |                                struct of_device_node *
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:252:56: note: expected 'struct device_node *' but argument is of type 'struct of_device_node *'
  252 | extern int of_property_read_string(struct device_node *np,
      |                                    ~~~~~~~~~~~~~~~~~~~~^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:263:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types]
  263 |  ret = of_property_read_u32(np, "sprd,dst", (uint32_t *)&data);
      |                             ^~
      |                             |
      |                             struct of_device_node *
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *'
  555 | static inline int of_property_read_u32(const struct device_node *np,
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:269:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types]
  269 |  ret = of_property_read_u32(np, "sprd,channel", (uint32_t *)&data);
      |                             ^~
      |                             |
      |                             struct of_device_node *
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *'
  555 | static inline int of_property_read_u32(const struct device_node *np,
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:275:29: warning: passing argument 1 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types]
  275 |  ret = of_property_read_u32(np, "sprd,bufid", (uint32_t *)&pdata->bufid);
      |                             ^~
      |                             |
      |                             struct of_device_node *
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of_device.h:8,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:29:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:555:66: note: expected 'const struct device_node *' but argument is of type 'struct of_device_node *'
  555 | static inline int of_property_read_u32(const struct device_node *np,
      |                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:349:44: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void *' [-Wformat=]
  349 |  printk( "stty_probe init device addr: 0x%0x\n", (void *)stty);
      |                                          ~~^     ~~~~~~~~~~~~
      |                                            |     |
      |                                            |     void *
      |                                            unsigned int
      |                                          %0p
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c: In function 'stty_handler':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/sipc/stty.c:86:1: warning: the frame size of 4104 bytes is larger than 1024 bytes [-Wframe-larger-than=]
   86 | }
      | ^
  LD      drivers/sipc/built-in.o
  CC      drivers/switch/switch_class.o
  CC      drivers/switch/switch_gpio.o
  CC      net/xfrm/xfrm_algo.o
  LD      drivers/switch/built-in.o
  CC      drivers/thermal/thermal_core.o
  CC      drivers/staging/android/ashmem.o
  CC      net/xfrm/xfrm_user.o
  CC      drivers/staging/android/logger.o
  CC      drivers/thermal/step_wise.o
  CC      drivers/staging/android/timed_output.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/step_wise.c: In function 'get_trip_target':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/step_wise.c:166:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
  166 |   printk("temp:%d, trip_temp:%d\n", tz->temperature, trip_temp);
      |                              ~^                      ~~~~~~~~~
      |                               |                      |
      |                               int                    long unsigned int
      |                              %ld
  CC      drivers/thermal/sprd_thm.o
  CC      drivers/staging/android/timed_gpio.o
  CC      drivers/thermal/sprd_2713s_thm.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c: In function 'sprd_thm_set_active_trip':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:29:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
   29 | #define THM_DEBUG(format, arg...) printk("sprd thm: " "@@@" format, ## arg)
      |                                          ^~~~~~~~~~~~
......
  177 |  THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp);
      |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                      |
      |                                                                                      long unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:177:2: note: in expansion of macro 'THM_DEBUG'
  177 |  THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp);
      |  ^~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/thermal/sprd_2713s_thm.c:177:46: note: format string is defined here
  177 |  THM_DEBUG("thm sensor trip:%d, temperature:%d \n", trip, trip_tab->trip_points[trip].temp);
      |                                             ~^
      |                                              |
      |                                              int
      |                                             %ld
  CC      drivers/staging/android/lowmemorykiller.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:35:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c: In function 'lowmem_shrink':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 15 has type 'long unsigned int' [-Wformat=]
    4 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
   13 | #define KERN_INFO KERN_SOH "6" /* informational */
      |                   ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO'
  223 |  printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:102:4: note: in expansion of macro 'pr_info'
  102 |    pr_info(x);   \
      |    ^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/lowmemorykiller.c:461:4: note: in expansion of macro 'lowmem_print'
  461 |    lowmem_print(1, "Killing '%s' (%d), adj %hd,\n" \
      |    ^~~~~~~~~~~~
  CC      net/xfrm/xfrm_ipcomp.o
  CC      drivers/staging/android/alarm-dev.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/alarm-dev.c: In function 'alarm_do_ioctl':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/staging/android/alarm-dev.c:267:1: warning: label 'err1' defined but not used [-Wunused-label]
  267 | err1:
      | ^~~~
  LD      drivers/thermal/thermal_sys.o
  LD      drivers/thermal/built-in.o
  LD      drivers/staging/iio/accel/built-in.o
  LD      drivers/staging/iio/adc/built-in.o
  LD      drivers/staging/iio/addac/built-in.o
  LD      drivers/staging/iio/cdc/built-in.o
  CC      drivers/staging/android/sync.o
  LD      drivers/staging/iio/frequency/built-in.o
  LD      drivers/staging/iio/gyro/built-in.o
  LD      drivers/staging/iio/impedance-analyzer/built-in.o
  LD      drivers/staging/iio/light/built-in.o
  LD      drivers/staging/iio/magnetometer/built-in.o
  LD      drivers/staging/iio/meter/built-in.o
  LD      drivers/staging/iio/resolver/built-in.o
  LD      net/xfrm/built-in.o
  LD      drivers/staging/iio/trigger/built-in.o
  LD      drivers/staging/iio/built-in.o
  LD      net/built-in.o
  LD      drivers/staging/media/built-in.o
  CC      drivers/staging/vnswap/vnswap.o
  CC      drivers/tty/tty_io.o
  LD      drivers/staging/android/built-in.o
  CC      drivers/staging/vnswap/vnswap_sysfs.o
  CC      drivers/tty/n_tty.o
  LD      drivers/staging/vnswap/built-in.o
  LD      drivers/staging/built-in.o
  CC      drivers/usb/core/usb.o
  CC      drivers/tty/tty_ioctl.o
  CC      drivers/tty/tty_ldisc.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c: In function 'usb_alloc_dev':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:425:9: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=]
  425 |     "%s.%d", parent->devpath, port1);
      |         ^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:425:5: note: using the range [-2147483648, 2147483647] for directive argument
  425 |     "%s.%d", parent->devpath, port1);
      |     ^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/usb.c:424:4: note: 'snprintf' output between 3 and 28 bytes into a destination of size 16
  424 |    snprintf(dev->devpath, sizeof dev->devpath,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |     "%s.%d", parent->devpath, port1);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/core/hub.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
  CC      drivers/usb/core/hcd.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c: In function 'rh_string':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c:427:34: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 35 and 99 [-Wformat-truncation=]
  427 |   snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname,
      |                                  ^~
  428 |    init_utsname()->release, hcd->driver->description);
      |    ~~~~~~~~~~~~~~~~~~~~~~~        
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/hcd.c:427:3: note: 'snprintf' output 3 or more bytes (assuming 131) into a destination of size 100
  427 |   snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  428 |    init_utsname()->release, hcd->driver->description);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/tty/vt/vt_ioctl.o
  CC      drivers/usb/core/urb.o
  CC      drivers/tty/serial/serial_sprd_dt.o
  CC      drivers/tty/vt/vc_screen.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'wakeup_rx_interrupt':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80)
      |                          ^
      |                          |
      |                          unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:331:20: note: in expansion of macro 'SPRD_EICINT_BASE'
  331 |  val = __raw_readl(SPRD_EICINT_BASE + 0x10);
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80)
      |                          ^
      |                          |
      |                          unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:336:20: note: in expansion of macro 'SPRD_EICINT_BASE'
  336 |  __raw_writel(val, SPRD_EICINT_BASE + 0x10);
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80)
      |                          ^
      |                          |
      |                          unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:339:20: note: in expansion of macro 'SPRD_EICINT_BASE'
  339 |  val = __raw_readl(SPRD_EICINT_BASE + 0x0C);
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:322:26: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  322 | #define SPRD_EICINT_BASE (SPRD_EIC_BASE+0x80)
      |                          ^
      |                          |
      |                          unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:341:20: note: in expansion of macro 'SPRD_EICINT_BASE'
  341 |  __raw_writel(val, SPRD_EICINT_BASE + 0x0C);
      |                    ^~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_setup_port':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:652:14: warning: assignment to 'resource_size_t' {aka 'unsigned int'} from 'unsigned char *' makes integer from pointer without a cast [-Wint-conversion]
  652 |  up->mapbase = up->membase;
      |              ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:641:22: warning: unused variable 'np' [-Wunused-variable]
  641 |  struct device_node *np = pdev->dev.of_node;
      |                      ^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c: In function 'serial_sprd_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:802:51: warning: passing argument 3 of 'of_property_read_string' from incompatible pointer type [-Wincompatible-pointer-types]
  802 |       of_property_read_string(np, "sprdwaketype", &local_string);
      |                                                   ^~~~~~~~~~~~~
      |                                                   |
      |                                                   char **
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/tty/serial/serial_sprd_dt.c:36:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/of.h:254:21: note: expected 'const char **' but argument is of type 'char **'
  254 |        const char **out_string);
      |        ~~~~~~~~~~~~~^~~~~~~~~~
  CC      drivers/tty/vt/selection.o
  CC      drivers/usb/core/message.o
  CC      drivers/tty/vt/keyboard.o
  LD      drivers/tty/serial/built-in.o
  CC      drivers/tty/sprdrq.o
  CC      drivers/tty/vt/consolemap.o
  CC      drivers/usb/core/driver.o
  CONMK   drivers/tty/vt/consolemap_deftbl.c
  CC      drivers/tty/vt/vt.o
  CC      drivers/usb/core/config.o
  SHIPPED drivers/tty/vt/defkeymap.c
  CC      drivers/tty/vt/consolemap_deftbl.o
  CC      drivers/tty/vt/defkeymap.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/core/notify.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c: In function 'async_completed':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:515:43: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
  515 |  if ((urb->transfer_flags & URB_DIR_MASK) == USB_DIR_IN)
      |                                           ^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c: In function 'proc_do_submiturb':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1240:43: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1240 |   if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) {
      |                                           ^~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1245:24: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1245 |           le16_to_cpup(&dr->wIndex));
      |                        ^~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1249:38: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1249 |   uurb->buffer_length = le16_to_cpup(&dr->wLength);
      |                                      ^~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb.h:18,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:44:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1262:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1262 |    __le16_to_cpup(&dr->wValue),
      |                   ^~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info'
 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop'
 1258 |   snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |   ^~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1263:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1263 |    __le16_to_cpup(&dr->wIndex),
      |                   ^~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info'
 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop'
 1258 |   snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |   ^~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1264:19: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1264 |    __le16_to_cpup(&dr->wLength));
      |                   ^~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/device.h:1014:58: note: in definition of macro 'dev_info'
 1014 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/core/devio.c:1258:3: note: in expansion of macro 'snoop'
 1258 |   snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |   ^~~~~
  LD      drivers/tty/vt/built-in.o
  LD      drivers/tty/built-in.o
  CC      drivers/video/fb_notify.o
  CC      drivers/usb/core/generic.o
  CC      drivers/usb/core/quirks.o
  CC      drivers/video/fbmem.o
  CC      drivers/usb/core/devices.o
  CC      drivers/usb/core/port.o
  CC      drivers/video/fbmon.o
  LD      drivers/usb/core/usbcore.o
  CC      drivers/video/fbcmap.o
  LD      drivers/usb/core/built-in.o
  CC      drivers/usb/gadget/udc-core.o
  CC      drivers/video/fbsysfs.o
  CC      drivers/video/modedb.o
  CC      drivers/usb/gadget/android.o
  CC      drivers/video/fbcvt.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:34:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c: In function 'ffs_epfile_io':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:764:8: warning: assignment to 'char *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
  764 |   data = &recv_buffer[8];
      |        ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:766:8: warning: assignment to 'char *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types]
  766 |   data = &send_buffer[8];
      |        ^
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:37:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c: In function 'do_read_toc':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:1218:7: warning: unused variable 'start_track' [-Wunused-variable]
 1218 |  int  start_track = common->cmnd[6];
      |       ^~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:1216:18: warning: unused variable 'curlun' [-Wunused-variable]
 1216 |  struct fsg_lun *curlun = common->curlun;
      |                  ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c: In function 'do_set_interface':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:2361:35: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct fsg_common *' [-Wformat=]
 2361 |   printk("%s new_fsg->common = 0x%x common = 0x%x\n",__func__,new_fsg->common,common);
      |                                  ~^                           ~~~~~~~~~~~~~~~
      |                                   |                                  |
      |                                   unsigned int                       struct fsg_common *
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mass_storage.c:2361:49: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct fsg_common *' [-Wformat=]
 2361 |   printk("%s new_fsg->common = 0x%x common = 0x%x\n",__func__,new_fsg->common,common);
      |                                                ~^                             ~~~~~~
      |                                                 |                             |
      |                                                 unsigned int                  struct fsg_common *
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:53,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:39:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb/android_composite.h: At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/usb/android_composite.h:86:46: warning: 'struct android_usb_function' declared inside parameter list will not be visible outside of this definition or declaration
   86 | extern void android_register_function(struct android_usb_function *f);
      |                                              ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:39:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c: In function 'mtp_bind_config':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:1654:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1654 |   if (status < 0)
      |   ^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_mtp_samsung.c:1657:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1657 |    strings_dev_mtp[F_MTP_IDX].id = status;
      |    ^~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c: In function 'mass_storage_support_luns_store':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:1010:12: warning: comparison between pointer and integer
 1010 |  if (value > (config->common->luns)||value <= 0)
      |            ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c: At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:1553:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 1553 | extern void usb_first_enable_store_flag();
      | ^~~~~~
  CC      drivers/video/backlight/gen_panel/gen-panel-bl.o
  CC      drivers/video/console/dummycon.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:583:13: warning: 'acm_function_unbind_config' defined but not used [-Wunused-function]
  583 | static void acm_function_unbind_config(struct android_usb_function *f,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:62:19: warning: 'longname' defined but not used [-Wunused-const-variable=]
   62 | static const char longname[] = "Gadget Android";
      |                   ^~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stat.h:18,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/module.h:10,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:15:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c: In function 'auto_brightness_store':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    4 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:13:19: note: in expansion of macro 'KERN_SOH'
   13 | #define KERN_INFO KERN_SOH "6" /* informational */
      |                   ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:223:9: note: in expansion of macro 'KERN_INFO'
  223 |  printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:251:3: note: in expansion of macro 'pr_info'
  251 |   pr_info("[BACKLIGHT] %s, auto_brightness : %u\n", __func__, value);
      |   ^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:251:47: note: format string is defined here
  251 |   pr_info("[BACKLIGHT] %s, auto_brightness : %u\n", __func__, value);
      |                                              ~^
      |                                               |
      |                                               unsigned int
      |                                              %lu
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel-bl.c:302:29: warning: 'gen_panel_bl_early_suspend_desc' defined but not used [-Wunused-variable]
  302 | static struct early_suspend gen_panel_bl_early_suspend_desc = {
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD      drivers/video/console/built-in.o
  CC      drivers/video/backlight/backlight.o
  CC      drivers/video/backlight/gen_panel/gen-panel.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_set_bl_level':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:719:23: warning: unused variable 'desc' [-Wunused-variable]
  719 |  struct gen_cmd_desc *desc;
      |                       ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:718:17: warning: unused variable 'dev' [-Wunused-variable]
  718 |  struct device *dev = lcd->dev;
      |                 ^~~
  CC      drivers/video/backlight/sprd_pwm_bl.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_manipulate_cmd_table':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1831:11: warning: argument to 'sizeof' in 'strncmp' call is the same expression as the second source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
 1831 |     sizeof(op_cmd_names[op_index])))
      |           ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_parse_dt_sysfs_node':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1935:16: warning: unused variable 'list' [-Wunused-variable]
 1935 |  const __be32 *list;
      |                ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:21: warning: unused variable 'size' [-Wunused-variable]
 1934 |  int config, state, size, ret;
      |                     ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:14: warning: unused variable 'state' [-Wunused-variable]
 1934 |  int config, state, size, ret;
      |              ^~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1934:6: warning: unused variable 'config' [-Wunused-variable]
 1934 |  int config, state, size, ret;
      |      ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:1933:28: warning: unused variable 'action' [-Wunused-variable]
 1933 |  struct manipulate_action *action;
      |                            ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_parse_dt_panel':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:2020:11: warning: unused variable 'panel_id' [-Wunused-variable]
 2020 |  u32 tmp, panel_id;
      |           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c: In function 'gen_panel_common_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:2370:37: warning: unused variable 'naction' [-Wunused-variable]
 2370 |  struct manipulate_action *action, *naction;
      |                                     ^~~~~~~
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/gen_panel/gen-panel.c:588:12: warning: 'gen_panel_read_status' defined but not used [-Wunused-function]
  588 | static int gen_panel_read_status(struct lcd *lcd)
      |            ^~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'pwm_read':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:115:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
  115 |         return __raw_readl(SPRD_PWM_BASE + index * 0x20 + reg);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:18:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'pwm_write':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:121:58: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
  121 |         __raw_writel(value, SPRD_PWM_BASE + index * 0x20 + reg);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:18:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c: In function 'sprd_backlight_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:302:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  302 |         struct device_node *np = pdev->dev.of_node;
      |         ^~~~~~
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:429:12: warning: 'gen_panel_backlight_runtime_resume' defined but not used [-Wunused-function]
  429 | static int gen_panel_backlight_runtime_resume(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/sprd_pwm_bl.c:417:12: warning: 'gen_panel_backlight_runtime_suspend' defined but not used [-Wunused-function]
  417 | static int gen_panel_backlight_runtime_suspend(struct device *dev)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/notify/host_notify_class.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c: In function 'mode_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c:48:44: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=]
   48 |  return snprintf(buf, sizeof(mode)+1, "%s\n", mode);
      |                                            ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/host_notify_class.c:48:9: note: 'snprintf' output between 6 and 12 bytes into a destination of size 5
   48 |  return snprintf(buf, sizeof(mode)+1, "%s\n", mode);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/notify/usb_notify.o
  LD      drivers/video/backlight/gen_panel/built-in.o
  CC      drivers/video/backlight/rt8555-backlight.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/backlight/rt8555-backlight.c:63:12: warning: 'backlight_i2c_write' defined but not used [-Wunused-function]
   63 | static int backlight_i2c_write(struct i2c_client *client,
      |            ^~~~~~~~~~~~~~~~~~~
  LD      drivers/video/backlight/built-in.o
  CC      drivers/usb/notify/dock_notify.o
  LD      drivers/video/omap2/displays/built-in.o
  LD      drivers/video/omap2/built-in.o
  CC      drivers/video/sprdfb/sprdfb_gen_panel.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/android.c:34:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c: In function 'ffs_ep0_write':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:29: warning: '%u' directive writing between 1 and 5 bytes into a region of size 3 [-Wformat-overflow=]
 1452 |   sprintf(epfiles->name, "ep%u",  i);
      |                             ^~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:26: note: directive argument in the range [1, 65535]
 1452 |   sprintf(epfiles->name, "ep%u",  i);
      |                          ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/f_fs.c:1452:3: note: 'sprintf' output between 4 and 8 bytes into a destination of size 5
 1452 |   sprintf(epfiles->name, "ep%u",  i);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_gen_panel.c:46:16: warning: 'ili9486s1_backlight_ctrl' declared 'static' but never defined [-Wunused-function]
   46 | static int32_t ili9486s1_backlight_ctrl(struct panel_spec *self, uint16_t bl_on);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_gen_panel.c:518:13: warning: 'sprd_panel_shutdown' defined but not used [-Wunused-function]
  518 | static void sprd_panel_shutdown(struct platform_device *pdev)
      |             ^~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/notify/usb_notifier_sprd.o
  CC      drivers/video/sprdfb/sprdfb_main.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/usb_notifier_sprd.c: In function 'sec_cable_notifier':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/notify/usb_notifier_sprd.c:261:6: warning: unused variable 'epmic_event_state' [-Wunused-variable]
  261 |  int epmic_event_state;
      |      ^~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c: In function 'sprdfb_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c:742:35: warning: assignment to 'bool (*)(void *)' {aka '_Bool (*)(void *)'} from incompatible pointer type 'int (*)(struct sprdfb_device *)' [-Wincompatible-pointer-types]
  742 |   dev->panel->esd_info->is_active = ESD_is_active;
      |                                   ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_main.c:743:33: warning: assignment to 'int (*)(void *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
  743 |   dev->panel->esd_info->recover = ESD_recover;
      |                                 ^
  LD      drivers/usb/notify/usb_notify_layer.o
  LD      drivers/usb/notify/built-in.o
  CC      drivers/usb/serial/usb-serial.o
  CC      drivers/video/sprdfb/sprdfb_panel.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:23:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_read':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:72:36: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
   72 |  return __raw_readl(SPRD_LCDC_BASE + reg);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:18:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:23:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_write':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:77:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   77 |  __raw_writel(value, (SPRD_LCDC_BASE + reg));
      |                      ~~~~~~~~~~~~~~~~^~~~~~
      |                                      |
      |                                      unsigned int
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_panel.c:18:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
  CC      drivers/video/sprdfb/sprdfb_dispc.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:167:58: warning: 'struct devfreq_dbs' declared inside parameter list will not be visible outside of this definition or declaration
  167 | static unsigned int sprdfb_dispc_change_threshold(struct devfreq_dbs *h,
      |                                                          ^~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:6,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:13,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/cache.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/time.h:4,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/ktime.h:24,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/timer.h:5,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/workqueue.h:8,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:16:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'dispc_check_new_clk':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:4:18: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u32 *' {aka 'unsigned int *'} [-Wformat=]
    4 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
      |                  ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kern_levels.h:10:18: note: in expansion of macro 'KERN_SOH'
   10 | #define KERN_ERR KERN_SOH "3" /* error conditions */
      |                  ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/printk.h:216:9: note: in expansion of macro 'KERN_ERR'
  216 |  printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
      |         ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:209:3: note: in expansion of macro 'pr_err'
  209 |   pr_err("[LCD] %s, invalid parameter (%d, %d)\n",
      |   ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:209:45: note: format string is defined here
  209 |   pr_err("[LCD] %s, invalid parameter (%d, %d)\n",
      |                                            ~^
      |                                             |
      |                                             int
      |                                            %ls
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'dispc_run':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:553:6: warning: unused variable 'i' [-Wunused-variable]
  553 |  int i = 0;
      |      ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:552:11: warning: unused variable 'flags' [-Wunused-variable]
  552 |  uint32_t flags = 0;
      |           ^~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: In function 'sprdfb_dispc_esd_reset':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:1520:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
 1520 |   return;
      |   ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:1512:16: note: declared here
 1512 | static int32_t sprdfb_dispc_esd_reset(struct sprdfb_device *dev)
      |                ^~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c: At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dispc.c:167:21: warning: 'sprdfb_dispc_change_threshold' declared 'static' but never defined [-Wunused-function]
  167 | static unsigned int sprdfb_dispc_change_threshold(struct devfreq_dbs *h,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/serial/generic.o
  CC      drivers/usb/gadget/usbstring.o
  CC      drivers/video/sprdfb/sprdfb_mcu.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:25:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_read':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:72:36: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
   72 |  return __raw_readl(SPRD_LCDC_BASE + reg);
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:25:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h: In function 'lcdc_write':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_lcdc_reg.h:77:38: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   77 |  __raw_writel(value, (SPRD_LCDC_BASE + reg));
      |                      ~~~~~~~~~~~~~~~~^~~~~~
      |                                      |
      |                                      unsigned int
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/fb.h:16,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:19:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_mcu.c:174:23: warning: 'lcdc_mcu_ops' defined but not used [-Wunused-variable]
  174 | static struct ops_mcu lcdc_mcu_ops = {
      |                       ^~~~~~~~~~~~
  CC      drivers/usb/gadget/config.o
  CC      drivers/usb/serial/bus.o
  CC      drivers/video/sprdfb/sprdfb_rgb.o
  CC      drivers/video/sprdfb/sprdfb_mipi.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/serial/pl2303.o
  CC      drivers/video/sprdfb/sprdfb_i2c.o
  CC      drivers/usb/gadget/composite.o
  CC      drivers/video/sprdfb/sprdfb_spi.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c: In function 'bos_desc':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:558:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  558 |  le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE);
      |               ^~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:570:15: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  570 |  le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE);
      |               ^~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c: In function 'get_string':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:974:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  974 |    collect_langs(sp, s->wData);
      |                      ~^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:979:24: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  979 |     collect_langs(sp, s->wData);
      |                       ~^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:992:25: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  992 |      collect_langs(sp, s->wData);
      |                        ~^~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/composite.c:999:23: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  999 |    collect_langs(sp, s->wData);
      |                      ~^~~~~~~
  LD      drivers/usb/serial/usbserial.o
  LD      drivers/usb/serial/built-in.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/video/sprdfb/sprdfb_dsi.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c: In function 'sprdfb_dsi_init':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c:635:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  635 |  struct resource r;
      |  ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c: In function 'sprdfb_dsi_set_lp_mode':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/sprdfb_dsi.c:827:11: warning: unused variable 'reg_val' [-Wunused-variable]
  827 |  uint32_t reg_val;
      |           ^~~~~~~
  CC      drivers/usb/gadget/functions.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/video/sprdfb/sprdfb_chip_common.o
  CC      drivers/video/sprdfb/sprdfb_chip_8830.o
  CC      drivers/usb/gadget/configfs.o
  CC      drivers/video/sprdfb/dsi_1_21a/mipi_dsih_api.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdUSB_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  136 |  return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
  137 | }
      | ~                                               
  138 | 
      |                                                 
  139 | 
      |                                                 
  140 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name)  \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  141 |  static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  142 |   const char *page, size_t len)  \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
  143 | {       \
      | ~~~~~~~~~                                       
  144 |  u8 val;      \
      |  ~~~~~~~~~~~~~~                                 
  145 |  int ret;     \
      |  ~~~~~~~~~~~~~~                                 
  146 |  ret = kstrtou8(page, 0, &val);   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  147 |  if (ret)     \
      |  ~~~~~~~~~~~~~~                                 
  148 |   return ret;    \
      |   ~~~~~~~~~~~~~~~~                              
  149 |  gi->cdev.desc._name = val;   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
  150 |  return len;     \
      |  ~~~~~~~~~~~~~~~~~                              
  151 | }
      | ~                                               
  152 | 
      |                                                 
  153 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  154 |  static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155 |   const char *page, size_t len)  \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
  156 | {       \
      | ~~~~~~~~~                                       
  157 |  u16 val;     \
      |  ~~~~~~~~~~~~~~                                 
  158 |  int ret;     \
      |  ~~~~~~~~~~~~~~                                 
  159 |  ret = kstrtou16(page, 0, &val);   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  160 |  if (ret)     \
      |  ~~~~~~~~~~~~~~                                 
  161 |   return ret;    \
      |   ~~~~~~~~~~~~~~~~                              
  162 |  gi->cdev.desc._name = cpu_to_le16p(&val); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  163 |  return len;     \
      |  ~~~~~~~~~~~~~~~~~                              
  164 | }
      | ~                                               
  165 | 
      |                                                 
  166 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |  GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
  168 |  GI_DEVICE_DESC_SIMPLE_W_##_type(_name)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
  169 | 
      |                                                 
  170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:170:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idVendor_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  136 |  return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \
      |                                                ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:167:2: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  167 |  GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:175:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW'
  175 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idProduct_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  136 |  return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \
      |                                                ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:167:2: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  167 |  GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:176:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW'
  176 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdDevice_show':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:136:48: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  136 |  return sprintf(page, "0x%04x\n", le16_to_cpup(&gi->cdev.desc.__name)); \
      |                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
  137 | }
      | ~                                               
  138 | 
      |                                                 
  139 | 
      |                                                 
  140 | #define GI_DEVICE_DESC_SIMPLE_W_u8(_name)  \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  141 |  static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  142 |   const char *page, size_t len)  \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
  143 | {       \
      | ~~~~~~~~~                                       
  144 |  u8 val;      \
      |  ~~~~~~~~~~~~~~                                 
  145 |  int ret;     \
      |  ~~~~~~~~~~~~~~                                 
  146 |  ret = kstrtou8(page, 0, &val);   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~             
  147 |  if (ret)     \
      |  ~~~~~~~~~~~~~~                                 
  148 |   return ret;    \
      |   ~~~~~~~~~~~~~~~~                              
  149 |  gi->cdev.desc._name = val;   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                 
  150 |  return len;     \
      |  ~~~~~~~~~~~~~~~~~                              
  151 | }
      | ~                                               
  152 | 
      |                                                 
  153 | #define GI_DEVICE_DESC_SIMPLE_W_u16(_name) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  154 |  static ssize_t gadget_dev_desc_##_name##_store(struct gadget_info *gi, \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  155 |   const char *page, size_t len)  \
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              
  156 | {       \
      | ~~~~~~~~~                                       
  157 |  u16 val;     \
      |  ~~~~~~~~~~~~~~                                 
  158 |  int ret;     \
      |  ~~~~~~~~~~~~~~                                 
  159 |  ret = kstrtou16(page, 0, &val);   \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  160 |  if (ret)     \
      |  ~~~~~~~~~~~~~~                                 
  161 |   return ret;    \
      |   ~~~~~~~~~~~~~~~~                              
  162 |  gi->cdev.desc._name = cpu_to_le16p(&val); \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~    
  163 |  return len;     \
      |  ~~~~~~~~~~~~~~~~~                              
  164 | }
      | ~                                               
  165 | 
      |                                                 
  166 | #define GI_DEVICE_DESC_SIMPLE_RW(_name, _type) \
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  167 |  GI_DEVICE_DESC_SIMPLE_R_##_type(_name) \
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
  168 |  GI_DEVICE_DESC_SIMPLE_W_##_type(_name)
      |  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         
  169 | 
      |                                                 
  170 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~            
  171 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceClass, u8);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
  172 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceSubClass, u8);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  173 | GI_DEVICE_DESC_SIMPLE_RW(bDeviceProtocol, u8);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  174 | GI_DEVICE_DESC_SIMPLE_RW(bMaxPacketSize0, u8);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  175 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
  176 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       
  177 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice);
      | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~           
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/configfs.c:177:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  177 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/storage/transport.o
  CC      drivers/usb/gadget/f_acm.o
  CC      drivers/video/sprdfb/dsi_1_21a/mipi_dsih_dphy.o
  CC      drivers/video/sprdfb/dsi_1_21a/mipi_dsih_hal.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_driver.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/kernel.h:7,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:51:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c: In function 'dwc_otg_driver_probe':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/stddef.h:8:14: warning: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion]
    8 | #define NULL ((void *)0)
      |              ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:697:10: note: in expansion of macro 'NULL'
  697 |   return NULL;
      |          ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_driver.c:719:30: warning: assignment to 'void *' from 'resource_size_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
  719 |  dwc_otg_device->os_dep.base = res.start;
      |                              ^
  LD      drivers/video/sprdfb/dsi_1_21a/built-in.o
  CC      drivers/video/sprdfb/lcd/lcd_dummy.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_attr.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/lcd/lcd_dummy.c:41:17: warning: 'dummy_readpowermode' defined but not used [-Wunused-function]
   41 | static uint32_t dummy_readpowermode(struct panel_spec *self)
      |                 ^~~~~~~~~~~~~~~~~~~
  LD      drivers/video/sprdfb/lcd/built-in.o
  CC      drivers/video/sprdfb/spi/spi_simple_drv.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c: In function 'SPI_Init':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:18: warning: unused variable 'ctl3' [-Wunused-variable]
  244 |  u32 ctl0, ctl1, ctl3;
      |                  ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:12: warning: unused variable 'ctl1' [-Wunused-variable]
  244 |  u32 ctl0, ctl1, ctl3;
      |            ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:244:6: warning: unused variable 'ctl0' [-Wunused-variable]
  244 |  u32 ctl0, ctl1, ctl3;
      |      ^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c: At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:293:13: warning: function declaration isn't a prototype [-Wstrict-prototypes]
  293 | static void SPI_WaitTxFinish()
      |             ^~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/video/sprdfb/spi/spi_simple_drv.c:164:13: warning: 'SPI_SetSpiMode' defined but not used [-Wunused-function]
  164 | static void SPI_SetSpiMode(uint32_t spi_mode)
      |             ^~~~~~~~~~~~~~
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_cil.o
  CC      drivers/usb/storage/initializers.o
  LD      drivers/video/sprdfb/spi/built-in.o
  CC      drivers/video/sprdfb/esd_detect.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/video/sprdfb/sprdfb_attr.o
  CC      drivers/usb/storage/option_ms.o
  LD      drivers/video/sprdfb/built-in.o
  CC      drivers/video/cfbfillrect.o
  CC      drivers/usb/storage/usual-tables.o
  CC      drivers/video/cfbcopyarea.o
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/built-in.o
  CC      drivers/usb/usb-common.o
  CC      drivers/watchdog/sprd_wdt_sys.o
  CC      drivers/video/cfbimgblt.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:38:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c: In function 'ca7_wdg_fiq':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/watchdog.h:33:33: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   33 | #define CA7_WDG_INT_CLR         (SPRD_CA7WDG_BASE + 0x0C)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 |
      |                                 unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:85:34: note: in expansion of macro 'CA7_WDG_INT_CLR'
   85 |  __raw_writel(WDG_INT_CLEAR_BIT, CA7_WDG_INT_CLR);
      |                                  ^~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/watchdog/sprd_wdt_sys.c:39:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
  LD      drivers/video/fb.o
  LD      drivers/video/built-in.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_cil_intr.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:742:18: warning: initialization of 'int (*)(struct usb_gadget *, int)' from incompatible pointer type 'int (*)(struct usb_gadget *, bool)' {aka 'int (*)(struct usb_gadget *, _Bool)'} [-Wincompatible-pointer-types]
  742 |  .vbus_session = vbus_session,
      |                  ^~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:742:18: note: (near initialization for 'dwc_otg_pcd_ops.vbus_session')
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'alloc_wrapper':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1081:6: warning: unused variable 'retval' [-Wunused-variable]
 1081 |  int retval;
      |      ^~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'pcd_init':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1456:6: warning: unused variable 'plug_irq' [-Wunused-variable]
 1456 |  int plug_irq;
      |      ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1453:33: warning: unused variable 'pdata' [-Wunused-variable]
 1453 |  struct sprd_usb_platform_data *pdata= _dev->dev.platform_data;
      |                                 ^~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c: In function 'dwc_usb_gadget_start':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1606:6: warning: unused variable 'retval' [-Wunused-variable]
 1606 |  int retval;
      |      ^~~~~~
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1364:12: warning: 'cable_is_connected' defined but not used [-Wunused-function]
 1364 | static int cable_is_connected(void)
      |            ^~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1303:20: warning: 'usb_detect_handler' defined but not used [-Wunused-function]
 1303 | static irqreturn_t usb_detect_handler(int irq, void *dev_id)
      |                    ^~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_linux.c:1273:13: warning: 'usb_detect_works' defined but not used [-Wunused-function]
 1273 | static void usb_detect_works(struct work_struct *work)
      |             ^~~~~~~~~~~~~~~~
  LD      drivers/watchdog/built-in.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_pcd.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c: In function 'ep0_do_stall':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=]
  280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \
      |                                                ^~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN'
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |  ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:29: note: format string is defined here
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |                            ~^
      |                             |
      |                             unsigned int
      |                            %hhn
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=]
  280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \
      |                                                ^~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN'
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |  ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:34: note: format string is defined here
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |                                 ~^
      |                                  |
      |                                  unsigned int
      |                                 %hhn
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb.h:44,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd.h:38,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:35:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_os.h:280:48: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'u_int8_t *' {aka 'unsigned char *'} [-Wformat=]
  280 | #define DWC_WARN(_format, _args...) __DWC_WARN("WARN:%s:%s:%d: " _format "\n", \
      |                                                ^~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:2: note: in expansion of macro 'DWC_WARN'
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |  ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_pcd_intr.c:1276:39: note: format string is defined here
 1276 |  DWC_WARN("req %02x.%02x 0x%x 0x%x 0x%x  protocol STALL; err %d\n",
      |                                      ~^
      |                                       |
      |                                       unsigned int
      |                                      %hhn
  CC      drivers/usb/gadget/dwc_otg/dwc_common_linux.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_adp.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_hcd.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_hcd_intr.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_hcd_queue.o
  CC      drivers/usb/gadget/dwc_otg/dwc_otg_hcd_ddma.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'dwc_otg_start':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:474:33: warning: unused variable 'platform_data' [-Wunused-variable]
  474 |  struct sprd_usb_platform_data *platform_data
      |                                 ^~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c: In function 'hcd_init':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:517:6: warning: unused variable 'otg_cable_connected' [-Wunused-variable]
  517 |  int otg_cable_connected;
      |      ^~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:516:6: warning: unused variable 'otg_cable_irq' [-Wunused-variable]
  516 |  int otg_cable_irq;
      |      ^~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:514:33: warning: unused variable 'pdata' [-Wunused-variable]
  514 |  struct sprd_usb_platform_data *pdata= _dev->dev.platform_data;
      |                                 ^~~~~
At top level:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/dwc_otg_hcd_linux.c:439:20: warning: 'usb_otg_cable_detect_handler' defined but not used [-Wunused-function]
  439 | static irqreturn_t usb_otg_cable_detect_handler(int irq, void *dev)
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/gadget/dwc_otg/usb_hw.o
  LD      drivers/usb/gadget/usb_f_acm.o
  CC      drivers/usb/gadget/u_serial.o
  LD      drivers/usb/gadget/g_android.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_init':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:155:10: warning: 'return' with a value, in function returning void [-Wreturn-type]
  155 |   return -ENODEV;
      |          ^
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:140:6: note: declared here
  140 | void usb_phy_init(struct platform_device *_dev)
      |      ^~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   20 | #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         |
      |                                                         unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR'
   32 | #define REG_AP_APB_USB_PHY_TUNE                           SCI_ADDR(REGS_AP_APB_BASE, 0x3000)
      |                                                           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:160:31: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE'
  160 |  __raw_writel(tune_from_uboot,REG_AP_APB_USB_PHY_TUNE);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_host':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   20 | #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         |
      |                                                         unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR'
   32 | #define REG_AP_APB_USB_PHY_TUNE                           SCI_ADDR(REGS_AP_APB_BASE, 0x3000)
      |                                                           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:207:26: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE'
  207 |  __raw_writel(tune_host, REG_AP_APB_USB_PHY_TUNE);
      |                          ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
   20 | #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         |
      |                                                         unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR'
   32 | #define REG_AP_APB_USB_PHY_TUNE                           SCI_ADDR(REGS_AP_APB_BASE, 0x3000)
      |                                                           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:208:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE'
  208 |  phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_phy_tune_dev':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 2 of '__raw_writel' makes pointer from integer without a cast [-Wint-conversion]
   20 | #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         |
      |                                                         unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR'
   32 | #define REG_AP_APB_USB_PHY_TUNE                           SCI_ADDR(REGS_AP_APB_BASE, 0x3000)
      |                                                           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:218:32: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE'
  218 |  __raw_writel(tune_from_uboot, REG_AP_APB_USB_PHY_TUNE);
      |                                ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:255:65: note: expected 'volatile void *' but argument is of type 'unsigned int'
  255 | static inline void __raw_writel(u32 val, volatile void __iomem *addr)
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:20:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/hardware.h:20:57: warning: passing argument 1 of '__raw_readl' makes pointer from integer without a cast [-Wint-conversion]
   20 | #define SCI_ADDR(_b_, _o_)                              ( (u32)(_b_) + (_o_) )
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
      |                                                         |
      |                                                         unsigned int
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/mach-sc/include/mach/./chip_x30g/__regs_ap_apb.h:32:59: note: in expansion of macro 'SCI_ADDR'
   32 | #define REG_AP_APB_USB_PHY_TUNE                           SCI_ADDR(REGS_AP_APB_BASE, 0x3000)
      |                                                           ^~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:219:25: note: in expansion of macro 'REG_AP_APB_USB_PHY_TUNE'
  219 |  phy_tune = __raw_readl(REG_AP_APB_USB_PHY_TUNE);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/usb/gadget/multi_config.o
In file included from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/include/linux/io.h:22,
                 from /home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:27:
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/arch/arm/include/asm/io.h:275:60: note: expected 'const volatile void *' but argument is of type 'unsigned int'
  275 | static inline u32 __raw_readl(const volatile void __iomem *addr)
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'usb_ldo_switch':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:84:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
   84 |    regulator_enable(usb_regulator);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c: In function 'charge_pump_set':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/drivers/usb/gadget/dwc_otg/usb_hw.c:335:5: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
  335 |     regulator_enable(usb_regulator);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  LD      drivers/usb/gadget/dwc_otg/dwc_otg.o
  LD      drivers/usb/gadget/libcomposite.o
  LD      drivers/usb/gadget/dwc_otg/built-in.o
  LD      drivers/usb/gadget/built-in.o
  LD      drivers/usb/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CC      init/main.o
  CHK     include/generated/compile.h
  CC      init/do_mounts.o
  CC      init/do_mounts_initrd.o
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c: In function 'do_one_initcall_debug':
/home/pmos/build/src/SM-T561-gtel3g-kernel-138e4fdf85854bd9ba791ae05ad9bd036d8b64fd/init/main.c:672:7: warning: unused variable 'name' [-Wunused-variable]
  672 |  char name[256]={0};
      |       ^~~~
  CC      init/initramfs.o
  CC      init/calibrate.o
  CC      init/init_task.o
  CC      init/version.o
  LD      init/mounts.o
  LD      init/built-in.o
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  Building modules, stage 2.
  OBJCOPY arch/arm/boot/Image
  MODPOST 4 modules
  Kernel: arch/arm/boot/Image is ready
  CC      drivers/autotst/autotst.mod.o
  AS      arch/arm/boot/compressed/head.o
  CC      drivers/mmc/card/mmc_test.mod.o
  CC      net/ipv4/tcp_htcp.mod.o
  GZIP    arch/arm/boot/compressed/piggy.gzip
  CC      net/ipv4/tcp_westwood.mod.o
  CC      arch/arm/boot/compressed/misc.o
  LD [M]  drivers/autotst/autotst.ko
  LD [M]  drivers/mmc/card/mmc_test.ko
  LD [M]  net/ipv4/tcp_htcp.ko
  LD [M]  net/ipv4/tcp_westwood.ko
  CC      arch/arm/boot/compressed/decompress.o
  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
>>> linux-samsung-gtel3g: Entering fakeroot...
]0;abuild-armv7: linux-samsung-gtel3gzImage found: zImage
>>> linux-samsung-gtel3g*: Running postcheck for linux-samsung-gtel3g
>>> linux-samsung-gtel3g*: Preparing package linux-samsung-gtel3g...
>>> WARNING: linux-samsung-gtel3g*: No arch specific binaries found so arch should probably be set to "noarch"
>>> linux-samsung-gtel3g*: Tracing dependencies...
>>> linux-samsung-gtel3g*: Package size: 6.0 MB
>>> linux-samsung-gtel3g*: Compressing data...
>>> linux-samsung-gtel3g*: Create checksum...
>>> linux-samsung-gtel3g*: Create linux-samsung-gtel3g-3.10.17-r1.apk
]0;>>> linux-samsung-gtel3g: Build complete at Fri, 24 Jul 2020 16:37:50 +0000 elapsed time 0h 10m 8s
]0;>>> linux-samsung-gtel3g: Updating the pmos/armv7 repository index...
>>> linux-samsung-gtel3g: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap-packages/armv7/APKINDEX.tar.gz.2499': Operation not permitted
]0;(002338) [16:37:50] (native) uninstall build dependencies
(002338) [16:37:50] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
]0;abuild: linux-samsung-gtel3gWARNING: Ignoring /mnt/pmbootstrap-packages/x86_64/APKINDEX.tar.gz: No such file or directory
(1/47) Purging .makedepends-linux-samsung-gtel3g (20200724.162743)
(2/47) Purging bash (5.0.18-r0)
Executing bash-5.0.18-r0.pre-deinstall
(3/47) Purging bc (1.07.1-r1)
(4/47) Purging bison (3.6.4-r0)
(5/47) Purging devicepkg-dev (0.12.2-r0)
(6/47) Purging postmarketos-splash (1.0.0-r1)
(7/47) Purging ttf-dejavu (2.37-r1)
(8/47) Purging encodings (1.0.5-r0)
(9/47) Purging mkfontscale (1.2.1-r1)
(10/47) Purging ttf-droid (20200215-r0)
(11/47) Purging fontconfig (2.13.1-r3)
(12/47) Purging py3-pillow (7.2.0-r0)
(13/47) Purging py3-olefile (0.46-r4)
(14/47) Purging flex (2.6.4-r2)
(15/47) Purging m4 (1.4.18-r1)
(16/47) Purging openssl-dev (1.1.1g-r0)
(17/47) Purging linux-headers (5.7.8-r0)
(18/47) Purging dtbtool (1.6.0-r5)
(19/47) Purging dtc-dev (1.6.0-r0)
(20/47) Purging libfdt (1.6.0-r0)
(21/47) Purging python3 (3.8.5-r0)
(22/47) Purging git-perl (2.27.0-r1)
(23/47) Purging perl-git (2.27.0-r1)
(24/47) Purging perl-error (0.17029-r0)
(25/47) Purging perl (5.30.3-r2)
(26/47) Purging readline (8.0.4-r0)
(27/47) Purging ncurses-libs (6.2_p20200718-r0)
(28/47) Purging ncurses-terminfo-base (6.2_p20200718-r0)
(29/47) Purging freetype (2.10.2-r0)
(30/47) Purging libbz2 (1.0.8-r1)
(31/47) Purging libpng (1.6.37-r1)
(32/47) Purging libuuid (2.35.2-r2)
(33/47) Purging libfontenc (1.1.4-r0)
(34/47) Purging libimagequant (2.12.6-r0)
(35/47) Purging tiff (4.1.0-r0)
(36/47) Purging libjpeg-turbo (2.0.5-r0)
(37/47) Purging lcms2 (2.11-r0)
(38/47) Purging openjpeg (2.3.1-r4)
(39/47) Purging libwebp (1.1.0-r0)
(40/47) Purging libxcb (1.14-r1)
(41/47) Purging libxau (1.0.9-r0)
(42/47) Purging libxdmcp (1.1.3-r0)
(43/47) Purging libbsd (0.10.0-r0)
(44/47) Purging libffi (3.3-r2)
(45/47) Purging gdbm (1.13-r1)
(46/47) Purging xz-libs (5.2.5-r0)
(47/47) Purging sqlite-libs (3.32.3-r0)
Executing busybox-1.32.0-r0.trigger
OK: 312 MiB in 61 packages
]0;(002338) [16:37:50] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002338) [16:37:50] Done
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=263480
+ BPO_JOB_ID=263480
++ pmbootstrap/pmbootstrap.py -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./edge/armv7/linux-samsung-gtel3g-3.10.17-r1.apk
df9a7dbf79450e4d9c6b5f71b6c660a2d58b679c82238276d74eda2b430e56101541c72e90e21768d9fed25c7799945160e1de14eb2f6928c9de2382fae87151  ./edge/armv7/linux-samsung-gtel3g-3.10.17-r1.apk
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
+ export BPO_JOB_ID=263480
+ BPO_JOB_ID=263480
+ 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
+ packages=/home/build/.local/var/pmbootstrap/packages
++ find /home/build/.local/var/pmbootstrap/packages -name '*.apk'
+ export BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/armv7/linux-samsung-gtel3g-3.10.17-r1.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/edge/armv7/linux-samsung-gtel3g-3.10.17-r1.apk
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=linux-samsung-gtel3g
+ BPO_PKGNAME=linux-samsung-gtel3g
+ export BPO_VERSION=3.10.17-r1
+ BPO_VERSION=3.10.17-r1
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/edge/armv7/linux-samsung-gtel3g-3.10.17-r1.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 18 days ago (took 11 minutes)