~postmarketos/#1234466

success

Build package: v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2

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

Tasks

view log »
bpo_setup view log »
install_pubkey view log »
pmbootstrap_build view log »
checksums view log »
submit view log »
go to bottom »
go to top »
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
48
49
50
51
[#1234466] 2024/05/29 08:18:52 Booting image alpine/latest (default) on port 22436
[#1234466] 2024/05/29 08:18:53 Waiting for guest to settle
[#1234466] 2024/05/29 08:19:01 Sending tasks
[#1234466] 2024/05/29 08:19:04 Sending build environment
[#1234466] 2024/05/29 08:19:04 Sending secrets
[#1234466] 2024/05/29 08:19:04 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#1234466] 2024/05/29 08:19:05 Installing packages
Warning: Permanently added '[localhost]:22436' (ED25519) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz
OK: 463 MiB in 140 packages
Warning: Permanently added '[localhost]:22436' (ED25519) to the list of known hosts.
(1/20) Installing coreutils-env (9.5-r1)
(2/20) Installing coreutils-fmt (9.5-r1)
(3/20) Installing coreutils-sha512sum (9.5-r1)
(4/20) Installing skalibs (2.14.1.1-r0)
(5/20) Installing utmps-libs (0.1.2.2-r1)
(6/20) Installing coreutils (9.5-r1)
(7/20) Installing libintl (0.22.5-r0)
(8/20) Installing libproc2 (4.0.4-r0)
(9/20) Installing procps-ng (4.0.4-r0)
(10/20) Installing py3-certifi (2024.2.2-r1)
(11/20) Installing py3-certifi-pyc (2024.2.2-r1)
(12/20) Installing py3-charset-normalizer (3.3.2-r1)
(13/20) Installing py3-charset-normalizer-pyc (3.3.2-r1)
(14/20) Installing py3-idna (3.7-r0)
(15/20) Installing py3-idna-pyc (3.7-r0)
(16/20) Installing py3-urllib3 (1.26.18-r1)
(17/20) Installing py3-urllib3-pyc (1.26.18-r1)
(18/20) Installing py3-requests (2.31.0-r2)
(19/20) Installing py3-requests-pyc (2.31.0-r2)
(20/20) Installing xz (5.6.1-r3)
Executing busybox-1.36.1-r28.trigger
OK: 468 MiB in 160 packages
[#1234466] 2024/05/29 08:19:06 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init --recursive
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init --recursive
Cloning into 'build.postmarketos.org'...
+ cd build.postmarketos.org
+ git submodule update --init --recursive
[#1234466] 2024/05/29 08:19:14 Running task bpo_setup
[#1234466] 2024/05/29 08:19:16 Running task install_pubkey
[#1234466] 2024/05/29 08:19:16 Running task pmbootstrap_build
[#1234466] 2024/05/29 08:38:40 Running task checksums
[#1234466] 2024/05/29 08:38:40 Running task submit
[#1234466] 2024/05/29 08:38:44 Processing post-success triggers...
[#1234466] 2024/05/29 08:38:44 Skipping trigger, condition unmet
bpo_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
+ export BPO_JOB_ID=1234466
+ BPO_JOB_ID=1234466
+ mkdir -p /home/build/.config
+ echo '[pmbootstrap]'
+ echo 'is_default_channel = False'
+ git -C pmaports checkout v24.06
branch 'v24.06' set up to track 'origin/v24.06'.
Switched to a new branch 'v24.06'
+ sudo ln -s /home/build/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap
+ yes ''
+ pmbootstrap --aports=/home/build/pmaports -q init
[08:19:14] Work path [/home/build/.local/var/pmbootstrap]: [08:19:14] Channel [v24.06]: [08:19:14] Vendor [qemu]: [08:19:14] Device codename [amd64]: [08:19:14] Kernel [lts]: [08:19:14] Username [user]: [08:19:14] Provider [default]: [08:19:15] User interface [console]: [08:19:15] Change them? (y/n) [n]: [08:19:15] Extra packages [none]: [08:19:15] Locale [en_US]: [08:19:15] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [08:19:15] 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=v24.06
+ '[' v24.06 '!=' v24.06 ']'
+ sudo mkdir -p /mnt/tmpfs-for-apks
+ sudo mount -t tmpfs -o size=1500M tmpfs /mnt/tmpfs-for-apks
++ pmbootstrap config work
+ WORK=/home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_x86_64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_x86_64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_x86_64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_aarch64
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_aarch64
+ ln -s /mnt/tmpfs-for-apks/cache_apk_aarch64 /home/build/.local/var/pmbootstrap
+ for arch in x86_64 aarch64 armv7
+ mkdir -p /mnt/tmpfs-for-apks/cache_apk_armv7
+ sudo rm -rf /home/build/.local/var/pmbootstrap/cache_apk_armv7
+ ln -s /mnt/tmpfs-for-apks/cache_apk_armv7 /home/build/.local/var/pmbootstrap
install_pubkey
1
2
3
4
5
6
7
8
9
10
11
12
+ export BPO_JOB_ID=1234466
+ BPO_JOB_ID=1234466
+ echo -n '-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnFsP5NKYRgJZxXkPG1JA
2IM1kZjfJZAMBzWoN9Q68D3FWErRbQWn7+Im0ifmHH/zms5kKaaaRNRLjTjrmf3y
kFrJQNhqCvEfZcWz/nvH+tsoGk8/b5fm6+W2hRh8JZpXs/aXR8YeAhB34U4moYol
Zxw9VVbUKeoZGgO6JHnm3aFBoODg26m5yqcZdJFuuDbci8q3I4RqojppYOXr/q4F
o3m8FNcvdKBb6uOCucyDKXqBSZE7KTYHKFT76w0D7EJLVteanhRqzX2D5UGvei5M
SrjiQWm5tv92IS1wdRRgdHoEQ2fTRxV9ps4gatfY3Gz7UkfbnORcxFSSclOl1XCw
VQIDAQAB
-----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
This is a big file! Only the last 128KiB is shown. Click here to download the full log.

  882 |                     assign_in_user(&ucontrols->size, &kcontrols->size) ||
      |                     ^~~~~~~~~~~~~~
../drivers/media/v4l2-core/v4l2-compat-ioctl32.c:882:36: warning: taking address of packed member of 'struct v4l2_ext_control32' may result in an unaligned pointer value [-Waddress-of-packed-member]
  882 |                     assign_in_user(&ucontrols->size, &kcontrols->size) ||
../arch/arm64/include/asm/uaccess.h:345:43: note: in definition of macro 'put_user'
  345 |         __typeof__(*(ptr)) __user *__p = (ptr);                         \
      |                                           ^~~
../drivers/media/v4l2-core/v4l2-compat-ioctl32.c:882:21: note: in expansion of macro 'assign_in_user'
  882 |                     assign_in_user(&ucontrols->size, &kcontrols->size) ||
      |                     ^~~~~~~~~~~~~~
  CC      drivers/net/mii.o
  CC      drivers/media/v4l2-core/v4l2-of.o
  CC      drivers/net/Space.o
  CC      drivers/media/v4l2-core/vb2-trace.o
  CC      drivers/net/loopback.o
  CC      drivers/media/v4l2-core/v4l2-trace.o
  LD      drivers/net/ethernet/8390/built-in.o
  LD      drivers/net/ethernet/amd/built-in.o
  LD      drivers/net/ethernet/arc/built-in.o
  LD      drivers/net/ethernet/broadcom/built-in.o
  LD      drivers/net/ethernet/cadence/built-in.o
  LD      drivers/net/ethernet/ezchip/built-in.o
  LD      drivers/net/ethernet/hisilicon/built-in.o
  LD      drivers/net/ethernet/i825xx/built-in.o
  LD      drivers/net/ethernet/intel/built-in.o
  LD      drivers/net/ethernet/marvell/built-in.o
  LD      drivers/net/ethernet/micrel/built-in.o
  LD      drivers/net/ethernet/microchip/built-in.o
  LD      drivers/net/ethernet/natsemi/built-in.o
  LD      drivers/net/ethernet/qualcomm/built-in.o
  LD      drivers/net/ethernet/renesas/built-in.o
  LD      drivers/net/ethernet/rocker/built-in.o
  LD      drivers/net/ethernet/samsung/built-in.o
  LD      drivers/net/ethernet/seeq/built-in.o
  CC      drivers/net/ethernet/smsc/smsc911x.o
  CC      drivers/media/v4l2-core/v4l2-common.o
  CC      drivers/media/v4l2-core/v4l2-dv-timings.o
  LD      drivers/net/ethernet/smsc/built-in.o
  LD      drivers/net/ethernet/stmicro/built-in.o
  LD      drivers/net/ethernet/synopsys/built-in.o
  LD      drivers/net/ethernet/via/built-in.o
  LD      drivers/net/ethernet/wiznet/built-in.o
  LD      drivers/net/ethernet/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/media/v4l2-core/videobuf2-core.o
  CC      drivers/net/phy/phy_device.o
  CC      drivers/media/v4l2-core/videobuf2-v4l2.o
  CC      drivers/net/phy/mdio_bus.o
  LD      drivers/media/v4l2-core/videodev.o
  LD      drivers/media/v4l2-core/built-in.o
  CC      drivers/media/media-devnode.o
  LD      drivers/net/phy/libphy.o
  LD      drivers/net/phy/built-in.o
  CC      drivers/net/ppp/ppp_generic.o
  CC      drivers/media/media-entity.o
  LD      drivers/media/media.o
  LD      drivers/media/built-in.o
  LD      drivers/nfc/built-in.o
  LD      drivers/nvme/host/built-in.o
  LD      drivers/nvme/built-in.o
  CC      drivers/net/ppp/ppp_async.o
  CC      drivers/net/slip/slhc.o
  CC      drivers/net/ppp/bsd_comp.o
  CC      drivers/net/ppp/ppp_deflate.o
  CC      drivers/net/ppp/ppp_mppe.o
  LD      drivers/net/slip/built-in.o
  CC      drivers/net/usb/rtl8150.o
  CC      drivers/net/ppp/ppp_synctty.o
  CC      drivers/net/usb/r8152.o
  CC      drivers/net/ppp/pppox.o
  CC      drivers/net/ppp/pppolac.o
  CC      drivers/net/ppp/pppopns.o
  CC      drivers/net/usb/asix_devices.o
  CC [M]  drivers/net/ppp/pppoe.o
In file included from ../drivers/net/ppp/pppoe.c:61:
../include/linux/module.h:130:13: warning: 'init_module' specifies less restrictive attribute than its target 'pppoe_init': 'cold' [-Wmissing-attributes]
  130 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
../drivers/net/ppp/pppoe.c:1231:1: note: in expansion of macro 'module_init'
 1231 | module_init(pppoe_init);
      | ^~~~~~~~~~~
../drivers/net/ppp/pppoe.c:1191:19: note: 'init_module' target declared here
 1191 | static int __init pppoe_init(void)
      |                   ^~~~~~~~~~
../include/linux/module.h:136:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'pppoe_exit': 'cold' [-Wmissing-attributes]
  136 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
../drivers/net/ppp/pppoe.c:1232:1: note: in expansion of macro 'module_exit'
 1232 | module_exit(pppoe_exit);
      | ^~~~~~~~~~~
../drivers/net/ppp/pppoe.c:1221:20: note: 'cleanup_module' target declared here
 1221 | static void __exit pppoe_exit(void)
      |                    ^~~~~~~~~~
  CC      drivers/net/usb/asix_common.o
  LD      drivers/net/ppp/built-in.o
  CC      drivers/net/tun.o
  CC      drivers/net/usb/ax88172a.o
  CC      drivers/net/usb/ax88179_178a.o
  CC      drivers/of/base.o
  CC      drivers/net/usb/cdc_ether.o
  CC      drivers/of/device.o
  CC      drivers/net/usb/cdc_eem.o
  CC      drivers/net/usb/dm9601.o
  CC      drivers/of/platform.o
  CC      drivers/net/usb/smsc75xx.o
  CC      drivers/of/fdt.o
  CC      drivers/of/fdt_address.o
  CC      drivers/net/usb/smsc95xx.o
  CC      drivers/of/address.o
  CC      drivers/of/irq.o
  CC      drivers/net/usb/gl620a.o
  CC      drivers/net/usb/net1080.o
  CC      drivers/of/of_net.o
../drivers/net/usb/net1080.c: In function 'net1080_rx_fixup':
../drivers/net/usb/net1080.c:381:32: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
  381 |         hdr_len = le16_to_cpup(&header->hdr_len);
      |                                ^~~~~~~~~~~~~~~~
../drivers/net/usb/net1080.c:382:35: warning: taking address of packed member of 'struct nc_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
  382 |         packet_len = le16_to_cpup(&header->packet_len);
      |                                   ^~~~~~~~~~~~~~~~~~~
  CC      drivers/net/usb/plusb.o
  CC      drivers/of/of_mdio.o
  CC      drivers/net/usb/rndis_host.o
  CC      drivers/of/of_mtd.o
  CC      drivers/of/of_reserved_mem.o
  CC      drivers/net/usb/zaurus.o
  CC      drivers/net/usb/mcs7830.o
  LD      drivers/of/built-in.o
  CC      drivers/perf/arm_pmu.o
  CC      drivers/net/usb/usbnet.o
  LD      drivers/perf/built-in.o
  CC      drivers/pinctrl/core.o
  CC      drivers/pinctrl/pinctrl-utils.o
  CC      drivers/net/usb/ipheth.o
  CC      drivers/pinctrl/pinmux.o
  CC      drivers/net/usb/cdc_ncm.o
  CC      drivers/pinctrl/pinconf.o
  CC      drivers/pinctrl/devicetree.o
  CC      drivers/pinctrl/pinconf-generic.o
  CC      drivers/net/usb/cdc_mbim.o
  CC      drivers/pinctrl/pinctrl-single.o
  LD      drivers/net/usb/asix.o
  LD      drivers/net/usb/built-in.o
  LD      drivers/net/built-in.o
  LD      drivers/platform/built-in.o
  CC      drivers/pinctrl/pinctrl-hi6402-4.1.o
  LD      drivers/pinctrl/freescale/built-in.o
  CC      drivers/power/power_supply_core.o
  LD      drivers/pinctrl/nomadik/built-in.o
  LD      drivers/pinctrl/built-in.o
  LD      drivers/pwm/built-in.o
  CC      drivers/power/power_supply_sysfs.o
  CC      drivers/regulator/core.o
  CC      drivers/power/power_supply_leds.o
In file included from ../include/linux/kobject.h:21,
                 from ../include/linux/device.h:17,
                 from ../drivers/regulator/core.c:19:
../drivers/regulator/core.c:533:55: warning: initialization of 'ssize_t (*)(struct device *, struct device_attribute *, const char *, size_t)' {aka 'long int (*)(struct device *, struct device_attribute *, const char *, long unsigned int)'} from incompatible pointer type 'ssize_t (*)(struct device *, struct device_attribute *, char *, size_t)' {aka 'long int (*)(struct device *, struct device_attribute *, char *, long unsigned int)'} [-Wincompatible-pointer-types]
  533 | static DEVICE_ATTR(state, 0644, regulator_state_show, regulator_state_set);/*lint !e605 */
      |                                                       ^~~~~~~~~~~~~~~~~~~
../include/linux/sysfs.h:104:19: note: in definition of macro '__ATTR'
  104 |         .store  = _store,                                               \
      |                   ^~~~~~
../drivers/regulator/core.c:533:8: note: in expansion of macro 'DEVICE_ATTR'
  533 | static DEVICE_ATTR(state, 0644, regulator_state_show, regulator_state_set);/*lint !e605 */
      |        ^~~~~~~~~~~
../drivers/regulator/core.c:533:55: note: (near initialization for 'dev_attr_state.store')
  533 | static DEVICE_ATTR(state, 0644, regulator_state_show, regulator_state_set);/*lint !e605 */
      |                                                       ^~~~~~~~~~~~~~~~~~~
../include/linux/sysfs.h:104:19: note: in definition of macro '__ATTR'
  104 |         .store  = _store,                                               \
      |                   ^~~~~~
../drivers/regulator/core.c:533:8: note: in expansion of macro 'DEVICE_ATTR'
  533 | static DEVICE_ATTR(state, 0644, regulator_state_show, regulator_state_set);/*lint !e605 */
      |        ^~~~~~~~~~~
  CC      drivers/power/hisi/hisi_battery_data.o
  CC      drivers/power/hisi/hisi_bci_battery.o
In file included from ../drivers/power/hisi/hisi_bci_battery.c:39:
../include/huawei_platform/usb/hw_typec_platform.h:15:29: warning: 'struct typec_device_info' declared inside parameter list will not be visible outside of this definition or declaration
   15 | void typec_wake_lock(struct typec_device_info *di);
      |                             ^~~~~~~~~~~~~~~~~
../include/huawei_platform/usb/hw_typec_platform.h:17:31: warning: 'struct typec_device_info' declared inside parameter list will not be visible outside of this definition or declaration
   17 | void typec_wake_unlock(struct typec_device_info *di);
      |                               ^~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/power/hisi/hisi_bci_battery.c:43:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/hisi_bci_battery.c:65: warning: "HWLOG_TAG" redefined
   65 | #define HWLOG_TAG hisi_bci/*lint !e547 */
      | 
In file included from ../drivers/power/hisi/hisi_bci_battery.c:60:
../include/huawei_platform/power/usb_short_circuit_protect.h:11: note: this is the location of the previous definition
   11 | #define HWLOG_TAG usb_short_circuit_protect
      | 
../drivers/power/hisi/hisi_bci_battery.c: In function 'bci_set_work_interval':
../drivers/power/hisi/hisi_bci_battery.c:365:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  365 |     if (hisi_coul_low_temp_opt() && (hisi_battery_temperature() < 5) && (di->monitoring_interval > (WORK_INTERVAL_NOARMAL/2)))
      |     ^~
../drivers/power/hisi/hisi_bci_battery.c:368:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  368 |         if (capacity > CHG_CANT_FULL_THRESHOLD)
      |         ^~
../drivers/power/hisi/hisi_bci_battery.c:65: warning: "HWLOG_TAG" redefined
   65 | #define HWLOG_TAG hisi_bci/*lint !e547 */
      | 
In file included from ../drivers/power/hisi/hisi_bci_battery.c:60:
../include/huawei_platform/power/usb_short_circuit_protect.h:11: note: this is the location of the previous definition
   11 | #define HWLOG_TAG usb_short_circuit_protect
      | 
  CC      drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.o
  CC      drivers/regulator/dummy.o
  CC      drivers/regulator/fixed-helper.o
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c:31:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c: In function 'hi6522_get_register_head':
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c:800:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  800 |                 strncat(reg_head, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c:800:17: note: length computed here
  800 |                 strncat(reg_head, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c: In function 'hi6522_dump_register':
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c:781:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
  781 |                 strncat(reg_value, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV200/hisi_scharger_v200.c:781:17: note: length computed here
  781 |                 strncat(reg_value, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/regulator/helpers.o
  CC      drivers/regulator/devres.o
  LD      drivers/power/hisi/charger/schargerV200/built-in.o
  CC      drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.o
  CC      drivers/regulator/of_regulator.o
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../include/huawei_platform/power/direct_charger.h:7,
                 from ../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:33:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:3785:21: warning: initialization of 'int (*)(struct direct_charge_device *)' from incompatible pointer type 'int (*)(struct direct_charge_device *)' [-Wincompatible-pointer-types]
 3785 |         .scp_exit = hi6523_scp_exit,
      |                     ^~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:3785:21: note: (near initialization for 'scp_hi6523_ops.scp_exit')
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c: In function 'hi6523_get_register_head':
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2140:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2140 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2140:9: note: length computed here
 2140 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2142:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2142 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2142:9: note: length computed here
 2142 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2144:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2144 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2144:9: note: length computed here
 2144 |         strncat(reg_head, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2147:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2147 |                 strncat(reg_head, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2147:17: note: length computed here
 2147 |                 strncat(reg_head, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/regulator/hisi_regulator.o
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c: In function 'hi6523_dump_register':
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2115:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2115 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2115:9: note: length computed here
 2115 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2117:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2117 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2117:9: note: length computed here
 2117 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2119:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2119 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2119:9: note: length computed here
 2119 |         strncat(reg_value, buff, strlen(buff));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2122:17: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 2122 |                 strncat(reg_value, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/charger/schargerV300/hisi_scharger_v300.c:2122:17: note: length computed here
 2122 |                 strncat(reg_value, buff, strlen(buff));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/regulator/hisi_kirin950_regulator.o
  LD      drivers/power/hisi/charger/schargerV300/built-in.o
  LD      drivers/power/hisi/charger/built-in.o
  CC      drivers/power/hisi/coul/hi6555v100/hisi_hi6555v100_coul.o
  CC      drivers/regulator/hisi_charger_regulator.o
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/power/hisi/coul/hi6555v100/../hisi_coul_core.h:33,
                 from ../drivers/power/hisi/coul/hi6555v100/hisi_hi6555v100_coul.c:4:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hi6555v100/hisi_hi6555v100_coul.c: In function 'hi6555v100_coul_set_reg_sel':
../drivers/power/hisi/coul/hi6555v100/hisi_hi6555v100_coul.c:1135:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1135 |     if (strict_strtol(buf, 0, &g_reg_addr) < 0)
      |     ^~
../drivers/power/hisi/coul/hi6555v100/hisi_hi6555v100_coul.c:1137:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1137 |         return status;
      |         ^~~~~~
  CC      drivers/regulator/hisi_regulator_ip_debug.o
  LD      drivers/power/hisi/coul/hi6555v100/built-in.o
  CC      drivers/power/hisi/coul/hisi_coul_core.o
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/power/hisi/coul/hisi_coul_core.h:33,
                 from ../drivers/power/hisi/coul/hisi_coul_core.c:3:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'adjust_uuc':
../drivers/power/hisi/coul/hisi_coul_core.c:1333:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1333 |     if ((LOW_TEMP_OPT_OPEN == low_temp_opt_flag) && (1 != di->soc_limit_flag)) /*start or wake allow jump*/
      |     ^~
../drivers/power/hisi/coul/hisi_coul_core.c:1335:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1335 |         if (di->prev_pc_unusable == -EINVAL
      |         ^~
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'save_nv_info':
../drivers/power/hisi/coul/hisi_coul_core.c:1620:51: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
 1620 |     strncpy(nve.nv_name, HISI_COUL_NV_NAME, sizeof(HISI_COUL_NV_NAME));
      |                                                   ^
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'get_battery_id_voltage':
../drivers/power/hisi/coul/hisi_coul_core.c:2969:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 2969 |     else
      |     ^~~~
In file included from ../include/huawei_platform/usb/hw_pd_dev.h:8:
../include/huawei_platform/log/hw_log.h:75:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   75 |     do{ \
      |     ^~
../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro '__hwlog_info'
   72 |         __hwlog_info(TAG,##x)
      |         ^~~~~~~~~~~~
../include/huawei_platform/log/hw_log.h:69:9: note: in expansion of macro '_hwlog_info'
   69 |         _hwlog_info(HWLOG_TAG,##x)
      |         ^~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:2971:9: note: in expansion of macro 'hwlog_info'
 2971 |         hwlog_info("get battery id voltage is %d mv\n",di->batt_id_vol);
      |         ^~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'calculate_state_of_charge':
../drivers/power/hisi/coul/hisi_coul_core.c:3508:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 3508 |     if (soc > 100)
      |     ^~
../drivers/power/hisi/coul/hisi_coul_core.c:3510:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 3510 |         soc_before_adjust = soc;
      |         ^~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'is_ocv_reach_renew_threshold':
../drivers/power/hisi/coul/hisi_coul_core.c:7148:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 7148 |     else
      |     ^~~~
../include/huawei_platform/log/hw_log.h:75:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   75 |     do{ \
      |     ^~
../include/huawei_platform/log/hw_log.h:72:9: note: in expansion of macro '__hwlog_info'
   72 |         __hwlog_info(TAG,##x)
      |         ^~~~~~~~~~~~
../include/huawei_platform/log/hw_log.h:69:9: note: in expansion of macro '_hwlog_info'
   69 |         _hwlog_info(HWLOG_TAG,##x)
      |         ^~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:7150:9: note: in expansion of macro 'hwlog_info'
 7150 |         hwlog_info("[SR]%s(delta_soc:%d, time_now:%d)\n", __func__, delta_soc_renew_ocv, time_now);
      |         ^~~~~~~~~~
  CC      drivers/regulator/hisi_regulator_debug.o
  LD      drivers/regulator/built-in.o
  CC      drivers/remoteproc/remoteproc_core.o
  CC      drivers/remoteproc/remoteproc_debugfs.o
  CC      drivers/remoteproc/remoteproc_virtio.o
../drivers/power/hisi/coul/hisi_coul_core.c: In function 'iscd_dump_dsm_info':
../drivers/power/hisi/coul/hisi_coul_core.c:5423:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5423 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5423:5: note: length computed here
 5423 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5426:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5426 |         strncat(buf, tmp_buf, strlen(tmp_buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5426:9: note: length computed here
 5426 |         strncat(buf, tmp_buf, strlen(tmp_buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5429:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5429 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5429:5: note: length computed here
 5429 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5431:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5431 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5431:5: note: length computed here
 5431 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5433:5: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5433 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5433:5: note: length computed here
 5433 |     strncat(buf, tmp_buf, strlen(tmp_buf));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5441:9: warning: 'strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 5441 |         strncat(buf, tmp_buf, strlen(tmp_buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/power/hisi/coul/hisi_coul_core.c:5441:9: note: length computed here
 5441 |         strncat(buf, tmp_buf, strlen(tmp_buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC      drivers/remoteproc/remoteproc_elf_loader.o
  CC      drivers/remoteproc/remoteproc_bin_loader.o
  CC      drivers/power/hisi/coul/hisi_coul_drv.o
  CC      drivers/remoteproc/hisi_remoteproc.o
  CC      drivers/power/hisi/coul/hisi_coul_drv_test.o
../drivers/remoteproc/hisi_remoteproc.c: In function 'hisi_isp_data_text_vunmap':
../drivers/remoteproc/hisi_remoteproc.c:282:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  282 |     if (use_sec_isp())
      |     ^~
In file included from ../include/linux/module.h:9,
                 from ../drivers/remoteproc/hisi_remoteproc.c:15:
../include/linux/list.h:530:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  530 |         for (pos = list_first_entry(head, typeof(*pos), member),        \
      |         ^~~
../drivers/remoteproc/hisi_remoteproc.c:285:9: note: in expansion of macro 'list_for_each_entry_safe'
  285 |         list_for_each_entry_safe(entry, tmp, &rproc->dynamic_mems, node) {
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/remoteproc/hisi_remoteproc.c: In function 'rpmsg_vdev_map_resource':
../drivers/remoteproc/hisi_remoteproc.c:561:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  561 |     for (i = 0; i < RVDEV_NUM_VRINGS; i++)
      |     ^~~
../drivers/remoteproc/hisi_remoteproc.c:563:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  563 |         for (i = 0; i < RVDEV_NUM_VRINGS; i++) {
      |         ^~~
../drivers/remoteproc/hisi_remoteproc.c: In function 'rproc_handle_version':
../drivers/remoteproc/hisi_remoteproc.c:996:71: warning: the comparison will always evaluate as 'true' for the address of 'reserved' will never be NULL [-Waddress]
  996 |                                                         rsc->reserved != 0?rsc->reserved:"NULL");
      |                                                                       ^~
In file included from ../drivers/remoteproc/hisi_remoteproc.c:23:
../include/linux/platform_data/remoteproc-hisi.h:46:14: note: 'reserved' declared here
   46 |         char reserved[4];
      |              ^~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/power/hisi/coul/hisi_coul_core.h:33,
                 from ../drivers/power/hisi/coul/hisi_coul_drv_test.c:22:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
  LD      drivers/power/hisi/coul/built-in.o
  LD      drivers/power/hisi/built-in.o
  LD      drivers/power/reset/built-in.o
  LD      drivers/power/power_supply.o
  LD      drivers/power/built-in.o
  CC      drivers/rpmsg/virtio_rpmsg_bus.o
  LD      drivers/remoteproc/remoteproc.o
  LD      drivers/remoteproc/built-in.o
  CC      drivers/rtc/rtc-lib.o
  LD      drivers/rpmsg/built-in.o
  CC      drivers/rtc/hctosys.o
  CC      drivers/scsi/scsi.o
  CC      drivers/rtc/systohc.o
  CC      drivers/rtc/class.o
  CC      drivers/rtc/interface.o
  CC      drivers/scsi/hosts.o
  CC      drivers/rtc/rtc-dev.o
  CC      drivers/rtc/rtc-proc.o
  CC      drivers/scsi/scsi_ioctl.o
  CC      drivers/rtc/rtc-sysfs.o
  CC      drivers/rtc/rtc-hisi-pmic.o
  CC      drivers/scsi/scsicam.o
../drivers/rtc/rtc-hisi-pmic.c: In function 'rtc_alarm_notify_work':
../drivers/rtc/rtc-hisi-pmic.c:478:41: warning: the comparison will always evaluate as 'true' for the address of 'dev' will never be NULL [-Waddress]
  478 |         if ((ldata) && (ldata->rtc_dev) && (&(ldata->rtc_dev->dev))) {
      |                                         ^~
In file included from ../drivers/rtc/rtc-hisi-pmic.c:14:
../include/linux/rtc.h:113:23: note: 'dev' declared here
  113 |         struct device dev;
      |                       ^~~
  LD      drivers/rtc/rtc-core.o
  LD      drivers/rtc/built-in.o
  LD      drivers/soc/built-in.o
  CC      drivers/scsi/scsi_error.o
  CC      drivers/spi/spi.o
  CC      drivers/scsi/scsi_lib.o
  CC      drivers/spi/spi-pl022.o
  CC      drivers/scsi/scsi_common.o
  CC      drivers/scsi/scsi_lib_dma.o
  LD      drivers/spi/built-in.o
  CC      drivers/staging/staging.o
  CC      drivers/staging/android/hwlogger/hw_logger.o
../drivers/staging/android/hwlogger/hw_logger.c: In function 'hw_logger_write_iter':
../drivers/staging/android/hwlogger/hw_logger.c:514:30: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  514 |         struct iovec *iov  = from->iov;
      |                              ^~~~
  CC      drivers/scsi/scsi_scan.o
  CC      drivers/staging/android/hwlogger/hw_reboot_wdt.o
  LD      drivers/staging/android/hwlogger/built-in.o
  CC      drivers/staging/android/ion/ion.o
  CC      drivers/scsi/scsi_sysfs.o
../drivers/staging/android/ion/ion.c: In function 'user_ion_free_nolock':
../drivers/staging/android/ion/ion.c:756:37: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  756 |         if (!handle->user_ref_count > 0) {
      |                                     ^
../drivers/staging/android/ion/ion.c:756:13: note: add parentheses around left hand side expression to silence this warning
  756 |         if (!handle->user_ref_count > 0) {
      |             ^~~~~~~~~~~~~~~~~~~~~~~
      |             (                      )
  CC      drivers/scsi/scsi_devinfo.o
  CC      drivers/staging/android/ion/ion_heap.o
  CC      drivers/scsi/scsi_sysctl.o
  CC      drivers/staging/android/ion/ion_page_pool.o
  CC      drivers/scsi/scsi_proc.o
  CC      drivers/staging/android/ion/ion_system_heap.o
  CC      drivers/scsi/scsi_trace.o
  CC      drivers/staging/android/ion/ion_carveout_heap.o
  CC      drivers/scsi/scsi_logging.o
  CC      drivers/staging/android/ion/ion_chunk_heap.o
  CC      drivers/staging/android/ion/ion_cma_heap.o
  CC      drivers/scsi/scsi_pm.o
  CC      drivers/staging/android/ion/compat_ion.o
  CC      drivers/scsi/sd.o
  CC      drivers/staging/android/ion/hisi/hisi_ion_smart_pool.o
  CC      drivers/staging/android/ion/hisi/hisi_cpudraw_alloc.o
  CC      drivers/staging/android/ion/hisi/of_hisi_ion.o
In file included from ../include/linux/uaccess.h:8,
                 from ../drivers/staging/android/ion/hisi/of_hisi_ion.c:26:
../drivers/staging/android/ion/hisi/of_hisi_ion.c: In function 'compat_get_ion_flush_data':
../arch/arm64/include/asm/uaccess.h:302:39: warning: initialization of 'void *' from 'compat_ulong_t' {aka 'unsigned int'} makes pointer from integer without a cast [-Wint-conversion]
  302 |         __typeof__(*(ptr)) __pu_val = (x);                              \
      |                                       ^
../arch/arm64/include/asm/uaccess.h:331:9: note: in expansion of macro '__put_user_err'
  331 |         __put_user_err((x), (ptr), __pu_err);                           \
      |         ^~~~~~~~~~~~~~
../arch/arm64/include/asm/uaccess.h:348:17: note: in expansion of macro '__put_user'
  348 |                 __put_user((x), __p) :                                  \
      |                 ^~~~~~~~~~
../drivers/staging/android/ion/hisi/of_hisi_ion.c:429:16: note: in expansion of macro 'put_user'
  429 |         err |= put_user(vaddr, &data->vaddr);
      |                ^~~~~~~~
../drivers/staging/android/ion/hisi/of_hisi_ion.c: In function 'compat_put_ion_flush_data':
../arch/arm64/include/asm/uaccess.h:259:13: warning: assignment to 'compat_ulong_t' {aka 'unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
  259 |         (x) = (__force __typeof__(*(ptr)))__gu_val;                     \
      |             ^
../arch/arm64/include/asm/uaccess.h:265:9: note: in expansion of macro '__get_user_err'
  265 |         __get_user_err((x), (ptr), __gu_err);                           \
      |         ^~~~~~~~~~~~~~
../arch/arm64/include/asm/uaccess.h:282:17: note: in expansion of macro '__get_user'
  282 |                 __get_user((x), __p) :                                  \
      |                 ^~~~~~~~~~
../drivers/staging/android/ion/hisi/of_hisi_ion.c:450:16: note: in expansion of macro 'get_user'
  450 |         err |= get_user(vaddr, &data->vaddr);
      |                ^~~~~~~~
  LD      drivers/scsi/scsi_mod.o
  LD      drivers/scsi/sd_mod.o
  LD      drivers/scsi/built-in.o
  CC      drivers/staging/android/ashmem.o
  LD      drivers/staging/android/ion/hisi/built-in.o
  CC      drivers/staging/android/ion/ion_seccm_heap.o
  CC      drivers/switch/switch_class.o
  LD      drivers/staging/android/ion/built-in.o
  CC      drivers/staging/android/timed_output.o
  LD      drivers/switch/built-in.o
  LD      drivers/staging/media/built-in.o
  CC      drivers/thermal/thermal_core.o
  CC      drivers/staging/android/lowmemorykiller.o
  CC      drivers/staging/android/alarm-dev.o
  CC      drivers/staging/android/sync.o
  CC      drivers/thermal/thermal_hwmon.o
  CC      drivers/staging/android/sync_debug.o
  CC      drivers/thermal/of-thermal.o
  CC      drivers/staging/android/sw_sync.o
  CC      drivers/thermal/user_space.o
  CC      drivers/staging/android/smart_reclaim.o
  CC      drivers/thermal/power_allocator.o
  CC      drivers/staging/android/rcc.o
  LD      drivers/staging/android/built-in.o
  LD      drivers/staging/built-in.o
  CC      drivers/tty/tty_io.o
  CC      drivers/thermal/cpu_cooling.o
  CC      drivers/thermal/devfreq_cooling.o
  CC      drivers/tty/n_tty.o
  CC      drivers/thermal/hisi/hisi_tsens.o
  CC      drivers/thermal/hisi/hisi_peripheral_tm.o
  CC      drivers/tty/tty_ioctl.o
  CC      drivers/thermal/hisi/hisi_ntc_tm_table.o
  CC      drivers/tty/tty_ldisc.o
  CC      drivers/thermal/hisi/hisi_ipa_thermal.o
  CC      drivers/tty/tty_buffer.o
  CC      drivers/thermal/hisi/board_cooling.o
  CC      drivers/thermal/hisi/hisi_shell_temp.o
  CC      drivers/tty/tty_port.o
  CC      drivers/thermal/hisi/hisi_ambient_temp.o
  CC      drivers/tty/tty_mutex.o
  LD      drivers/thermal/hisi/built-in.o
  LD      drivers/thermal/samsung/built-in.o
  LD      drivers/thermal/thermal_sys.o
  LD      drivers/thermal/built-in.o
  CC      drivers/tty/tty_ldsem.o
  CC      drivers/usb/class/cdc-wdm.o
  CC      drivers/tty/pty.o
  LD      drivers/usb/class/built-in.o
  CC      drivers/tty/tty_audit.o
  CC      drivers/usb/common/common.o
  CC      drivers/tty/sysrq.o
  CC      drivers/usb/common/usb-otg-fsm.o
  LD      drivers/usb/common/usb-common.o
  LD      drivers/usb/common/built-in.o
  CC      drivers/usb/core/usb.o
  LD      drivers/tty/ipwireless/built-in.o
  CC      drivers/tty/serial/serial_core.o
  CC      drivers/usb/core/hub.o
  CC      drivers/tty/serial/earlycon.o
  CC      drivers/tty/serial/amba-pl011.o
  CC      drivers/usb/core/hcd.o
  LD      drivers/tty/serial/built-in.o
  CC      drivers/tty/vt/vt_ioctl.o
  CC      drivers/tty/vt/vc_screen.o
  CC      drivers/usb/core/urb.o
  CC      drivers/tty/vt/selection.o
  CC      drivers/usb/core/message.o
  CC      drivers/tty/vt/keyboard.o
  CC      drivers/usb/core/driver.o
  CC      drivers/tty/vt/consolemap.o
  CC      drivers/usb/core/config.o
  CONMK   drivers/tty/vt/consolemap_deftbl.c
  CC      drivers/tty/vt/vt.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
  SHIPPED drivers/tty/vt/defkeymap.c
  CC      drivers/tty/vt/consolemap_deftbl.o
  CC      drivers/tty/vt/defkeymap.o
  LD      drivers/tty/vt/built-in.o
  LD      drivers/tty/built-in.o
  CC      drivers/usb/core/devio.o
  CC      drivers/usb/gadget/usbstring.o
../drivers/usb/core/devio.c: In function 'proc_do_submiturb':
../drivers/usb/core/devio.c:1344:57: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1344 |                 if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) {
      |                                                         ^~~~~~~~~~~~
../drivers/usb/core/devio.c:1349:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1349 |                                       le16_to_cpup(&dr->wIndex));
      |                                                    ^~~~~~~~~~~
../drivers/usb/core/devio.c:1352:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1352 |                 uurb->buffer_length = le16_to_cpup(&dr->wLength);
      |                                                    ^~~~~~~~~~~~
In file included from ../include/linux/usb/ch9.h:35,
                 from ../include/linux/usb.h:5,
                 from ../drivers/usb/core/devio.c:44:
../drivers/usb/core/devio.c:1367:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1367 |                         __le16_to_cpup(&dr->wValue),
      |                                        ^~~~~~~~~~~
../include/linux/device.h:1176:58: note: in definition of macro 'dev_info'
 1176 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
../drivers/usb/core/devio.c:1363:17: note: in expansion of macro 'snoop'
 1363 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
../drivers/usb/core/devio.c:1368:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1368 |                         __le16_to_cpup(&dr->wIndex),
      |                                        ^~~~~~~~~~~
../include/linux/device.h:1176:58: note: in definition of macro 'dev_info'
 1176 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
../drivers/usb/core/devio.c:1363:17: note: in expansion of macro 'snoop'
 1363 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
../drivers/usb/core/devio.c:1369:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1369 |                         __le16_to_cpup(&dr->wLength));
      |                                        ^~~~~~~~~~~~
../include/linux/device.h:1176:58: note: in definition of macro 'dev_info'
 1176 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
../drivers/usb/core/devio.c:1363:17: note: in expansion of macro 'snoop'
 1363 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
  CC      drivers/usb/gadget/config.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/core/notify.o
  CC      drivers/usb/gadget/composite.o
  CC      drivers/usb/core/generic.o
../drivers/usb/gadget/composite.c: In function 'bos_desc':
../drivers/usb/gadget/composite.c:614:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  614 |         le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE);
      |                      ^~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/composite.c:626:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  626 |         le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE);
      |                      ^~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/composite.c:659:30: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  659 |                 le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SSP_CAP_SIZE(1));
      |                              ^~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/composite.c: In function 'get_string':
../drivers/usb/gadget/composite.c:1058:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1058 |                         collect_langs(sp, s->wData);
      |                                           ~^~~~~~~
../drivers/usb/gadget/composite.c:1063:52: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1063 |                                 collect_langs(sp, s->wData);
      |                                                   ~^~~~~~~
../drivers/usb/gadget/composite.c:1068:60: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1068 |                                         collect_langs(sp, s->wData);
      |                                                           ~^~~~~~~
../drivers/usb/gadget/composite.c:1075:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1075 |                         collect_langs(sp, s->wData);
      |                                           ~^~~~~~~
  CC      drivers/usb/core/quirks.o
  CC      drivers/usb/core/devices.o
  CC      drivers/usb/gadget/functions.o
  CC      drivers/usb/core/port.o
  LD      drivers/usb/core/usbcore.o
  LD      drivers/usb/core/built-in.o
  CC      drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.o
  CC      drivers/usb/gadget/configfs.o
../drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdUSB_show':
../drivers/usb/gadget/configfs.c:198:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  198 |                 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
      |                              ^
../drivers/usb/gadget/configfs.c:232:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  232 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdUSB);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idVendor_show':
../drivers/usb/gadget/configfs.c:198:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  198 |                 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
      |                              ^
../drivers/usb/gadget/configfs.c:229:9: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  229 |         GI_DEVICE_DESC_SIMPLE_R_##_type(_name)  \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c:237:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW'
  237 | GI_DEVICE_DESC_SIMPLE_RW(idVendor, u16);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_idProduct_show':
../drivers/usb/gadget/configfs.c:198:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  198 |                 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
      |                              ^
../drivers/usb/gadget/configfs.c:229:9: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  229 |         GI_DEVICE_DESC_SIMPLE_R_##_type(_name)  \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c:238:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_RW'
  238 | GI_DEVICE_DESC_SIMPLE_RW(idProduct, u16);
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/usb/gadget/configfs.c: In function 'gadget_dev_desc_bcdDevice_show':
../drivers/usb/gadget/configfs.c:198:30: warning: taking address of packed member of 'struct usb_device_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  198 |                 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
      |                              ^
../drivers/usb/gadget/configfs.c:239:1: note: in expansion of macro 'GI_DEVICE_DESC_SIMPLE_R_u16'
  239 | GI_DEVICE_DESC_SIMPLE_R_u16(bcdDevice);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c: In function 'driver_probe':
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:167:68: warning: passing argument 3 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types]
  167 |     err = of_property_read_u32(ofdev->dev.of_node, "enc_clk_rate", &enc_clk_rate);
      |                                                                    ^~~~~~~~~~~~~
      |                                                                    |
      |                                                                    long unsigned int *
In file included from ../include/linux/of_address.h:5,
                 from ../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:16:
../include/linux/of.h:867:45: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *'
  867 |                                        u32 *out_value)
      |                                        ~~~~~^~~~~~~~~
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:176:29: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  176 |         ret = PTR_ERR(clk); return;
      |                             ^~~~~~
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:137:5: note: declared here
  137 | int driver_probe(struct platform_device *ofdev) {
      |     ^~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:188:25: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  188 |                         return;
      |                         ^~~~~~
../drivers/vcodec/imagination/D5500/encode/platform/hisi/sysdev.c:137:5: note: declared here
  137 | int driver_probe(struct platform_device *ofdev) {
      |     ^~~~~~~~~~~~
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.o
../drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.c: In function 'WriteMemRefToMemRef':
../drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.c:670:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  670 |     if (result != IMG_SUCCESS)
      |     ^~
../drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.c:673:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  673 |         hRefDeviceMemL = IMG_MALLOC(sizeof(MEMORY_INFO));
      |         ^~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.c:681:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  681 |     if (result != IMG_SUCCESS)
      |     ^~
../drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/memmgr/memmgr_km.c:684:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  684 |         writeMemRefToMemRef(hDeviceMemL, ui32Offset, ui32ManglerFuncIdExt, hRefDeviceMemL, ui32RefOffset);
      |         ^~~~~~~~~~~~~~~~~~~
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/hostutils.o
  CC      drivers/usb/gadget/u_f.o
  CC      drivers/usb/gadget/function/f_acm.o
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/fwtrace.o
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/MTX_FwIF.o
  CC      drivers/usb/gadget/function/u_serial.o
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/topazmmu.o
  CC      drivers/usb/gadget/function/u_ether.o
  CC      drivers/vcodec/imagination/D5500/encode/kernel_device/libraries/topaz_hp/code/topaz_device_km.o
  CC      drivers/vcodec/imagination/D5500/encode/../imgvideo/rpc/sysbrg/src/memmgr_api_server.o
  CC      drivers/vcodec/imagination/D5500/encode/../imgvideo/rpc/sysbrg/src/hostutils_api_server.o
  LD      drivers/vcodec/imagination/D5500/encode/topazkm.o
  LD      drivers/vcodec/imagination/D5500/encode/built-in.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dbgevent/code/dbgevent_api.o
  CC      drivers/usb/gadget/function/f_rndis.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dbgevent/code/dbgevent_api_km.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dbgopt/code/dbgopt_api.o
  CC      drivers/usb/gadget/function/rndis.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dbgopt/code/dbgopt_api_km.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dman/code/dman_api.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/dman/code/dman_api_km.o
  CC      drivers/usb/gadget/function/f_mass_storage.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/pman/code/pman_api.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/pool/code/pool_api.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysbrg/utils/code/sysbrg_utils.o
  CC      drivers/usb/gadget/function/storage_common.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysdev/utils/code/sysdev_utils.o
  CC      drivers/usb/gadget/function/f_fs.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysenv/utils/code/sysenv_utils.o
In file included from ../include/uapi/linux/stddef.h:1,
                 from ../include/linux/stddef.h:4,
                 from ../include/uapi/linux/posix_types.h:4,
                 from ../include/uapi/linux/types.h:13,
                 from ../include/linux/types.h:5,
                 from ../include/uapi/linux/capability.h:16,
                 from ../include/linux/capability.h:15,
                 from ../include/linux/sched.h:15,
                 from ../include/linux/blkdev.h:4,
                 from ../drivers/usb/gadget/function/f_fs.c:21:
../arch/arm64/include/asm/mmu_context.h: In function 'cpu_install_idmap':
../arch/arm64/include/asm/proc-fns.h:40:20: warning: comparison between two arrays [-Warray-compare]
   40 |         BUG_ON(pgd == swapper_pg_dir);                  \
      |                    ^~
../include/linux/compiler.h:166:45: note: in definition of macro 'unlikely'
  166 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
../arch/arm64/include/asm/proc-fns.h:40:9: note: in expansion of macro 'BUG_ON'
   40 |         BUG_ON(pgd == swapper_pg_dir);                  \
      |         ^~~~~~
../arch/arm64/include/asm/mmu_context.h:127:9: note: in expansion of macro 'cpu_switch_mm'
  127 |         cpu_switch_mm(idmap_pg_dir, &init_mm);
      |         ^~~~~~~~~~~~~
../arch/arm64/include/asm/proc-fns.h:40:20: note: use '&idmap_pg_dir[0] == &swapper_pg_dir[0]' to compare the addresses
   40 |         BUG_ON(pgd == swapper_pg_dir);                  \
      |                    ^~
../include/linux/compiler.h:166:45: note: in definition of macro 'unlikely'
  166 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
../arch/arm64/include/asm/proc-fns.h:40:9: note: in expansion of macro 'BUG_ON'
   40 |         BUG_ON(pgd == swapper_pg_dir);                  \
      |         ^~~~~~
../arch/arm64/include/asm/mmu_context.h:127:9: note: in expansion of macro 'cpu_switch_mm'
  127 |         cpu_switch_mm(idmap_pg_dir, &init_mm);
      |         ^~~~~~~~~~~~~
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysmem/utils/code/sysmem_utils.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/rman/code/rman_api.o
  CC      drivers/usb/gadget/function/f_midi.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/idgen/code/idgen_api.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/page_alloc/code/page_alloc.o
  CC      drivers/usb/gadget/function/f_mtp.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysenv/generic/code/sysenv_api_km.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysos/linux/code/sysos_api_km.o
  CC      drivers/usb/gadget/function/f_ptp.o
  CC      drivers/usb/gadget/function/f_audio_source.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysbrg/linux/code/sysbrg_api_km.o
  CC      drivers/usb/gadget/function/f_accessory.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysbrg/linux/code/sysbrg_drv.o
../drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysbrg/linux/code/sysbrg_drv.c: In function 'sysbrg_open':
../drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysbrg/linux/code/sysbrg_drv.c:286:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  286 |     struct sysbrg_device *  dev = container_of(inode->i_cdev, struct sysbrg_device, cdev);
      |     ^~~~~~
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/perflog/linux/code/perflog_api.o
  CC      drivers/usb/gadget/function/function-hisi/hw_f_acm.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysmem/unified/code/sysmem_api_km.o
../drivers/usb/gadget/function/function-hisi/hw_f_acm.c: In function 'acm_notify_flow_control':
../drivers/usb/gadget/function/function-hisi/hw_f_acm.c:718:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  718 |         int status;
      |         ^~~
In file included from ../include/linux/usb/composite.h:42,
                 from ../drivers/usb/gadget/function/function-hisi/hw_u_serial.h:15,
                 from ../drivers/usb/gadget/function/function-hisi/hw_f_acm.c:23:
../drivers/usb/gadget/function/function-hisi/hw_f_acm.c: At top level:
../drivers/usb/gadget/function/function-hisi/hw_f_acm.c:1087:18: warning: initialization of 'ssize_t (*)(struct config_item *, char *)' {aka 'long int (*)(struct config_item *, char *)'} from incompatible pointer type 'ssize_t (*)(struct f_serial_opts *, char *)' {aka 'long int (*)(struct f_serial_opts *, char *)'} [-Wincompatible-pointer-types]
 1087 | CONFIGFS_ATTR_RO(f_acm_port_, num);
      |                  ^~~~~~~~~~~
../include/linux/configfs.h:146:27: note: in definition of macro 'CONFIGFS_ATTR_RO'
  146 |         .show           = _pfx##_name##_show,           \
      |                           ^~~~
../drivers/usb/gadget/function/function-hisi/hw_f_acm.c:1087:18: note: (near initialization for 'f_acm_port_attr_num.show')
 1087 | CONFIGFS_ATTR_RO(f_acm_port_, num);
      |                  ^~~~~~~~~~~
../include/linux/configfs.h:146:27: note: in definition of macro 'CONFIGFS_ATTR_RO'
  146 |         .show           = _pfx##_name##_show,           \
      |                           ^~~~
  CC      drivers/usb/gadget/function/function-hisi/hw_u_serial.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/port_fwrk/libraries/sysmem/ion/code/sysmem_api_km.o
  CC      drivers/usb/gadget/function/function-hisi/hisi_usb_interface_fake.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/dq/dq.o
  LD      drivers/usb/gadget/function/function-hisi/usb_hw_f_acm.o
  LD      drivers/usb/gadget/function/function-hisi/built-in.o
  LD      drivers/usb/gadget/function/usb_f_acm.o
  LD      drivers/usb/gadget/function/usb_f_rndis.o
  LD      drivers/usb/gadget/function/usb_f_mass_storage.o
  LD      drivers/usb/gadget/function/usb_f_fs.o
  LD      drivers/usb/gadget/function/usb_f_midi.o
  LD      drivers/usb/gadget/function/usb_f_mtp.o
  LD      drivers/usb/gadget/function/usb_f_ptp.o
  LD      drivers/usb/gadget/function/usb_f_audio_source.o
  LD      drivers/usb/gadget/function/usb_f_accessory.o
  LD      drivers/usb/gadget/function/built-in.o
  LD      drivers/usb/gadget/legacy/built-in.o
  CC      drivers/usb/gadget/udc/udc-core.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/lst/lst.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/addchild.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/addsib.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/copysub.o
  LD      drivers/usb/gadget/udc/built-in.o
  LD      drivers/usb/gadget/libcomposite.o
  LD      drivers/usb/gadget/built-in.o
  CC      drivers/usb/misc/ehset.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/finalsib.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/firstchild.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/init.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/isinsub.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/nextsib.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/prevsib.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/remleaf.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/remlsub.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/remsub.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/list_utils/src/trees/subnext.o
  LD      drivers/usb/misc/built-in.o
  CC      drivers/usb/phy/phy.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/secure_media/tal/code/tal.o
  CC      drivers/usb/phy/of.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/secure_media/target/code/target.o
  CC      drivers/usb/phy/class-dual-role.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/kernel_comp/libraries/wrap_utils/code/wrap_utils.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/talmmu_api.o
  LD      drivers/usb/phy/built-in.o
  CC      drivers/usb/storage/scsiglue.o
  CC      drivers/usb/storage/protocol.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/platform/ion_client.o
  CC      drivers/usb/storage/transport.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/addr_alloc1.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/hash.o
  CC      drivers/usb/storage/usb.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/pool.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/ra.o
  CC      drivers/usb/storage/initializers.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/talmmu_api/code/trace.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/pixelapi/code/pixel_api.o
  CC      drivers/usb/storage/sierra_ms.o
  CC      drivers/usb/storage/option_ms.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/imglib/libraries/pixelapi/code/pixel_api_internals.o
  CC      drivers/usb/storage/usual-tables.o
  LD      drivers/usb/storage/usb-storage.o
  LD      drivers/usb/storage/built-in.o
  CC      drivers/usb/susb/dwc_otg_driver.o
  CC      drivers/usb/susb/dwc_otg_attr.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/rpc/sysbrg/src/dbgevent_api_server.o
  CC      drivers/usb/susb/dwc_otg_cil.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/rpc/sysbrg/src/dman_api_server.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/rpc/sysbrg/src/dbgopt_api_server.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/rpc/sysbrg/src/page_alloc_server.o
  CC      drivers/vcodec/imagination/D5500/imgvideo/rpc/sysbrg/src/wrap_utils_server.o
  LD      drivers/vcodec/imagination/D5500/imgvideo/imgvideo.o
  LD      drivers/vcodec/imagination/D5500/imgvideo/built-in.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/null/code/null_device_km.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/decoder.o
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/decoder.c: In function 'decoder_PictureDecode':
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/decoder.c:2016:70: warning: assignment to 'IMG_UINT64' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
 2016 |     psPicture->psDecPictInfo->sFirstFieldTagContainer.pvPictTagParam = psStrUnit->pvStrUnitTag;
      |                                                                      ^
  CC      drivers/usb/susb/dwc_otg_cil_intr.o
  CC      drivers/usb/susb/dwc_otg_pcd_linux.o
  CC      drivers/usb/susb/dwc_otg_pcd.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.o
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.c:1352:25: warning: argument 2 of type 'IMG_UINT32[4]' {aka 'unsigned int[4]'} with mismatched bound [-Warray-parameter=]
 1352 |     IMG_UINT32          aui32FreeSlots[VDEC_MAX_PIXEL_PIPES],
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.c:48:
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.h:508:29: note: previously declared as 'IMG_UINT32 *' {aka 'unsigned int *'}
  508 |     IMG_UINT32            * pui32FreeSlots,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.c:1353:25: warning: argument 3 of type 'IMG_UINT32[4]' {aka 'unsigned int[4]'} with mismatched bound [-Warray-parameter=]
 1353 |     IMG_UINT32          aui32Load[VDEC_MAX_PIXEL_PIPES],
      |     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/hwctrl_api.h:509:29: note: previously declared as 'IMG_UINT32 *' {aka 'unsigned int *'}
  509 |     IMG_UINT32            * pui32Load,
      |     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
  CC      drivers/usb/susb/dwc_otg_pcd_intr.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/translation_api.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.o
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c: In function 'scaler_GetCoeff':
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:648:9: warning: 'scaler_CalcCoeff' accessing 144 bytes in a region of size 64 [-Wstringop-overflow=]
  648 |         scaler_CalcCoeff(
      |         ^~~~~~~~~~~~~~~~~
  649 |             psPitch->iHorizLuma,
      |             ~~~~~~~~~~~~~~~~~~~~
  650 |             psScalerCoeffs->aui8HorizLumaCoeffs,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  651 |             16,
      |             ~~~
  652 |             4);
      |             ~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:648:9: note: referencing argument 2 of type 'IMG_UINT8[9][16]' {aka 'unsigned char[9][16]'}
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:507:1: note: in a call to function 'scaler_CalcCoeff'
  507 | scaler_CalcCoeff(
      | ^~~~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:676:13: warning: 'scaler_CalcCoeff' accessing 144 bytes in a region of size 64 [-Wstringop-overflow=]
  676 |             scaler_CalcCoeff(
      |             ^~~~~~~~~~~~~~~~~
  677 |                 psPitch->iHorizChroma,
      |                 ~~~~~~~~~~~~~~~~~~~~~~
  678 |                 psScalerCoeffs->aui8HorizChromaCoeffs,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  679 |                 16,
      |                 ~~~
  680 |                 4);
      |                 ~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:676:13: note: referencing argument 2 of type 'IMG_UINT8[9][16]' {aka 'unsigned char[9][16]'}
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:507:1: note: in a call to function 'scaler_CalcCoeff'
  507 | scaler_CalcCoeff(
      | ^~~~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:711:9: warning: 'scaler_CalcCoeff' accessing 144 bytes in a region of size 64 [-Wstringop-overflow=]
  711 |         scaler_CalcCoeff(
      |         ^~~~~~~~~~~~~~~~~
  712 |             psPitch->iVertLuma,
      |             ~~~~~~~~~~~~~~~~~~~
  713 |             psScalerCoeffs->aui8VertLumaCoeffs,
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  714 |             16,
      |             ~~~
  715 |             4);
      |             ~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:711:9: note: referencing argument 2 of type 'IMG_UINT8[9][16]' {aka 'unsigned char[9][16]'}
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:507:1: note: in a call to function 'scaler_CalcCoeff'
  507 | scaler_CalcCoeff(
      | ^~~~~~~~~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:740:13: warning: 'scaler_CalcCoeff' accessing 144 bytes in a region of size 64 [-Wstringop-overflow=]
  740 |             scaler_CalcCoeff(
      |             ^~~~~~~~~~~~~~~~~
  741 |                 psPitch->iVertChroma,
      |                 ~~~~~~~~~~~~~~~~~~~~~
  742 |                 psScalerCoeffs->aui8VertChromaCoeffs,
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  743 |                 16,
      |                 ~~~
  744 |                 4);
      |                 ~~
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:740:13: note: referencing argument 2 of type 'IMG_UINT8[9][16]' {aka 'unsigned char[9][16]'}
../drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/scaler_setup.c:507:1: note: in a call to function 'scaler_CalcCoeff'
  507 | scaler_CalcCoeff(
      | ^~~~~~~~~~~~~~~~
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/dec_resources.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vxd_int.o
  CC      drivers/usb/susb/dwc_otg_hcd.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/pvdec_int.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/pvdec_msg.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/h264_vlc.o
  CC      drivers/usb/susb/dwc_otg_hcd_linux.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/h264_idx.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/mpeg4_vlc.o
  CC      drivers/usb/susb/dwc_otg_hcd_intr.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/mpeg4_idx.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vp8_vlc.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vp8_idx.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vp6_vlc.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vp6_idx.o
  CC      drivers/usb/susb/dwc_otg_hcd_queue.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/mpeg2_vlc.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/mpeg2_idx.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vc1_vlc.o
  CC      drivers/usb/susb/dwc_otg_hcd_ddma.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/decoder/code/vc1_idx.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/core_api.o
  CC      drivers/usb/susb/dwc_otg_adp.o
  CC      drivers/usb/susb/lm.o
  CC      drivers/usb/susb/dwc_otg_hicommon.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/plant.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/resource.o
  CC      drivers/usb/susb/dwc_otg_hi6250.o
In file included from ../include/huawei_platform/power/huawei_charger.h:23,
                 from ../drivers/usb/susb/dwc_otg_hi6250.c:11:
../include/huawei_platform/usb/hw_pd_dev.h:269:47: warning: 'struct pd_dpm_combphy_event' declared inside parameter list will not be visible outside of this definition or declaration
  269 | extern int pd_dpm_handle_combphy_event(struct pd_dpm_combphy_event event);
      |                                               ^~~~~~~~~~~~~~~~~~~~
In file included from ../include/huawei_platform/power/huawei_charger.h:26:
../include/huawei_platform/power/direct_charger.h:306:32: warning: 'struct direct_charge_device' declared inside parameter list will not be visible outside of this definition or declaration
  306 |         int (*scp_exit)(struct direct_charge_device*);
      |                                ^~~~~~~~~~~~~~~~~~~~
../drivers/usb/susb/dwc_otg_hi6250.c: In function 'hi6250_dplus_pulldown':
../drivers/usb/susb/dwc_otg_hi6250.c:143:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  143 |         struct usb_ahbif_registers *ahbif = (struct usb_ahbif_registers *)otg_device->usb_ahbif_base;
      |         ^~~~~~
../drivers/usb/susb/dwc_otg_hi6250.c: In function 'hi6250_dplus_pullup':
../drivers/usb/susb/dwc_otg_hi6250.c:160:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  160 |         struct usb_ahbif_registers *ahbif = (struct usb_ahbif_registers *)otg_device->usb_ahbif_base;
      |         ^~~~~~
  CC      drivers/usb/susb/hisi_usb_vbus.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/scheduler.o
  CC      drivers/usb/susb/dwc_common_port/dwc_cc.o
  CC      drivers/usb/susb/dwc_common_port/dwc_dh.o
  CC      drivers/usb/susb/dwc_common_port/dwc_notifier.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/vdecdd_mmu.o
  CC      drivers/usb/susb/dwc_common_port/dwc_common_linux.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/code/vdecdd_km.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/vdecdd_utils/code/vdecdd_utils.o
  CC      drivers/usb/susb/dwc_common_port/dwc_mem.o
  LD      drivers/usb/susb/dwc_common_port/dwc_common_port_lib.o
  LD      drivers/usb/susb/dwc_common_port/built-in.o
  LD      drivers/usb/susb/dwc_otg.o
  LD      drivers/usb/susb/built-in.o
  LD      drivers/usb/built-in.o
  CC      drivers/vcodec/imagination/D5500/vdec/kernel_device/libraries/vdecdd/libcomp/vdecdd_utils/code/vdecdd_utils_buf.o
  LD      drivers/video/backlight/built-in.o
  CC      drivers/video/console/dummycon.o
  LD      drivers/video/console/built-in.o
  CC      drivers/video/fbdev/core/fb_notify.o
  CC      drivers/vcodec/imagination/D5500/vdec/secure_media/secure_img/libraries/vxd/code/vxd_io.o
  CC      drivers/video/fbdev/core/fb_cmdline.o
  CC      drivers/vcodec/imagination/D5500/vdec/secure_media/secure_img/libraries/vxd/code/pvdec_io.o
  CC      drivers/video/fbdev/core/fbmem.o
  CC      drivers/vcodec/imagination/D5500/vdec/secure_media/secure_img/libraries/vxd/code/devaio.o
  CC      drivers/vcodec/imagination/D5500/vdec/secure_media/secure_img/libraries/device_interface/code/secdev_default.o
  CC      drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.o
../drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.c: In function 'driver_probe':
../drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.c:224:52: warning: passing argument 3 of 'of_property_read_u32' from incompatible pointer type [-Wincompatible-pointer-types]
  224 |     err = of_property_read_u32(np, "dec_clk_rate", &dec_clk_rate);
      |                                                    ^~~~~~~~~~~~~
      |                                                    |
      |                                                    long unsigned int *
In file included from ../drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.c:64:
../include/linux/of.h:867:45: note: expected 'u32 *' {aka 'unsigned int *'} but argument is of type 'long unsigned int *'
  867 |                                        u32 *out_value)
      |                                        ~~~~~^~~~~~~~~
../drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.c:239:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
  239 |                 return;
      |                 ^~~~~~
../drivers/vcodec/imagination/D5500/vdec/platform/hisi/sysdev.c:170:12: note: declared here
  170 | static int driver_probe(struct platform_device *pdev)
      |            ^~~~~~~~~~~~
  CC      drivers/video/fbdev/core/fbmon.o
  CC      drivers/vcodec/imagination/D5500/vdec/firmware/bin/vdecfw_bin.o
  CC      drivers/video/fbdev/core/fbcmap.o
  CC      drivers/vcodec/imagination/D5500/vdec/../imgvideo/rpc/sysbrg/src/vdecdd_server.o
  LD      drivers/vcodec/imagination/D5500/vdec/vdecdd.o
  LD      drivers/vcodec/imagination/D5500/vdec/built-in.o
  LD      drivers/vcodec/imagination/D5500/built-in.o
  CC      drivers/video/fbdev/hisi/dss/hisi_mipi_dsi_host.o
  CC      drivers/video/fbdev/core/fbsysfs.o
  CC      drivers/video/fbdev/hisi/dss/hisi_mipi_dsi.o
  CC      drivers/video/fbdev/core/modedb.o
  CC      drivers/video/fbdev/core/fbcvt.o
  CC      drivers/video/fbdev/core/fb_defio.o
  CC      drivers/video/fbdev/hisi/dss/hisi_pwm.o
  CC      drivers/video/fbdev/core/cfbfillrect.o
  CC      drivers/video/fbdev/hisi/dss/hisi_blpwm.o
  CC      drivers/video/fbdev/core/cfbcopyarea.o
In file included from ../drivers/video/fbdev/hisi/dss/hisi_blpwm.c:17:
../drivers/video/fbdev/hisi/dss/backlight/lm36274.h:22: warning: "REG_REVISION" redefined
   22 | #define REG_REVISION 0x01
      | 
In file included from ../drivers/video/fbdev/hisi/dss/hisi_blpwm.c:16:
../drivers/video/fbdev/hisi/dss/backlight/lm36923.h:30: note: this is the location of the previous definition
   30 | #define REG_REVISION 0x00
      | 
../drivers/video/fbdev/hisi/dss/backlight/lm36274.h:41: warning: "REG_MAX" redefined
   41 | #define REG_MAX 0x14
      | 
../drivers/video/fbdev/hisi/dss/backlight/lm36923.h:27: note: this is the location of the previous definition
   27 | #define REG_MAX 0x1F
      | 
../drivers/video/fbdev/hisi/dss/backlight/lm36274.h:65: warning: "LOG_LEVEL_INFO" redefined
   65 | #define LOG_LEVEL_INFO 8
      | 
../drivers/video/fbdev/hisi/dss/backlight/lm36923.h:78: note: this is the location of the previous definition
   78 | #define LOG_LEVEL_INFO 7
      | 
../drivers/video/fbdev/hisi/dss/backlight/lm36274.h:153:1: warning: useless storage class specifier in empty declaration
  153 | };
      | ^
  CC      drivers/video/fbdev/core/cfbimgblt.o
  CC      drivers/video/fbdev/hisi/dss/hisi_sensorhub_blpwm.o
  CC      drivers/video/fbdev/hisi/dss/hisi_dpe.o
  CC      drivers/video/fbdev/core/sysfillrect.o
  CC      drivers/video/fbdev/core/syscopyarea.o
  CC      drivers/video/fbdev/core/sysimgblt.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_panel.o
  CC      drivers/video/fbdev/core/fb_sys_fops.o
  LD      drivers/video/fbdev/core/fb.o
  LD      drivers/video/fbdev/core/built-in.o
  CC      drivers/virtio/virtio.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_isr.o
  CC      drivers/virtio/virtio_ring.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_vsync.o
  LD      drivers/virtio/built-in.o
  CC      drivers/watchdog/watchdog_core.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_esd.o
  CC      drivers/watchdog/watchdog_dev.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_secure.o
  CC      drivers/watchdog/hisi_sp805_wdt.o
../drivers/video/fbdev/hisi/dss/hisi_fb_secure.c: In function 'check_tui_layer_chn_cfg_ok':
../drivers/video/fbdev/hisi/dss/hisi_fb_secure.c:545:38: warning: the comparison will always evaluate as 'false' for the address of 'layer_infos' will never be NULL [-Waddress]
  545 |         if (pov_h_block->layer_infos == NULL) {
      |                                      ^~
In file included from ../drivers/video/fbdev/hisi/dss/hisi_fb_panel.h:19,
                 from ../drivers/video/fbdev/hisi/dss/hisi_fb.h:73,
                 from ../drivers/video/fbdev/hisi/dss/hisi_overlay_utils.h:16,
                 from ../drivers/video/fbdev/hisi/dss/hisi_fb_secure.c:14:
../drivers/video/fbdev/hisi/dss/hisi_dss.h:487:21: note: 'layer_infos' declared here
  487 |         dss_layer_t layer_infos[MAX_DSS_SRC_NUM];
      |                     ^~~~~~~~~~~
  LD      drivers/watchdog/watchdog.o
  LD      drivers/watchdog/built-in.o
  LD      drivers/video/fbdev/omap2/displays-new/built-in.o
  LD      drivers/video/fbdev/omap2/dss/built-in.o
  LD      drivers/video/fbdev/omap2/built-in.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_buf_sync.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_bl.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_utils.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_debug.o
  CC      drivers/video/fbdev/hisi/dss/hisi_mdc_resource.o
  CC      drivers/video/fbdev/hisi/dss/hisi_overlay_utils.o
  CC      drivers/video/fbdev/hisi/dss/hisi_overlay_online.o
  CC      drivers/video/fbdev/hisi/dss/hisi_overlay_offline.o
  CC      drivers/video/fbdev/hisi/dss/hisi_block_algorithm.o
  CC      drivers/video/fbdev/hisi/dss/hisi_overlay_cmdlist_utils.o
  CC      drivers/video/fbdev/hisi/dss/hisi_offlinecomposer_panel.o
  CC      drivers/video/fbdev/hisi/dss/panel/mipi_lcd_utils.o
  CC      drivers/video/fbdev/hisi/dss/hisi_display_effect.o
  CC      drivers/video/fbdev/hisi/dss/hisi_dpe_utils_hi3650.o
  CC      drivers/video/fbdev/hisi/dss/hisi_display_effect_hi6250.o
  CC      drivers/video/fbdev/hisi/dss/hisi_overlay_utils_hi6250.o
  CC      drivers/video/fbdev/hisi/dss/hisi_rgb2mipi.o
  CC      drivers/video/fbdev/hisi/dss/hisi_fb_spi.o
  CC      drivers/video/fbdev/hisi/dss/panel/mipi_lcd_external_panel.o
  CC      drivers/video/fbdev/hisi/dss/backlight/lm36274.o
  CC      drivers/video/fbdev/hisi/dss/backlight/lm36923.o
In file included from ../drivers/video/fbdev/hisi/dss/backlight/lm36274.c:21:
../drivers/video/fbdev/hisi/dss/backlight/lm36274.h:153:1: warning: useless storage class specifier in empty declaration
  153 | };
      | ^
  CC      drivers/video/fbdev/hisi/dss/backlight/lp8556.o
  CC      drivers/video/fbdev/hisi/dss/panel/mipi_auo_OTM1901A.o
  CC      drivers/video/fbdev/hisi/dss/panel/lcdc_fake_panel.o
  CC      drivers/video/fbdev/hisi/dss/panel/mipi_fake_panel.o
  CC      drivers/video/fbdev/hisi/dss/panel/hdmi_fake_panel.o
  CC      drivers/video/fbdev/hisi/dss/voltage/tps65132.o
  CC      drivers/video/fbdev/hisi/dss/voltage/rt4801h.o
In file included from ../drivers/devkit/lcdkit/include/lcdkit_fb_util.h:4,
                 from ../drivers/video/fbdev/hisi/dss/voltage/tps65132.c:36:
../drivers/devkit/lcdkit/include/lcdkit_panel.h:1124:45: warning: 'struct hisi_fb_data_type' declared inside parameter list will not be visible outside of this definition or declaration
 1124 |         void (*func)(char *oem_data, struct hisi_fb_data_type *hisifd);
      |                                             ^~~~~~~~~~~~~~~~~
../drivers/devkit/lcdkit/include/lcdkit_panel.h:1146:35: warning: 'struct hisi_fb_data_type' declared inside parameter list will not be visible outside of this definition or declaration
 1146 | int lcdkit_rgbw_set_handle(struct hisi_fb_data_type* hisifd);
      |                                   ^~~~~~~~~~~~~~~~~
../drivers/devkit/lcdkit/include/lcdkit_panel.h:1147:34: warning: 'struct hisi_fb_data_type' declared inside parameter list will not be visible outside of this definition or declaration
 1147 | int lcdkit_hbm_set_handle(struct hisi_fb_data_type * hisifd);
      |                                  ^~~~~~~~~~~~~~~~~
  CC      drivers/video/fbdev/hisi/dss/voltage/ina231.o
  LD      drivers/video/fbdev/hisi/dss/hisifb.o
  LD      drivers/video/fbdev/hisi/dss/built-in.o
  LD      drivers/video/fbdev/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 15 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
  KSYM    .tmp_kallsyms1.o
aarch64-alpine-linux-musl-ld: warning: .tmp_vmlinux2 has a LOAD segment with RWX permissions
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
aarch64-alpine-linux-musl-ld: warning: vmlinux has a LOAD segment with RWX permissions
  SORTEX  vmlinux
  SYSMAP  System.map
  OBJCOPY arch/arm64/boot/Image
  Building modules, stage 2.
  MODPOST 1 modules
  CC      drivers/net/ppp/pppoe.mod.o
  GZIP    arch/arm64/boot/Image.gz
  LD [M]  drivers/net/ppp/pppoe.ko
>>> linux-huawei-warsaw: Entering fakeroot...
zImage found: Image
>>> linux-huawei-warsaw*: Running postcheck for linux-huawei-warsaw
>>> linux-huawei-warsaw*: Preparing package linux-huawei-warsaw...
>>> WARNING: linux-huawei-warsaw*: No arch specific binaries found so arch should probably be set to "noarch"
>>> linux-huawei-warsaw*: Tracing dependencies...
>>> linux-huawei-warsaw*: Package size: 38.3 MB
>>> linux-huawei-warsaw*: Compressing data...
>>> linux-huawei-warsaw*: Create checksum...
>>> linux-huawei-warsaw*: Create linux-huawei-warsaw-4.4.174-r2.apk
>>> linux-huawei-warsaw: Build complete at Wed, 29 May 2024 08:38:36 +0000 elapsed time 0h 19m 13s
>>> linux-huawei-warsaw: Cleaning up srcdir
>>> linux-huawei-warsaw: Cleaning up pkgdir
>>> linux-huawei-warsaw: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/20) Purging .makedepends-linux-huawei-warsaw (20240529.081924)
(2/20) Purging bash (5.2.26-r0)
Executing bash-5.2.26-r0.pre-deinstall
(3/20) Purging bc (1.07.1-r4)
(4/20) Purging bison (3.8.2-r1)
(5/20) Purging devicepkg-dev (0.18.1-r0)
(6/20) Purging dtc (1.7.0-r2)
(7/20) Purging flex (2.6.4-r6)
(8/20) Purging m4 (1.4.19-r3)
(9/20) Purging openssl-dev (3.3.0-r2)
(10/20) Purging xz (5.6.1-r3)
(11/20) Purging git-perl (2.45.1-r0)
(12/20) Purging perl-git (2.45.1-r0)
(13/20) Purging perl-error (0.17029-r2)
(14/20) Purging perl (5.38.2-r0)
(15/20) Purging libbz2 (1.0.8-r6)
(16/20) Purging libfdt (1.7.0-r2)
(17/20) Purging readline (8.2.10-r0)
(18/20) Purging xz-libs (5.6.1-r3)
(19/20) Purging libncursesw (6.4_p20240420-r0)
(20/20) Purging ncurses-terminfo-base (6.4_p20240420-r0)
Executing busybox-1.36.1-r28.trigger
OK: 437 MiB in 76 packages
>>> linux-huawei-warsaw: Updating the pmos/aarch64 repository index...
>>> linux-huawei-warsaw: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/aarch64/APKINDEX.tar.gz.2654': Operation not permitted
(002280) [08:38:38] (native) uninstall build dependencies
(002280) [08:38:38] (native) % cd /home/pmos/build; busybox su pmos -c SUDO_APK='abuild-apk --no-progress' HOME=/home/pmos abuild undeps
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
ERROR: No such package: .makedepends-linux-huawei-warsaw
(002280) [08:38:38] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002280) [08:38:38] DONE!
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=1234466
+ BPO_JOB_ID=1234466
++ pmbootstrap -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2.apk
bd90e713478f3ce54e2c5e6fe4e7a0f57421938f58cb540471d80ae5758b065aa72b61f6cbef8ac63f47b4a15170d070ebb10711e4d76fb7e93fa86b27454213  ./v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2.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
24
25
26
27
28
29
+ export BPO_JOB_ID=1234466
+ BPO_JOB_ID=1234466
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=aarch64
+ BPO_ARCH=aarch64
+ export BPO_BRANCH=v24.06
+ BPO_BRANCH=v24.06
+ export BPO_DEVICE=
+ BPO_DEVICE=
++ pmbootstrap -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/v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2.apk
+ export BPO_PAYLOAD_FILES_PREVIOUS=
+ BPO_PAYLOAD_FILES_PREVIOUS=
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=linux-huawei-warsaw
+ BPO_PKGNAME=linux-huawei-warsaw
+ export BPO_UI=
+ BPO_UI=
+ export BPO_VERSION=4.4.174-r2
+ BPO_VERSION=4.4.174-r2
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/v24.06/aarch64/linux-huawei-warsaw-4.4.174-r2.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 4 months ago (took 19 minutes)