~postmarketos/#1237427

success

Build package: v24.06/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1

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
[#1237427] 2024/05/31 11:26:04 Booting image alpine/latest (default) on port 22562
[#1237427] 2024/05/31 11:26:04 Waiting for guest to settle
[#1237427] 2024/05/31 11:26:13 Sending tasks
[#1237427] 2024/05/31 11:26:15 Sending build environment
[#1237427] 2024/05/31 11:26:15 Sending secrets
[#1237427] 2024/05/31 11:26:15 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#1237427] 2024/05/31 11:26:16 Installing packages
Warning: Permanently added '[localhost]:22562' (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]:22562' (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
[#1237427] 2024/05/31 11:26:17 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
[#1237427] 2024/05/31 11:26:26 Running task bpo_setup
[#1237427] 2024/05/31 11:26:28 Running task install_pubkey
[#1237427] 2024/05/31 11:26:28 Running task pmbootstrap_build
[#1237427] 2024/05/31 11:34:39 Running task checksums
[#1237427] 2024/05/31 11:34:39 Running task submit
[#1237427] 2024/05/31 11:34:42 Processing post-success triggers...
[#1237427] 2024/05/31 11:34:42 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=1237427
+ BPO_JOB_ID=1237427
+ 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
[11:26:26] Work path [/home/build/.local/var/pmbootstrap]: [11:26:26] Channel [v24.06]: [11:26:26] Vendor [qemu]: [11:26:26] Device codename [amd64]: [11:26:26] Kernel [lts]: [11:26:26] Username [user]: [11:26:26] Provider [default]: [11:26:27] User interface [console]: [11:26:27] Change them? (y/n) [n]: [11:26:27] Extra packages [none]: [11:26:27] Locale [en_US]: [11:26:27] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [11:26:27] 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=1237427
+ BPO_JOB_ID=1237427
+ 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
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
This is a big file! Only the last 128KiB is shown. Click here to download the full log.

    inlined from 'run_cm_delta_read' at drivers/input/touchscreen/mms252.c:2296:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'run_reference_read' at drivers/input/touchscreen/mms252.c:2274:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'run_cm_abs_read' at drivers/input/touchscreen/mms252.c:2285:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'not_support_cmd' at drivers/input/touchscreen/mms252.c:1455:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_chip_vendor' at drivers/input/touchscreen/mms252.c:2085:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_chip_name' at drivers/input/touchscreen/mms252.c:2100:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_reference' at drivers/input/touchscreen/mms252.c:2117:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_cm_abs' at drivers/input/touchscreen/mms252.c:2142:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_cm_delta' at drivers/input/touchscreen/mms252.c:2165:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_intensity' at drivers/input/touchscreen/mms252.c:2188:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_fw_ver_ic' at drivers/input/touchscreen/mms252.c:1938:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_fw_ver_bin' at drivers/input/touchscreen/mms252.c:1913:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_threshold' at drivers/input/touchscreen/mms252.c:1984:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_config_ver' at drivers/input/touchscreen/mms252.c:1958:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_x_num' at drivers/input/touchscreen/mms252.c:2213:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'get_y_num' at drivers/input/touchscreen/mms252.c:2246:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'module_off_master' at drivers/input/touchscreen/mms252.c:2022:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'set_default_result',
    inlined from 'fw_update' at drivers/input/touchscreen/mms252.c:1824:2:
drivers/input/touchscreen/mms252.c:1419:9: warning: 'strncat' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
 1419 |         strncat(info->cmd_result, &delim, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/irda/ir_remote_con_mc96.c: In function 'ir_remocon_work':
drivers/irda/ir_remote_con_mc96.c:332:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  332 |         if (emission_time > 0)
      |         ^~
drivers/irda/ir_remote_con_mc96.c:334:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  334 |                 printk(KERN_INFO "%s: emission_time = %d\n",
      |                 ^~~~~~
drivers/irda/ir_remote_con_mc96.c:270:13: warning: unused variable 'end_data' [-Wunused-variable]
  270 |         int end_data;
      |             ^~~~~~~~
drivers/irda/ir_remote_con_mc96.c:269:13: warning: unused variable 'sleep_timing' [-Wunused-variable]
  269 |         int sleep_timing;
      |             ^~~~~~~~~~~~
drivers/irda/ir_remote_con_mc96.c: In function 'remocon_store':
drivers/irda/ir_remote_con_mc96.c:370:47: warning: comparison between pointer and zero character constant [-Wpointer-compare]
  370 |                         if (_data == 0 || buf == '\0')
      |                                               ^~
drivers/irda/ir_remote_con_mc96.c:370:43: note: did you mean to dereference the pointer?
  370 |                         if (_data == 0 || buf == '\0')
      |                                           ^
drivers/irda/ir_remote_con_mc96.c: In function 'remocon_ack':
drivers/irda/ir_remote_con_mc96.c:433:33: warning: unused variable 'data' [-Wunused-variable]
  433 |         struct ir_remocon_data *data = dev_get_drvdata(dev);
      |                                 ^~~~
In function 'irda_fw_update',
    inlined from 'ir_remocon_probe' at drivers/irda/ir_remote_con_mc96.c:491:3:
drivers/irda/ir_remote_con_mc96.c:154:35: warning: 'checksum2' may be used uninitialized [-Wmaybe-uninitialized]
  154 |                         checksum2 += buf_ir_test[k];
      |                         ~~~~~~~~~~^~~~~~~~~~~~~~~~~
drivers/irda/ir_remote_con_mc96.c: In function 'ir_remocon_probe':
drivers/irda/ir_remote_con_mc96.c:72:40: note: 'checksum2' was declared here
   72 |         int i, k, ret, ret2, checksum, checksum2;
      |                                        ^~~~~~~~~
In file included from include/linux/device-mapper.h:11,
                 from drivers/md/dm.h:14,
                 from drivers/md/dm.c:8:
drivers/md/dm.c: In function 'split_bvec':
include/linux/bio.h:530:41: warning: statement with no effect [-Wunused-value]
  530 | #define bio_integrity_clone(a, b, c, d) (0)
      |                                         ^
drivers/md/dm.c:1061:17: note: in expansion of macro 'bio_integrity_clone'
 1061 |                 bio_integrity_clone(clone, bio, GFP_NOIO, bs);
      |                 ^~~~~~~~~~~~~~~~~~~
drivers/md/dm.c: In function 'clone_bio':
include/linux/bio.h:530:41: warning: statement with no effect [-Wunused-value]
  530 | #define bio_integrity_clone(a, b, c, d) (0)
      |                                         ^
drivers/md/dm.c:1088:17: note: in expansion of macro 'bio_integrity_clone'
 1088 |                 bio_integrity_clone(clone, bio, GFP_NOIO, bs);
      |                 ^~~~~~~~~~~~~~~~~~~
In file included from include/linux/device-mapper.h:12,
                 from drivers/md/dm.h:14,
                 from drivers/md/dm-table.c:8:
drivers/md/dm-table.c: In function 'dm_table_set_integrity':
include/linux/blkdev.h:1284:49: warning: statement with no effect [-Wunused-value]
 1284 | #define blk_integrity_register(a, b)            (0)
      |                                                 ^
drivers/md/dm-table.c:1244:17: note: in expansion of macro 'blk_integrity_register'
 1244 |                 blk_integrity_register(dm_disk(t->md),
      |                 ^~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-core.c: In function 'fmt_single_name':
sound/soc/soc-core.c:3478:56: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
 3478 |                         snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name);
      |                                                        ^
sound/soc/soc-core.c:3478:25: note: 'snprintf' output 2 or more bytes (assuming 33) into a destination of size 32
 3478 |                         snprintf(tmp, NAME_SIZE, "%s.%s", dev->driver->name, name);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/md/dm-ioctl.c: In function 'retrieve_status':
drivers/md/dm-ioctl.c:1058:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
 1058 |                 strncpy(spec->target_type, ti->type->name,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1059 |                         sizeof(spec->target_type));
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~
sound/soc/soc-jack.c: In function 'snd_soc_jack_report':
sound/soc/soc-jack.c:88:13: warning: unused variable 'enable' [-Wunused-variable]
   88 |         int enable;
      |             ^~~~~~
sound/soc/soc-jack.c:87:34: warning: unused variable 'pin' [-Wunused-variable]
   87 |         struct snd_soc_jack_pin *pin;
      |                                  ^~~
sound/soc/soc-cache.c:490:1: warning: alignment 1 of 'struct snd_soc_rbtree_node' is less than 4 [-Wpacked-not-aligned]
  490 | } __attribute__ ((packed));
      | ^
sound/soc/soc-cache.c: In function 'snd_soc_rbtree_insert':
sound/soc/soc-cache.c:537:22: warning: taking address of packed member of 'struct snd_soc_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
  537 |         rb_link_node(&rbnode->node, parent, new);
      |                      ^~~~~~~~~~~~~
sound/soc/soc-cache.c:538:25: warning: taking address of packed member of 'struct snd_soc_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
  538 |         rb_insert_color(&rbnode->node, root);
      |                         ^~~~~~~~~~~~~
sound/soc/soc-cache.c: In function 'snd_soc_rbtree_cache_exit':
sound/soc/soc-cache.c:638:32: warning: taking address of packed member of 'struct snd_soc_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
  638 |                 next = rb_next(&rbtree_node->node);
      |                                ^~~~~~~~~~~~~~~~~~
sound/soc/soc-cache.c:639:26: warning: taking address of packed member of 'struct snd_soc_rbtree_node' may result in an unaligned pointer value [-Waddress-of-packed-member]
  639 |                 rb_erase(&rbtree_node->node, &rbtree_ctx->root);
      |                          ^~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8994.c: In function 'wm8994_readable':
sound/soc/codecs/wm8994.c:131:29: warning: unused variable 'wm8994' [-Wunused-variable]
  131 |         struct wm8994_priv *wm8994 = snd_soc_codec_get_drvdata(codec);
      |                             ^~~~~~
sound/soc/codecs/wm8994.c: In function 'wm8994_codec_resume':
sound/soc/codecs/wm8994.c:3168:24: warning: unused variable 'control' [-Wunused-variable]
 3168 |         struct wm8994 *control = codec->control_data;
      |                        ^~~~~~~
sound/soc/codecs/wm8994.c: At top level:
sound/soc/codecs/wm8994.c:3843:20: warning: 'wm8994_temp_shut' defined but not used [-Wunused-function]
 3843 | static irqreturn_t wm8994_temp_shut(int irq, void *data)
      |                    ^~~~~~~~~~~~~~~~
sound/soc/codecs/wm8994.c:3834:20: warning: 'wm8994_temp_warn' defined but not used [-Wunused-function]
 3834 | static irqreturn_t wm8994_temp_warn(int irq, void *data)
      |                    ^~~~~~~~~~~~~~~~
sound/soc/codecs/wm8994.c:3825:20: warning: 'wm8994_fifo_error' defined but not used [-Wunused-function]
 3825 | static irqreturn_t wm8994_fifo_error(int irq, void *data)
      |                    ^~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8994.c:2326:20: warning: 'wm8994_fll_locked_irq' defined but not used [-Wunused-function]
 2326 | static irqreturn_t wm8994_fll_locked_irq(int irq, void *data)
      |                    ^~~~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8994.c:827:38: warning: 'wm1811_snd_controls' defined but not used [-Wunused-const-variable=]
  827 | static const struct snd_kcontrol_new wm1811_snd_controls[] = {
      |                                      ^~~~~~~~~~~~~~~~~~~
sound/soc/codecs/wm8958-dsp2.c: In function 'wm8958_dsp2_fw':
sound/soc/codecs/wm8958-dsp2.c:63:17: warning: 'data32' may be used uninitialized [-Wmaybe-uninitialized]
   63 |                 dev_err(codec->dev, "%s: firmware has bad file magic %08x\n",
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |                         name, data32);
      |                         ~~~~~~~~~~~~~
sound/soc/codecs/wm8958-dsp2.c:47:13: note: 'data32' was declared here
   47 |         u32 data32;
      |             ^~~~~~
sound/soc/samsung/tab3_wm1811.c: In function 'tab3_mic_id':
sound/soc/samsung/tab3_wm1811.c:478:14: warning: unused variable 'present' [-Wunused-variable]
  478 |         bool present;
      |              ^~~~~~~
sound/soc/samsung/tab3_wm1811.c:477:13: warning: unused variable 'reg' [-Wunused-variable]
  477 |         int reg;
      |             ^~~
sound/soc/samsung/tab3_wm1811.c:476:13: warning: unused variable 'report' [-Wunused-variable]
  476 |         int report;
      |             ^~~~~~
sound/soc/samsung/tab3_wm1811.c: In function 'tab3_wm1811_aif2_hw_params':
sound/soc/samsung/tab3_wm1811.c:619:31: warning: unused variable 'codec' [-Wunused-variable]
  619 |         struct snd_soc_codec *codec = rtd->codec;
      |                               ^~~~~
sound/soc/samsung/tab3_wm1811.c: At top level:
sound/soc/samsung/tab3_wm1811.c:472:13: warning: 'tab3_mic_id' defined but not used [-Wunused-function]
  472 | static void tab3_mic_id(void *data, u16 status)
      |             ^~~~~~~~~~~
sound/soc/samsung/tab3_wm1811.c:282:12: warning: 'tab3_sub_micbias' defined but not used [-Wunused-function]
  282 | static int tab3_sub_micbias(struct snd_soc_dapm_widget *w,
      |            ^~~~~~~~~~~~~~~~
sound/soc/samsung/tab3_wm1811.c:265:12: warning: 'tab3_main_micbias' defined but not used [-Wunused-function]
  265 | static int tab3_main_micbias(struct snd_soc_dapm_widget *w,
      |            ^~~~~~~~~~~~~~~~~
In file included from sound/soc/samsung/srp_alp/srp_alp.c:33:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/misc/lkdtm.c: In function 'lkdtm_do_action':
drivers/misc/lkdtm.c:301:18: warning: array subscript 12 is outside array bounds of 'volatile u32[8]' {aka 'volatile unsigned int[8]'} [-Warray-bounds=]
  301 |                 p[12] = 0x12345678;
      |                 ~^~~~
drivers/misc/lkdtm.c:298:30: note: at offset 48 into object 'data' of size 32
  298 |                 volatile u32 data[8];
      |                              ^~~~
drivers/misc/sec_jack.c: In function 'reselect_jack_store':
drivers/misc/sec_jack.c:568:40: warning: unused variable 'pdata' [-Wunused-variable]
  568 |         struct sec_jack_platform_data *pdata = hi->pdata;
      |                                        ^~~~~
drivers/media/video/v4l2-common.c: In function 'v4l2_spi_new_subdev':
drivers/media/video/v4l2-common.c:444:13: warning: the comparison will always evaluate as 'true' for the address of 'modalias' will never be NULL [-Waddress]
  444 |         if (info->modalias)
      |             ^~~~
In file included from drivers/media/video/v4l2-common.c:55:
include/linux/spi/spi.h:726:25: note: 'modalias' declared here
  726 |         char            modalias[SPI_NAME_SIZE];
      |                         ^~~~~~~~
drivers/media/video/isx012.c:4089:12: warning: 'is_sysdev' defined but not used [-Wunused-function]
 4089 | static int is_sysdev(struct device *dev, void *str)
      |            ^~~~~~~~~
drivers/media/video/sr130pc20.c:25:1: warning: data definition has no type or storage class
   25 | EXPORT(fimc_is);
      | ^~~~~~
drivers/media/video/sr130pc20.c:25:1: warning: type defaults to 'int' in declaration of 'EXPORT' [-Wimplicit-int]
drivers/media/video/sr130pc20.c:25:1: warning: parameter names (without types) in function declaration
drivers/media/video/sr130pc20.c: In function 'sr130pc20_check_esd':
drivers/media/video/sr130pc20.c:1004:1: warning: label 'esd_out' defined but not used [-Wunused-label]
 1004 | esd_out:
      | ^~~~~~~
drivers/media/video/sr130pc20.c:999:35: warning: unused variable 'size_v' [-Wunused-variable]
  999 |         u32 data = 0, size_h = 0, size_v = 0;
      |                                   ^~~~~~
drivers/media/video/sr130pc20.c:999:23: warning: unused variable 'size_h' [-Wunused-variable]
  999 |         u32 data = 0, size_h = 0, size_v = 0;
      |                       ^~~~~~
drivers/media/video/sr130pc20.c: In function 'sr130pc20_get_exif_iso':
drivers/media/video/sr130pc20.c:1014:33: warning: unused variable 'state' [-Wunused-variable]
 1014 |         struct sr130pc20_state *state = to_state(sd);
      |                                 ^~~~~
drivers/media/video/sr130pc20.c: In function 'sr130pc20_get_exif_exptime':
drivers/media/video/sr130pc20.c:1059:33: warning: unused variable 'state' [-Wunused-variable]
 1059 |         struct sr130pc20_state *state = to_state(sd);
      |                                 ^~~~~
drivers/media/video/sr130pc20.c: In function 'sr130pc20_get_exif':
drivers/media/video/sr130pc20.c:1115:22: warning: unused variable 'integer' [-Wunused-variable]
 1115 |         u32 int_dec, integer;
      |                      ^~~~~~~
drivers/media/video/sr130pc20.c:1115:13: warning: unused variable 'int_dec' [-Wunused-variable]
 1115 |         u32 int_dec, integer;
      |             ^~~~~~~
drivers/media/video/sr130pc20.c: In function 'sr130pc20_set_capture':
drivers/media/video/sr130pc20.c:1240:33: warning: unused variable 'state' [-Wunused-variable]
 1240 |         struct sr130pc20_state *state = to_state(sd);
      |                                 ^~~~~
drivers/media/video/sr130pc20.c: In function 'sr130pc20_start_capture':
drivers/media/video/sr130pc20.c:1278:13: warning: unused variable 'val' [-Wunused-variable]
 1278 |         u32 val = 0;
      |             ^~~
drivers/media/video/sr130pc20.c:1277:28: warning: unused variable 'count' [-Wunused-variable]
 1277 |         int err = -ENODEV, count;
      |                            ^~~~~
In file included from drivers/media/video/sr130pc20.c:17:
drivers/media/video/sr130pc20.h: At top level:
drivers/media/video/sr130pc20.h:573:19: warning: 'sr130pc20_restore_sensor_flash' declared 'static' but never defined [-Wunused-function]
  573 | static inline int sr130pc20_restore_sensor_flash(struct v4l2_subdev *sd);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/sr130pc20.c:972:12: warning: 'sr130pc20_set_flash_mode' defined but not used [-Wunused-function]
  972 | static int sr130pc20_set_flash_mode(struct v4l2_subdev *sd, s32 val)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
net/bluetooth/hci_core.c: In function 'hci_register_dev':
net/bluetooth/hci_core.c:1468:35: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
 1468 |         sprintf(hdev->name, "hci%d", id);
      |                                   ^
net/bluetooth/hci_core.c:1468:9: note: 'sprintf' output between 5 and 9 bytes into a destination of size 8
 1468 |         sprintf(hdev->name, "hci%d", id);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/media/video/videobuf2-cma-phys.c:15:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
net/bluetooth/hci_conn.c: In function 'hci_le_start_enc':
net/bluetooth/hci_conn.c:221:37: warning: 'sizeof' on array function parameter 'rand' will return size of '__u8 *' {aka 'unsigned char *'} [-Wsizeof-array-argument]
  221 |         memcpy(cp.rand, rand, sizeof(rand));
      |                                     ^
net/bluetooth/hci_conn.c:208:64: note: declared here
  208 | void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __u8 rand[8],
      |                                                           ~~~~~^~~~~~~
net/bluetooth/hci_conn.c:221:37: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type '__u8 *' {aka 'unsigned char *'} as the destination; expected '__u8' {aka 'unsigned char'} or an explicit length [-Wsizeof-pointer-memaccess]
  221 |         memcpy(cp.rand, rand, sizeof(rand));
      |                                     ^
net/bluetooth/hci_conn.c: In function 'hci_le_ltk_reply':
net/bluetooth/hci_conn.c:237:35: warning: 'sizeof' on array function parameter 'ltk' will return size of 'u8 *' {aka 'unsigned char *'} [-Wsizeof-array-argument]
  237 |         memcpy(cp.ltk, ltk, sizeof(ltk));
      |                                   ^
net/bluetooth/hci_conn.c:227:49: note: declared here
  227 | void hci_le_ltk_reply(struct hci_conn *conn, u8 ltk[16])
      |                                              ~~~^~~~~~~
net/bluetooth/hci_conn.c:237:35: warning: argument to 'sizeof' in 'memcpy' call is the same pointer type '__u8 *' {aka 'unsigned char *'} as the destination; expected '__u8' {aka 'unsigned char'} or an explicit length [-Wsizeof-pointer-memaccess]
  237 |         memcpy(cp.ltk, ltk, sizeof(ltk));
      |                                   ^
net/bluetooth/hci_conn.c: In function 'hci_connect':
net/bluetooth/hci_conn.c:511:31: warning: unused variable 'ie' [-Wunused-variable]
  511 |         struct inquiry_entry *ie;
      |                               ^~
drivers/media/video/mhl/sii8246.c: In function 'goto_d3':
drivers/media/video/mhl/sii8246.c:1682:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1682 |         if (ret < 0)
      |         ^~
drivers/media/video/mhl/sii8246.c:1684:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 1684 |                 ret = mhl_tx_write_reg(sii8246, 0x93, 0x8c);
      |                 ^~~
drivers/media/video/mhl/sii8246.c:1849:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 1849 |   if (ret < 0)
      |   ^~
drivers/media/video/mhl/sii8246.c:86:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   86 |         do { \
      |         ^~
drivers/media/video/mhl/sii8246.c:1852:9: note: in expansion of macro 'pr_debug'
 1852 |         pr_debug("sii8246 : go_to d3 mode!!!\n");
      |         ^~~~~~~~
drivers/media/video/mhl/sii8246.c: In function 'sii8246_mhl_tx_i2c_probe':
drivers/media/video/mhl/sii8246.c:4223:2: warning: label 'err_exit2b' defined but not used [-Wunused-label]
 4223 |  err_exit2b:
      |  ^~~~~~~~~~
drivers/media/video/mhl/sii8246.c:4219:2: warning: label 'err_exit2c' defined but not used [-Wunused-label]
 4219 |  err_exit2c:
      |  ^~~~~~~~~~
drivers/media/video/mhl/sii8246.c:3992:24: warning: unused variable 'deviceId_2' [-Wunused-variable]
 3992 |         u8 deviceId_1, deviceId_2;
      |                        ^~~~~~~~~~
drivers/media/video/mhl/sii8246.c:3992:12: warning: unused variable 'deviceId_1' [-Wunused-variable]
 3992 |         u8 deviceId_1, deviceId_2;
      |            ^~~~~~~~~~
In file included from include/linux/i2c.h:33,
                 from drivers/media/video/mhl/sii8246.c:29:
drivers/media/video/mhl/sii8246.c: At top level:
include/linux/device.h:436:25: warning: 'dev_attr_mhl_read_reg' defined but not used [-Wunused-variable]
  436 | struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
      |                         ^~~~~~~~~
drivers/media/video/mhl/sii8246.c:3834:8: note: in expansion of macro 'DEVICE_ATTR'
 3834 | static DEVICE_ATTR(mhl_read_reg, S_IRUGO | S_IWUSR,
      |        ^~~~~~~~~~~
drivers/media/video/mhl/sii8246.c:3667:13: warning: 'mhl_cbus_command_timer' defined but not used [-Wunused-function]
 3667 | static void mhl_cbus_command_timer(unsigned long data)
      |             ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/mhl/sii8246.c:2954:13: warning: 'cbus_command_response_all' defined but not used [-Wunused-function]
 2954 | static void cbus_command_response_all(struct sii8246_data *sii8246)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/mhl/sii8246.c:1191:13: warning: 'cbus_handle_wrt_burst_recd' defined but not used [-Wunused-function]
 1191 | static void cbus_handle_wrt_burst_recd(struct sii8246_data *sii8246)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/mhl/sii8246.c:662:12: warning: 'cbus_clear_reg' defined but not used [-Wunused-function]
  662 | static int cbus_clear_reg(struct sii8246_data *sii8246, unsigned int offset,
      |            ^~~~~~~~~~~~~~
drivers/media/video/mhl/sii8246.c:645:12: warning: 'cbus_set_reg' defined but not used [-Wunused-function]
  645 | static int cbus_set_reg(struct sii8246_data *sii8246, unsigned int offset,
      |            ^~~~~~~~~~~~
drivers/media/video/mhl/sii9234.c: In function 'sii9234_mhl_tx_i2c_probe':
drivers/media/video/mhl/sii9234.c:4291:2: warning: label 'err_exit2b' defined but not used [-Wunused-label]
 4291 |  err_exit2b:
      |  ^~~~~~~~~~
drivers/media/video/mhl/sii9234.c:4287:2: warning: label 'err_exit2c' defined but not used [-Wunused-label]
 4287 |  err_exit2c:
      |  ^~~~~~~~~~
In file included from include/linux/i2c.h:33,
                 from drivers/media/video/mhl/sii9234.c:29:
drivers/media/video/mhl/sii9234.c: At top level:
include/linux/device.h:436:25: warning: 'dev_attr_mhl_read_reg' defined but not used [-Wunused-variable]
  436 | struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
      |                         ^~~~~~~~~
drivers/media/video/mhl/sii9234.c:3905:8: note: in expansion of macro 'DEVICE_ATTR'
 3905 | static DEVICE_ATTR(mhl_read_reg, S_IRUGO | S_IWUSR,
      |        ^~~~~~~~~~~
drivers/media/video/mhl/sii9234.c:3734:13: warning: 'mhl_cbus_command_timer' defined but not used [-Wunused-function]
 3734 | static void mhl_cbus_command_timer(unsigned long data)
      |             ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/mhl/sii9234.c:3055:13: warning: 'cbus_command_response_all' defined but not used [-Wunused-function]
 3055 | static void cbus_command_response_all(struct sii9234_data *sii9234)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/video/mhl/sii9234.c:1213:13: warning: 'cbus_handle_wrt_burst_recd' defined but not used [-Wunused-function]
 1213 | static void cbus_handle_wrt_burst_recd(struct sii9234_data *sii9234)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/fimc/fimc.h:35,
                 from drivers/media/video/samsung/fimc/fimc_v4l2.c:24:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/fimc/fimc_output.c:25:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/fimc/fimc_overlay.c:19:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/fimc/fimc.h:35,
                 from drivers/media/video/samsung/fimc/fimc_regs.c:23:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from net/bluetooth/l2cap_core.c:42:
In function '__skb_queue_before',
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'l2cap_sar_segment_sdu' at net/bluetooth/l2cap_core.c:1676:2:
include/linux/skbuff.h:1009:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
 1009 |         __skb_insert(newsk, next->prev, next, list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bluetooth/l2cap_core.c: In function 'l2cap_sar_segment_sdu':
net/bluetooth/l2cap_core.c:1666:29: note: object 'sar_queue' of size 32
 1666 |         struct sk_buff_head sar_queue;
      |                             ^~~~~~~~~
In function '__skb_insert',
    inlined from '__skb_queue_before' at include/linux/skbuff.h:1009:2,
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'l2cap_sar_segment_sdu' at net/bluetooth/l2cap_core.c:1676:2:
include/linux/skbuff.h:903:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
  903 |         next->prev  = prev->next = newsk;
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
net/bluetooth/l2cap_core.c: In function 'l2cap_sar_segment_sdu':
net/bluetooth/l2cap_core.c:1666:29: note: object 'sar_queue' of size 32
 1666 |         struct sk_buff_head sar_queue;
      |                             ^~~~~~~~~
In function '__skb_queue_before',
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'l2cap_sar_segment_sdu' at net/bluetooth/l2cap_core.c:1697:3:
include/linux/skbuff.h:1009:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
 1009 |         __skb_insert(newsk, next->prev, next, list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bluetooth/l2cap_core.c: In function 'l2cap_sar_segment_sdu':
net/bluetooth/l2cap_core.c:1666:29: note: object 'sar_queue' of size 32
 1666 |         struct sk_buff_head sar_queue;
      |                             ^~~~~~~~~
In function '__skb_insert',
    inlined from '__skb_queue_before' at include/linux/skbuff.h:1009:2,
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'l2cap_sar_segment_sdu' at net/bluetooth/l2cap_core.c:1697:3:
include/linux/skbuff.h:903:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
  903 |         next->prev  = prev->next = newsk;
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
net/bluetooth/l2cap_core.c: In function 'l2cap_sar_segment_sdu':
net/bluetooth/l2cap_core.c:1666:29: note: object 'sar_queue' of size 32
 1666 |         struct sk_buff_head sar_queue;
      |                             ^~~~~~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/fimc/fimc_capture.c:25:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from drivers/media/video/samsung/fimc/fimc_dev.c:34:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/media/video/samsung/fimc/fimc_dev.c: In function 'fimc_mmap_own_mem':
drivers/media/video/samsung/fimc/fimc_dev.c:933:18: warning: unused variable 'idx' [-Wunused-variable]
  933 |         u32 pfn, idx = vma->vm_pgoff;
      |                  ^~~
drivers/media/video/samsung/fimc/fimc_dev.c: In function 'fimc_mmap_out':
drivers/media/video/samsung/fimc/fimc_dev.c:1050:13: warning: unused variable 'idx' [-Wunused-variable]
 1050 |         int idx = ctrl->out->ctx[ctx_id].overlay.req_idx;
      |             ^~~
drivers/media/video/samsung/fimc/fimc_dev.c: In function 'fimc_release':
drivers/media/video/samsung/fimc/fimc_dev.c:1661:33: warning: unused variable 'pdev' [-Wunused-variable]
 1661 |         struct platform_device *pdev = to_platform_device(ctrl->dev);
      |                                 ^~~~
drivers/media/video/samsung/fimc/csis.c: In function 's3c_csis_start':
drivers/media/video/samsung/fimc/csis.c:233:13: warning: unused variable 'i' [-Wunused-variable]
  233 |         int i;
      |             ^
In file included from drivers/media/video/samsung/fimg2d4x-exynos4/fimg2d_ctx.c:22:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
net/bluetooth/hidp/core.c: In function '__hidp_copy_session':
net/bluetooth/hidp/core.c:129:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation]
  129 |                         strncpy(ci->name, session->input->name, 128);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function 'hidp_setup_hid',
    inlined from 'hidp_add_connection' at net/bluetooth/hidp/core.c:1010:9:
net/bluetooth/hidp/core.c:940:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
  940 |         strncpy(hid->phys, batostr(&bt_sk(session->ctrl_sock->sk)->src), 64);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/bluetooth/hidp/core.c:941:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
  941 |         strncpy(hid->uniq, batostr(&bt_sk(session->ctrl_sock->sk)->dst), 64);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/media/video/samsung/jpeg_v2x/jpeg_mem.h:18,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_core.h:36,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_dev.c:50:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/media/video/samsung/jpeg_v2x/jpeg_dev.c: In function 'jpeg_m2m_open':
drivers/media/video/samsung/jpeg_v2x/jpeg_dev.c:384:12: warning: array subscript 0 is outside array bounds of 'void[0]' [-Warray-bounds=]
  384 |         ctx->dev = dev;
      |            ^~
cc1: note: source object is likely at address zero
drivers/media/video/samsung/jpeg_v2x/jpeg_dev.c:384:12: warning: array subscript 0 is outside array bounds of 'void[0]' [-Warray-bounds=]
cc1: note: source object is likely at address zero
In file included from drivers/media/video/samsung/jpeg_v2x/jpeg_mem.h:18,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_core.h:36,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_dec.c:44:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from drivers/media/video/samsung/jpeg_v2x/jpeg_mem.h:18,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_core.h:36,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_enc.c:44:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from drivers/media/video/samsung/jpeg_v2x/jpeg_mem.h:18,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_core.h:36,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_regs.h:16,
                 from drivers/media/video/samsung/jpeg_v2x/jpeg_regs.c:17:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from drivers/media/video/samsung/jpeg_v2x/jpeg_mem.c:21:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/media/video/samsung/mfc5x/mfc_dev.c:1116:42: warning: 'mfc_vm_ops' defined but not used [-Wunused-const-variable=]
 1116 | static const struct vm_operations_struct mfc_vm_ops = {
      |                                          ^~~~~~~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/media/video/samsung/mfc5x/mfc_mem.c:21:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
In file included from drivers/media/video/samsung/tvout/s5p_tvout.c:23:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/media/video/samsung/tvout/s5p_tvout.c: In function 'hdmi_set_audio_store':
drivers/media/video/samsung/tvout/s5p_tvout.c:87:15: warning: unused variable 'after' [-Wunused-variable]
   87 |         char *after;
      |               ^~~~~
In file included from drivers/media/video/samsung/tvout/s5p_tvout_v4l2.c:31:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/mmc/card/block.c: In function 'mmc_blk_get_sg':
drivers/mmc/card/block.c:356:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
  356 |                 else
      |                 ^~~~
drivers/mmc/card/block.c:358:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  358 |                         sg_set_page(sg, virt_to_page(buf), sec_cnt, offset_in_page(buf));
      |                         ^~~~~~~~~~~
drivers/mmc/card/block.c: In function 'mmc_blk_ioctl_cmd':
drivers/mmc/card/block.c:416:25: warning: label 'defualt' defined but not used [-Wunused-label]
  416 |                         defualt: printk(KERN_ERR"Unkown ext flags on mmc_ioc_cmd\n");
      |                         ^~~~~~~
drivers/mmc/card/block.c: At top level:
drivers/mmc/card/block.c:2352:12: warning: 'mmc_blk_alloc_parts' defined but not used [-Wunused-function]
 2352 | static int mmc_blk_alloc_parts(struct mmc_card *card, struct mmc_blk_data *md)
      |            ^~~~~~~~~~~~~~~~~~~
In function 'mmc_blk_issue_secdiscard_rq',
    inlined from 'mmc_blk_issue_rq' at drivers/mmc/card/block.c:2167:10:
drivers/mmc/card/block.c:1051:25: warning: 'arg' may be used uninitialized [-Wmaybe-uninitialized]
 1051 |         if (!err && arg == MMC_SECURE_TRIM1_ARG) {
drivers/mmc/card/block.c: In function 'mmc_blk_issue_rq':
drivers/mmc/card/block.c:1017:32: note: 'arg' was declared here
 1017 |         unsigned int from, nr, arg;
      |                                ^~~
In function 'mmc_blk_issue_secdiscard_rq',
    inlined from 'mmc_blk_issue_rq' at drivers/mmc/card/block.c:2167:10:
drivers/mmc/card/block.c:1050:15: warning: 'from' may be used uninitialized [-Wmaybe-uninitialized]
 1050 |         err = mmc_erase(card, from, nr, arg);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/card/block.c: In function 'mmc_blk_issue_rq':
drivers/mmc/card/block.c:1017:22: note: 'from' was declared here
 1017 |         unsigned int from, nr, arg;
      |                      ^~~~
In function 'mmc_blk_issue_secdiscard_rq',
    inlined from 'mmc_blk_issue_rq' at drivers/mmc/card/block.c:2167:10:
drivers/mmc/card/block.c:1050:15: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized]
 1050 |         err = mmc_erase(card, from, nr, arg);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/card/block.c: In function 'mmc_blk_issue_rq':
drivers/mmc/card/block.c:1017:28: note: 'nr' was declared here
 1017 |         unsigned int from, nr, arg;
      |                            ^~
In function 'mmc_movi_read_req',
    inlined from 'mmc_start_movi_smart.part.0' at drivers/mmc/core/mmc_ops.c:701:8:
drivers/mmc/core/mmc_ops.c:666:9: warning: 'data_buf' may be used uninitialized [-Wmaybe-uninitialized]
  666 |         sg_init_one(&sg, data_buf, data.blksz * data.blocks);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/mmc/core/mmc_ops.c:14:
include/linux/scatterlist.h: In function 'mmc_start_movi_smart.part.0':
include/linux/scatterlist.h:205:6: note: by argument 2 of type 'const void *' to 'sg_init_one' declared here
  205 | void sg_init_one(struct scatterlist *, const void *, unsigned int);
      |      ^~~~~~~~~~~
drivers/mmc/core/mmc_ops.c:688:12: note: 'data_buf' declared here
  688 |         u8 data_buf[512];
      |            ^~~~~~~~
drivers/mmc/core/sdio.c: In function 'mmc_sdio_suspend':
drivers/mmc/core/sdio.c:951:1: warning: label 'out' defined but not used [-Wunused-label]
  951 | out:
      | ^~~
drivers/mmc/core/sdio.c: In function 'mmc_sdio_resume':
drivers/mmc/core/sdio.c:1006:1: warning: label 'out' defined but not used [-Wunused-label]
 1006 | out:
      | ^~~
net/core/rtnetlink.c:1067:32: warning: 'ifla_vf_policy' defined but not used [-Wunused-const-variable=]
 1067 | static const struct nla_policy ifla_vf_policy[IFLA_VF_MAX+1] = {
      |                                ^~~~~~~~~~~~~~
net/core/rtnetlink.c:1063:32: warning: 'ifla_vfinfo_policy' defined but not used [-Wunused-const-variable=]
 1063 | static const struct nla_policy ifla_vfinfo_policy[IFLA_VF_INFO_MAX+1] = {
      |                                ^~~~~~~~~~~~~~~~~~
drivers/mmc/host/mshci-s3c.c:610:13: warning: 'mshci_s3c_shutdown' defined but not used [-Wunused-function]
  610 | static void mshci_s3c_shutdown(struct platform_device *dev, pm_message_t pm)
      |             ^~~~~~~~~~~~~~~~~~
net/core/net-sysfs.c:29:19: warning: 'fmt_long_hex' defined but not used [-Wunused-const-variable=]
   29 | static const char fmt_long_hex[] = "%#lx\n";
      |                   ^~~~~~~~~~~~
drivers/mmc/host/sdhci-s3c.c:352:12: warning: 'sdhci_s3c_get_card_exist' defined but not used [-Wunused-function]
  352 | static int sdhci_s3c_get_card_exist(struct sdhci_host *host)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/muic/max77693-muic.c: In function 'uart_switch_init':
drivers/muic/max77693-muic.c:3069:18: warning: unused variable 'val' [-Wunused-variable]
 3069 |         int ret, val;
      |                  ^~~
drivers/muic/max77693-muic.c:3069:13: warning: unused variable 'ret' [-Wunused-variable]
 3069 |         int ret, val;
      |             ^~~
drivers/muic/max77693-muic.c: In function 'max77693_muic_probe':
drivers/muic/max77693-muic.c:3434:2: warning: label 'err_kfree' defined but not used [-Wunused-label]
 3434 |  err_kfree:
      |  ^~~~~~~~~
net/ethernet/eth.c: In function 'eth_type_trans':
net/ethernet/eth.c:168:22: warning: 'compare_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
  168 |                 if (!compare_ether_addr_64bits(eth->h_dest, dev->broadcast))
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/ethernet/eth.c:168:22: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
net/ethernet/eth.c:168:22: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
In file included from net/ethernet/eth.c:50:
include/linux/etherdevice.h:195:24: note: in a call to function 'compare_ether_addr_64bits'
  195 | static inline unsigned compare_ether_addr_64bits(const u8 addr1[6+2],
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/stddef.h:4,
                 from include/linux/posix_types.h:4,
                 from include/linux/types.h:17,
                 from include/linux/list.h:4,
                 from include/linux/module.h:9,
                 from net/ethernet/eth.c:40:
net/ethernet/eth.c:183:30: warning: 'compare_ether_addr_64bits' reading 8 bytes from a region of size 6 [-Wstringop-overread]
  183 |                 if (unlikely(compare_ether_addr_64bits(eth->h_dest, dev->dev_addr)))
include/linux/compiler.h:147:45: note: in definition of macro 'unlikely'
  147 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
net/ethernet/eth.c:183:30: note: referencing argument 1 of type 'const u8[8]' {aka 'const unsigned char[8]'}
  183 |                 if (unlikely(compare_ether_addr_64bits(eth->h_dest, dev->dev_addr)))
include/linux/compiler.h:147:45: note: in definition of macro 'unlikely'
  147 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
net/ethernet/eth.c:183:30: note: referencing argument 2 of type 'const u8[8]' {aka 'const unsigned char[8]'}
  183 |                 if (unlikely(compare_ether_addr_64bits(eth->h_dest, dev->dev_addr)))
include/linux/compiler.h:147:45: note: in definition of macro 'unlikely'
  147 | # define unlikely(x)    __builtin_expect(!!(x), 0)
      |                                             ^
include/linux/etherdevice.h:195:24: note: in a call to function 'compare_ether_addr_64bits'
  195 | static inline unsigned compare_ether_addr_64bits(const u8 addr1[6+2],
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/dhd_common.c:30:
drivers/net/wireless/bcmdhd/dhd_common.c: In function 'dhd_pktfilter_offload_set':
drivers/net/wireless/bcmdhd/include/bcmutils.h:31:57: warning: 'strncpy' output truncated before terminating nul copying 14 bytes from a string of the same length [-Wstringop-truncation]
   31 | #define bcm_strncpy_s(dst, noOfElements, src, count)    strncpy((dst), (src), (count))
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_common.c:1563:9: note: in expansion of macro 'bcm_strncpy_s'
 1563 |         bcm_strncpy_s(buf, BUF_SIZE, str, str_len);
      |         ^~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from drivers/net/wireless/bcmdhd/include/linuxver.h:42,
                 from drivers/net/wireless/bcmdhd/dhd_linux.c:29:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'dhd_module_init': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:294:41: note: in expansion of macro 'module_init'
  294 | #define late_initcall(fn)               module_init(fn)
      |                                         ^~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5691:1: note: in expansion of macro 'late_initcall'
 5691 | late_initcall(dhd_module_init);
      | ^~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5676:1: note: 'init_module' target declared here
 5676 | dhd_module_init(void)
      | ^~~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'dhd_module_cleanup': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5697:1: note: in expansion of macro 'module_exit'
 5697 | module_exit(dhd_module_cleanup);
      | ^~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5664:1: note: 'cleanup_module' target declared here
 5664 | dhd_module_cleanup(void)
      | ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c: In function 'dhd_allocate_if':
drivers/net/wireless/bcmdhd/dhd_linux.c:3522:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
 3522 |                 strncpy(ifp->net->name, name, IFNAMSIZ);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset':
drivers/net/wireless/bcmdhd/dhd_sdio.c:8537:27: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 8537 |                         } else
      |                           ^~~~
drivers/net/wireless/bcmdhd/dhd_sdio.c:8540:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 8540 |                                 dhd_os_sdunlock(dhdp);
      |                                 ^~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktsetprio':
drivers/net/wireless/bcmdhd/bcmutils.c:1235:31: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
 1235 |                 evh = (struct ethervlan_header *)eh;
      |                               ^~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/bcmutils.c:53:
drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here
  126 | BWL_PRE_PACKED_STRUCT struct ether_header {
      |                              ^~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/bcmutils.c:54:
drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here
   59 | struct ethervlan_header {
      |        ^~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_ipv6_ntoa':
drivers/net/wireless/bcmdhd/bcmutils.c:1166:54: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
 1166 |                         snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]);
      |                                                      ^
drivers/net/wireless/bcmdhd/bcmutils.c:1166:25: note: 'snprintf' output between 9 and 17 bytes into a destination of size 16
 1166 |                         snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_field':
drivers/net/wireless/bcmdhd/bcmutils.c:1882:33: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
 1882 |                                 strncpy(buf, name, slen+1);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c:1880:40: note: length computed here
 1880 |                         if (len > (int)strlen(name)) {
      |                                        ^~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_flags':
drivers/net/wireless/bcmdhd/bcmutils.c:1925:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
 1925 |                 strncpy(p, name, nlen + 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c:1916:24: note: length computed here
 1916 |                 nlen = strlen(name);
      |                        ^~~~~~~~~~~~
drivers/net/wireless/bcmdhd/siutils.c: In function 'si_doattach':
drivers/net/wireless/bcmdhd/siutils.c:424:21: warning: self-comparison always evaluates to false [-Wtautological-compare]
  424 |         if (bustype != BUSTYPE(bustype)) {
      |                     ^~
In file included from include/linux/igmp.h:129,
                 from net/ipv4/udp.c:91:
In function '__skb_queue_before',
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'first_packet_length' at net/ipv4/udp.c:1104:3:
include/linux/skbuff.h:1009:9: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
 1009 |         __skb_insert(newsk, next->prev, next, list);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/ipv4/udp.c: In function 'first_packet_length':
net/ipv4/udp.c:1091:29: note: object 'list_kill' of size 32
 1091 |         struct sk_buff_head list_kill, *rcvq = &sk->sk_receive_queue;
      |                             ^~~~~~~~~
In function '__skb_insert',
    inlined from '__skb_queue_before' at include/linux/skbuff.h:1009:2,
    inlined from '__skb_queue_tail' at include/linux/skbuff.h:1043:2,
    inlined from 'first_packet_length' at net/ipv4/udp.c:1104:3:
include/linux/skbuff.h:903:21: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
  903 |         next->prev  = prev->next = newsk;
      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
net/ipv4/udp.c: In function 'first_packet_length':
net/ipv4/udp.c:1091:29: note: object 'list_kill' of size 32
 1091 |         struct sk_buff_head list_kill, *rcvq = &sk->sk_receive_queue;
      |                             ^~~~~~~~~
In function 'skb_peek',
    inlined from '__skb_dequeue' at include/linux/skbuff.h:1074:24,
    inlined from '__skb_queue_purge' at include/linux/skbuff.h:1531:16,
    inlined from 'first_packet_length' at net/ipv4/udp.c:1112:3:
include/linux/skbuff.h:815:25: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
  815 |         struct sk_buff *list = ((struct sk_buff *)list_)->next;
      |                         ^~~~
net/ipv4/udp.c: In function 'first_packet_length':
net/ipv4/udp.c:1091:29: note: object 'list_kill' of size 32
 1091 |         struct sk_buff_head list_kill, *rcvq = &sk->sk_receive_queue;
      |                             ^~~~~~~~~
net/ipv4/arp.c:164:31: warning: 'arp_broken_ops' defined but not used [-Wunused-const-variable=]
  164 | static const struct neigh_ops arp_broken_ops = {
      |                               ^~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_mgmt_tx':
drivers/net/wireless/bcmdhd/wl_cfg80211.c:5535:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 5535 |                         if (dev == bcmcfg_to_prmry_ndev(cfg))
      |                         ^~
drivers/net/wireless/bcmdhd/wl_cfg80211.c:5537:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 5537 |                                 wl_cfgp2p_set_management_ie(cfg, dev, bssidx,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_ibss_vsie_delete':
drivers/net/wireless/bcmdhd/wl_cfg80211.c:2692:17: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
 2692 |                 strncpy(cfg->ibss_vsie->cmd, "del", VNDR_IE_CMD_LEN - 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/ipv4/devinet.c: In function 'inet_gifconf':
net/ipv4/devinet.c:954:21: warning: the comparison will always evaluate as 'true' for the address of 'ifa_label' will never be NULL [-Waddress]
  954 |                 if (ifa->ifa_label)
      |                     ^~~
In file included from net/ipv4/devinet.c:51:
include/linux/inetdevice.h:158:33: note: 'ifa_label' declared here
  158 |         char                    ifa_label[IFNAMSIZ];
      |                                 ^~~~~~~~~
In file included from include/linux/module.h:9,
                 from net/ipv4/devinet.c:33:
In function 'INIT_HLIST_NODE',
    inlined from 'devinet_ioctl' at net/ipv4/devinet.c:837:4:
include/linux/list.h:572:17: warning: array subscript 0 is outside array bounds of 'void[0]' [-Warray-bounds=]
  572 |         h->next = NULL;
In function 'devinet_ioctl':
cc1: note: source object is likely at address zero
In function 'INIT_HLIST_NODE',
    inlined from 'devinet_ioctl' at net/ipv4/devinet.c:837:4:
include/linux/list.h:573:18: warning: array subscript 0 is outside array bounds of 'void[0]' [-Warray-bounds=]
  573 |         h->pprev = NULL;
In function 'devinet_ioctl':
cc1: note: source object is likely at address zero
drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c: In function 'wl_cfg80211_set_btcoex_dhcp':
drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c:435:9: warning: 'strncpy' specified bound 1 equals destination size [-Wstringop-truncation]
  435 |         strncpy((char *)&powermode_val, command + strlen("BTCOEXMODE") +1, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/regulator/max77693.c: In function 'max77693_pmic_probe':
drivers/regulator/max77693.c:509:2: warning: label 'err_alloc' defined but not used [-Wunused-label]
  509 |  err_alloc:
      |  ^~~~~~~~~
drivers/regulator/max77693.c: At top level:
drivers/regulator/max77693.c:56:38: warning: 'topoff_current_map_desc' defined but not used [-Wunused-const-variable=]
   56 | static const struct voltage_map_desc topoff_current_map_desc = {
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~
drivers/regulator/wm8994-regulator.c: In function 'wm8994_ldo1_get_voltage_sel':
drivers/regulator/wm8994-regulator.c:98:13: warning: unused variable 'val' [-Wunused-variable]
   98 |         int val;
      |             ^~~
drivers/regulator/wm8994-regulator.c: In function 'wm8994_ldo2_get_voltage_sel':
drivers/regulator/wm8994-regulator.c:168:13: warning: unused variable 'val' [-Wunused-variable]
  168 |         int val;
      |             ^~~
drivers/scsi/scsi_devinfo.c: In function 'scsi_strcpy_devinfo':
drivers/scsi/scsi_devinfo.c:285:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  285 |         strncpy(to, from, min(to_length, from_length));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/scsi/scsi_devinfo.c:284:23: note: length computed here
  284 |         from_length = strlen(from);
      |                       ^~~~~~~~~~~~
In file included from include/linux/kernel.h:20,
                 from include/linux/sched.h:55,
                 from include/linux/blkdev.h:6,
                 from drivers/scsi/scsi_devinfo.c:2:
drivers/scsi/scsi_devinfo.c: In function 'scsi_dev_info_list_add_str':
include/linux/printk.h:12:25: warning: '%s' directive argument is null [-Wformat-overflow=]
   12 | #define KERN_ERR        "<3>"   /* error conditions                     */
      |                         ^~~~~
drivers/scsi/scsi_devinfo.c:511:32: note: in expansion of macro 'KERN_ERR'
  511 |                         printk(KERN_ERR "%s: bad dev info string '%s' '%s'"
      |                                ^~~~~~~~
drivers/scsi/scsi_devinfo.c:512:35: note: format string is defined here
  512 |                                " '%s'\n", __func__, vendor, model,
      |                                   ^~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from drivers/scsi/scsi_wait_scan.c:13:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'wait_scan_init': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:294:41: note: in expansion of macro 'module_init'
  294 | #define late_initcall(fn)               module_init(fn)
      |                                         ^~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:41:1: note: in expansion of macro 'late_initcall'
   41 | late_initcall(wait_scan_init);
      | ^~~~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:17:19: note: 'init_module' target declared here
   17 | static int __init wait_scan_init(void)
      |                   ^~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'wait_scan_exit': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:42:1: note: in expansion of macro 'module_exit'
   42 | module_exit(wait_scan_exit);
      | ^~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:33:20: note: 'cleanup_module' target declared here
   33 | static void __exit wait_scan_exit(void)
      |                    ^~~~~~~~~~~~~~
In file included from /home/pmos/build/src/android_kernel_samsung_smdk4x12-6ad0b18a63deacaebbc3d12751c3230cedbf7335/arch/arm/include/asm/bitops.h:27,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:17,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/ipv4/netfilter/ipt_LOG.c:13:
include/net/netfilter/xt_log.h: In function 'sb_close':
/home/pmos/build/src/android_kernel_samsung_smdk4x12-6ad0b18a63deacaebbc3d12751c3230cedbf7335/arch/arm/include/asm/system.h:98:10: warning: value computed is not used [-Wunused-value]
   98 |         ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
      |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netfilter/xt_log.h:50:17: note: in expansion of macro 'xchg'
   50 |                 xchg(&emergency_ptr, m);
      |                 ^~~~
net/ipv6/icmp.c: In function 'mip6_addr_swap':
net/ipv6/icmp.c:308:53: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  308 |                         ipv6_addr_copy(&iph->saddr, &hao->addr);
      |                                                     ^~~~~~~~~~
net/ipv6/icmp.c:309:40: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  309 |                         ipv6_addr_copy(&hao->addr, &tmp);
      |                                        ^~~~~~~~~~
drivers/usb/core/usb.c: In function 'usb_alloc_dev':
drivers/usb/core/usb.c:442:37: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 15 [-Wformat-truncation=]
  442 |                                 "%s.%d", parent->devpath, port1);
      |                                     ^~
drivers/usb/core/usb.c:442:33: note: using the range [-2147483648, 2147483647] for directive argument
  442 |                                 "%s.%d", parent->devpath, port1);
      |                                 ^~~~~~~
drivers/usb/core/usb.c:441:25: note: 'snprintf' output between 3 and 28 bytes into a destination of size 16
  441 |                         snprintf(dev->devpath, sizeof dev->devpath,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  442 |                                 "%s.%d", parent->devpath, port1);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/ipv6/exthdrs.c: In function 'ipv6_dest_hao':
net/ipv6/exthdrs.c:221:30: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  221 |         if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) {
      |                              ^~~~~~~~~~
net/ipv6/exthdrs.c:228:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  228 |                                (xfrm_address_t *)&hao->addr, IPPROTO_DSTOPTS);
      |                                                  ^~~~~~~~~~
net/ipv6/exthdrs.c:246:39: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  246 |         ipv6_addr_copy(&ipv6h->saddr, &hao->addr);
      |                                       ^~~~~~~~~~
net/ipv6/exthdrs.c:247:24: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  247 |         ipv6_addr_copy(&hao->addr, &tmp_addr);
      |                        ^~~~~~~~~~
drivers/usb/core/hcd.c: In function 'rh_string':
drivers/usb/core/hcd.c:415:48: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 35 and 99 [-Wformat-truncation=]
  415 |                 snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname,
      |                                                ^~
  416 |                         init_utsname()->release, hcd->driver->description);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~ 
drivers/usb/core/hcd.c:415:17: note: 'snprintf' output 3 or more bytes (assuming 131) into a destination of size 100
  415 |                 snprintf (buf, sizeof buf, "%s %s %s", init_utsname()->sysname,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  416 |                         init_utsname()->release, hcd->driver->description);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/ipv6/xfrm6_policy.c: In function '_decode_session6':
net/ipv6/xfrm6_policy.c:164:33: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a '__be16' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
  164 |                                 __be16 *ports = (__be16 *)exthdr;
      |                                 ^~~~~~
In file included from include/net/if_inet6.h:19,
                 from include/net/addrconf.h:46,
                 from net/ipv6/xfrm6_policy.c:17:
include/linux/ipv6.h:55:8: note: defined here
   55 | struct ipv6_opt_hdr {
      |        ^~~~~~~~~~~~
drivers/usb/core/devio.c: In function 'proc_do_submiturb':
drivers/usb/core/devio.c:1124:57: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1124 |                 if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) {
      |                                                         ^~~~~~~~~~~~
drivers/usb/core/devio.c:1129:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1129 |                                       le16_to_cpup(&dr->wIndex));
      |                                                    ^~~~~~~~~~~
drivers/usb/core/devio.c:1135:52: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1135 |                 uurb->buffer_length = le16_to_cpup(&dr->wLength);
      |                                                    ^~~~~~~~~~~~
In file included from include/linux/usb.h:18,
                 from drivers/usb/core/devio.c:43:
drivers/usb/core/devio.c:1148:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1148 |                         __le16_to_cpup(&dr->wValue),
      |                                        ^~~~~~~~~~~
include/linux/device.h:860:58: note: in definition of macro 'dev_info'
  860 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
drivers/usb/core/devio.c:1144:17: note: in expansion of macro 'snoop'
 1144 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
drivers/usb/core/devio.c:1149:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1149 |                         __le16_to_cpup(&dr->wIndex),
      |                                        ^~~~~~~~~~~
include/linux/device.h:860:58: note: in definition of macro 'dev_info'
  860 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
drivers/usb/core/devio.c:1144:17: note: in expansion of macro 'snoop'
 1144 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
drivers/usb/core/devio.c:1150:40: warning: taking address of packed member of 'struct usb_ctrlrequest' may result in an unaligned pointer value [-Waddress-of-packed-member]
 1150 |                         __le16_to_cpup(&dr->wLength));
      |                                        ^~~~~~~~~~~~
include/linux/device.h:860:58: note: in definition of macro 'dev_info'
  860 | #define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
      |                                                          ^~~
drivers/usb/core/devio.c:1144:17: note: in expansion of macro 'snoop'
 1144 |                 snoop(&ps->dev->dev, "control urb: bRequestType=%02x "
      |                 ^~~~~
net/ipv6/ah6.c: In function 'ipv6_rearrange_destopt':
net/ipv6/ah6.c:196:61: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  196 |                                 ipv6_addr_copy(&final_addr, &hao->addr);
      |                                                             ^~~~~~~~~~
net/ipv6/ah6.c:197:48: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  197 |                                 ipv6_addr_copy(&hao->addr, &iph->saddr);
      |                                                ^~~~~~~~~~
drivers/usb/core/devio.c: In function 'proc_getdriver':
drivers/usb/core/devio.c:983:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
  983 |                 strncpy(gd.driver, intf->dev.driver->name,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  984 |                                 sizeof(gd.driver));
      |                                 ~~~~~~~~~~~~~~~~~~
In file included from drivers/usb/gadget/s3c_udc_otg.c:218:
drivers/usb/gadget/s3c_udc_otg_xfer_dma.c: In function 'process_ep_in_intr':
drivers/usb/gadget/s3c_udc_otg_xfer_dma.c:375:13: warning: unused variable 'ep_ctrl' [-Wunused-variable]
  375 |         u32 ep_ctrl;
      |             ^~~~~~~
drivers/usb/gadget/s3c_udc_otg.c: At top level:
drivers/usb/gadget/s3c_udc_otg.c:112:19: warning: 'driver_desc' defined but not used [-Wunused-const-variable=]
  112 | static const char driver_desc[] = DRIVER_DESC;
      |                   ^~~~~~~~~~~
In file included from drivers/usb/gadget/android.c:46:
drivers/usb/gadget/composite.c: In function 'bos_desc':
drivers/usb/gadget/composite.c:444:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  444 |         le16_add_cpu(&bos->wTotalLength, USB_DT_USB_EXT_CAP_SIZE);
      |                      ^~~~~~~~~~~~~~~~~~
drivers/usb/gadget/composite.c:456:22: warning: taking address of packed member of 'struct usb_bos_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  456 |         le16_add_cpu(&bos->wTotalLength, USB_DT_USB_SS_CAP_SIZE);
      |                      ^~~~~~~~~~~~~~~~~~
drivers/usb/gadget/composite.c: In function 'get_string':
drivers/usb/gadget/composite.c:844:44: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  844 |                         collect_langs(sp, s->wData);
      |                                           ~^~~~~~~
drivers/usb/gadget/composite.c:849:52: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  849 |                                 collect_langs(sp, s->wData);
      |                                                   ~^~~~~~~
drivers/usb/gadget/composite.c:862:60: warning: taking address of packed member of 'struct usb_string_descriptor' may result in an unaligned pointer value [-Waddress-of-packed-member]
  862 |                                         collect_langs(sp, s->wData);
      |                                                           ~^~~~~~~
In file included from drivers/usb/gadget/android.c:65:
drivers/usb/gadget/f_diag.c: In function 'usb_config_work_func':
drivers/usb/gadget/f_diag.c:145:28: warning: unused variable 's' [-Wunused-variable]
  145 |         struct usb_string *s;
      |                            ^
drivers/usb/gadget/f_diag.c:144:36: warning: unused variable 'table' [-Wunused-variable]
  144 |         struct usb_gadget_strings *table;
      |                                    ^~~~~
drivers/usb/gadget/f_diag.c:143:35: warning: unused variable 'cdev' [-Wunused-variable]
  143 |         struct usb_composite_dev *cdev = ctxt->cdev;
      |                                   ^~~~
drivers/usb/gadget/android.c: In function 'diag_function_bind_config':
drivers/usb/gadget/android.c:1053:13: warning: unused variable 'once' [-Wunused-variable]
 1053 |         int once = 0, err = -1;
      |             ^~~~
net/ipv6/mip6.c: In function 'mip6_destopt_reject':
net/ipv6/mip6.c:232:41: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  232 |                                   hao ? &hao->addr : &ipv6_hdr(skb)->saddr,
      |                                         ^~~~~~~~~~
net/ipv6/mip6.c:254:50: warning: taking address of packed member of 'struct ipv6_destopt_hao' may result in an unaligned pointer value [-Waddress-of-packed-member]
  254 |                         (hao ? (xfrm_address_t *)&hao->addr : NULL));
      |                                                  ^~~~~~~~~~
drivers/usb/gadget/composite.c: In function 'composite_bind':
drivers/usb/gadget/composite.c:1459:35: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 50 [-Wformat-truncation=]
 1459 |                                  "%s %s with %s",
      |                                   ^~
 1460 |                                  init_utsname()->sysname,
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/gadget/composite.c:1457:25: note: 'snprintf' output 8 or more bytes (assuming 136) into a destination of size 50
 1457 |                         snprintf(composite_manufacturer,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1458 |                                  sizeof composite_manufacturer,
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1459 |                                  "%s %s with %s",
      |                                  ~~~~~~~~~~~~~~~~
 1460 |                                  init_utsname()->sysname,
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~
 1461 |                                  init_utsname()->release,
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~
 1462 |                                  gadget->name);
      |                                  ~~~~~~~~~~~~~
drivers/usb/gadget/android.c: In function 'functions_store':
drivers/usb/gadget/android.c:1330:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
 1330 |         strncpy(buf, buff, sizeof(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/usb/gadget/android.c:1333:9: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
 1333 |         strncpy(function_lists_string, b, sizeof(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/android_kernel_samsung_smdk4x12-6ad0b18a63deacaebbc3d12751c3230cedbf7335/arch/arm/include/asm/bitops.h:27,
                 from include/linux/bitops.h:22,
                 from include/linux/kernel.h:17,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/ipv6/netfilter/ip6t_LOG.c:13:
include/net/netfilter/xt_log.h: In function 'sb_close':
/home/pmos/build/src/android_kernel_samsung_smdk4x12-6ad0b18a63deacaebbc3d12751c3230cedbf7335/arch/arm/include/asm/system.h:98:10: warning: value computed is not used [-Wunused-value]
   98 |         ((__typeof__(*(ptr)))__xchg((unsigned long)(x),(ptr),sizeof(*(ptr))))
      |         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netfilter/xt_log.h:50:17: note: in expansion of macro 'xchg'
   50 |                 xchg(&emergency_ptr, m);
      |                 ^~~~
net/ipv6/ip6_tunnel.c: In function 'parse_tlv_tnl_enc_lim':
net/ipv6/ip6_tunnel.c:387:61: warning: converting a packed 'struct ipv6_opt_hdr' pointer (alignment 1) to a 'struct frag_hdr' pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member]
  387 |                         struct frag_hdr *frag_hdr = (struct frag_hdr *) hdr;
      |                                                             ^~~~~~~~
In file included from include/net/ip.h:356,
                 from net/ipv6/ip6_tunnel.c:46:
include/linux/ipv6.h:55:8: note: defined here
   55 | struct ipv6_opt_hdr {
      |        ^~~~~~~~~~~~
In file included from net/ipv6/ip6_tunnel.c:47:
include/net/ipv6.h:103:8: note: defined here
  103 | struct frag_hdr {
      |        ^~~~~~~~
In file included from drivers/usb/host/ohci-hcd.c:1012:
drivers/usb/host/ohci-s5p.c: In function 'ohci_hcd_s5p_drv_shutdown':
drivers/usb/host/ohci-s5p.c:485:12: warning: the comparison will always evaluate as 'true' for the address of 'flags' will never be NULL [-Waddress]
  485 |         if(!&hcd->flags)
      |            ^
In file included from drivers/usb/host/ohci-hcd.c:37:
include/linux/usb/hcd.h:100:33: note: 'flags' declared here
  100 |         unsigned long           flags;
      |                                 ^~~~~
In file included from drivers/video/fbmem.c:37:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/video/backlight/backlight.c:26:19: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
   26 | static const char const *backlight_types[] = {
      |                   ^~~~~
In file included from arch/arm/plat-s5p/include/plat/media.h:20,
                 from drivers/video/samsung/s3cfb_main.c:34:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/video/samsung/s3cfb_main.c: In function 's3cfb_probe':
drivers/video/samsung/s3cfb_main.c:1359:1: warning: label 'err0' defined but not used [-Wunused-label]
 1359 | err0:
      | ^~~~
In file included from drivers/video/samsung/s3cfb_main.c:38:
drivers/video/samsung/s3cfb.h: At top level:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
drivers/video/samsung/s3cfb_main.c: In function 's3cfb_sysfs_show_win_power':
drivers/video/samsung/s3cfb_main.c:311:37: warning: '] win' directive writing 5 bytes into a region of size between 2 and 12 [-Wformat-overflow=]
  311 |                 sprintf(temp, "[fb%d] win%d: %s\n", i, win->id, win->enabled ? "on" : "off");
      |                                     ^~~~~
drivers/video/samsung/s3cfb_main.c:311:17: note: 'sprintf' output between 16 and 37 bytes into a destination of size 16
  311 |                 sprintf(temp, "[fb%d] win%d: %s\n", i, win->id, win->enabled ? "on" : "off");
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s3cfb_ops.c:25:
include/linux/cma.h:197:45: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  197 | cma_info_about(struct cma_info *info, const const char *regions)
      |                                             ^~~~~
drivers/video/samsung/s3cfb_ops.c: In function 's3c_fb_update_regs':
drivers/video/samsung/s3cfb_ops.c:1582:22: warning: unused variable 'clkval' [-Wunused-variable]
 1582 |         unsigned int clkval = 0;
      |                      ^~~~~~
In file included from drivers/video/samsung/s3cfb_ops.c:21:
drivers/video/samsung/s3cfb_ops.c: At top level:
drivers/video/samsung/s3cfb_ops.c:1450:39: warning: 's3c_fb_align_word' is static but used in inline function 'vidosd_b' which is not static
 1450 |                 VIDOSDxB_BOTRIGHT_X_E(s3c_fb_align_word(bits_per_pixel,
      |                                       ^~~~~~~~~~~~~~~~~
arch/arm/plat-samsung/include/plat/regs-fb.h:289:53: note: in definition of macro 'VIDOSDxB_BOTRIGHT_X_E'
  289 | #define VIDOSDxB_BOTRIGHT_X_E(_x)               ((((_x) & 0x800) >> 11) << 23)
      |                                                     ^~
drivers/video/samsung/s3cfb_ops.c:1447:36: warning: 's3c_fb_align_word' is static but used in inline function 'vidosd_b' which is not static
 1447 |         return VIDOSDxB_BOTRIGHT_X(s3c_fb_align_word(bits_per_pixel,
      |                                    ^~~~~~~~~~~~~~~~~
arch/arm/plat-samsung/include/plat/regs-fb.h:293:52: note: in definition of macro 'VIDOSDxB_BOTRIGHT_X'
  293 | #define VIDOSDxB_BOTRIGHT_X(_x)                 (((_x) & 0x7ff) << 11)
      |                                                    ^~
In function 's3c_fb_set_win_config',
    inlined from 's3cfb_ioctl' at drivers/video/samsung/s3cfb_ops.c:2234:9:
drivers/video/samsung/s3cfb_ops.c:1931:12: warning: 'fd' may be used uninitialized [-Wmaybe-uninitialized]
 1931 |         if (fd < 0) {
      |            ^
drivers/video/samsung/s3cfb_ops.c: In function 's3cfb_ioctl':
drivers/video/samsung/s3cfb_ops.c:1926:13: note: 'fd' was declared here
 1926 |         int fd;
      |             ^~
In file included from drivers/video/samsung/lcdfreq.c:25:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s3cfb_fimd6x.c:23:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s3cfb_mdnie.c:17:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s3cfb_ielcd.c:28:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/mdnie.c:28:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s3cfb_s6d7aa0.c:27:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
In file included from drivers/video/samsung/s5p-dsim.c:46:
drivers/video/samsung/s3cfb.h:376:28: warning: inline function '__chan_to_field' declared but never defined
  376 | extern inline unsigned int __chan_to_field(unsigned int chan,
      |                            ^~~~~~~~~~~~~~~
net/netfilter/xt_IDLETIMER.c: In function 'idletimer_tg_checkentry':
net/netfilter/xt_IDLETIMER.c:412:23: warning: unused variable 'now' [-Wunused-variable]
  412 |         unsigned long now = jiffies;
      |                       ^~~
net/netfilter/xt_qtaguid.c: In function 'iface_stat_create':
net/netfilter/xt_qtaguid.c:1081:29: warning: the comparison will always evaluate as 'true' for the address of 'ifa_label' will never be NULL [-Waddress]
 1081 |                         if (ifa->ifa_label && !strcmp(ifname, ifa->ifa_label))
      |                             ^~~
In file included from net/netfilter/xt_qtaguid.c:18:
include/linux/inetdevice.h:158:33: note: 'ifa_label' declared here
  158 |         char                    ifa_label[IFNAMSIZ];
      |                                 ^~~~~~~~~
lib/decompress_unlzo.c:82:13: warning: 'get_unaligned_be32' is static but used in inline function 'parse_header' which is not static
   82 |         if (get_unaligned_be32(parse) & HEADER_HAS_FILTER)
      |             ^~~~~~~~~~~~~~~~~~
lib/decompress_unlzo.c:78:19: warning: 'get_unaligned_be16' is static but used in inline function 'parse_header' which is not static
   78 |         version = get_unaligned_be16(parse);
      |                   ^~~~~~~~~~~~~~~~~~
lib/decompress_unlzo.c:72:33: warning: 'lzop_magic' is static but used in inline function 'parse_header' which is not static
   72 |                 if (*parse++ != lzop_magic[l])
      |                                 ^~~~~~~~~~
In function 'fill_kobj_path',
    inlined from 'kobject_get_path' at lib/kobject.c:115:2:
lib/kobject.c:88:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
   88 |                 strncpy(path + length, kobject_name(parent), cur);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lib/kobject.c:85:27: note: length computed here
   85 |                 int cur = strlen(kobject_name(parent));
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/packet/af_packet.c: In function 'packet_getname_spkt':
net/packet/af_packet.c:1772:17: warning: 'strncpy' output may be truncated copying 14 bytes from a string of length 15 [-Wstringop-truncation]
 1772 |                 strncpy(uaddr->sa_data, dev->name, 14);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/phonet/socket.c: In function 'pn_socket_autobind':
net/phonet/socket.c:220:47: warning: converting a packed 'struct sockaddr_pn' pointer (alignment 1) to a 'struct sockaddr' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
  220 |                                 sizeof(struct sockaddr_pn));
      |                                               ^~~~~~~~~~~
In file included from net/phonet/socket.c:33:
include/linux/phonet.h:98:8: note: defined here
   98 | struct sockaddr_pn {
      |        ^~~~~~~~~~~
In file included from include/linux/net.h:21,
                 from net/phonet/socket.c:28:
include/linux/socket.h:44:8: note: defined here
   44 | struct sockaddr {
      |        ^~~~~~~~
net/sunrpc/clnt.c: In function 'rpc_create':
net/sunrpc/clnt.c:309:67: warning: '%s' directive output may be truncated writing up to 107 bytes into a region of size 48 [-Wformat-truncation=]
  309 |                         snprintf(servername, sizeof(servername), "%s",
      |                                                                   ^~
net/sunrpc/clnt.c:309:25: note: 'snprintf' output between 1 and 108 bytes into a destination of size 48
  309 |                         snprintf(servername, sizeof(servername), "%s",
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  310 |                                  sun->sun_path);
      |                                  ~~~~~~~~~~~~~~
In file included from net/unix/garbage.c:77:
In function 'skb_peek',
    inlined from '__skb_dequeue' at include/linux/skbuff.h:1074:24,
    inlined from '__skb_queue_purge' at include/linux/skbuff.h:1531:16,
    inlined from 'unix_gc' at net/unix/garbage.c:375:2:
include/linux/skbuff.h:815:25: warning: array subscript 'struct sk_buff[0]' is partly outside array bounds of 'struct sk_buff_head[1]' [-Warray-bounds=]
  815 |         struct sk_buff *list = ((struct sk_buff *)list_)->next;
      |                         ^~~~
net/unix/garbage.c: In function 'unix_gc':
net/unix/garbage.c:280:29: note: object 'hitlist' of size 32
  280 |         struct sk_buff_head hitlist;
      |                             ^~~~~~~
net/wireless/radiotap.c: In function 'ieee80211_radiotap_iterator_init':
net/wireless/radiotap.c:111:34: warning: taking address of packed member of 'struct ieee80211_radiotap_header' may result in an unaligned pointer value [-Waddress-of-packed-member]
  111 |         iterator->_next_bitmap = &radiotap_header->it_present;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/sunrpc/sunrpc_syms.c:9:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_sunrpc': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:292:41: note: in expansion of macro 'module_init'
  292 | #define fs_initcall(fn)                 module_init(fn)
      |                                         ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:119:1: note: in expansion of macro 'fs_initcall'
  119 | fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */
      | ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:67:1: note: 'init_module' target declared here
   67 | init_sunrpc(void)
      | ^~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'cleanup_sunrpc': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:120:1: note: in expansion of macro 'module_exit'
  120 | module_exit(cleanup_sunrpc);
      | ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:103:1: note: 'cleanup_module' target declared here
  103 | cleanup_sunrpc(void)
      | ^~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/sunrpc/auth_gss/auth_gss.c:39:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_rpcsec_gss': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1645:1: note: in expansion of macro 'module_init'
 1645 | module_init(init_rpcsec_gss)
      | ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1613:19: note: 'init_module' target declared here
 1613 | static int __init init_rpcsec_gss(void)
      |                   ^~~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_rpcsec_gss': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1646:1: note: in expansion of macro 'module_exit'
 1646 | module_exit(exit_rpcsec_gss)
      | ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1631:20: note: 'cleanup_module' target declared here
 1631 | static void __exit exit_rpcsec_gss(void)
      |                    ^~~~~~~~~~~~~~~
armv7-alpine-linux-musleabihf-ld: warning: .tmp_vmlinux1 has a LOAD segment with RWX permissions
armv7-alpine-linux-musleabihf-ld: warning: .tmp_vmlinux2 has a LOAD segment with RWX permissions
armv7-alpine-linux-musleabihf-ld: warning: vmlinux has a LOAD segment with RWX permissions
  Kernel: arch/arm/boot/Image is ready
armv7-alpine-linux-musleabihf-ld: warning: arch/arm/boot/compressed/vmlinux has a LOAD segment with RWX permissions
  Kernel: arch/arm/boot/zImage is ready
make[1]: 'include/generated/mach-types.h' is up to date.
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from fs/cifs/cifsfs.c:26:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_cifs': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
fs/cifs/cifsfs.c:1214:1: note: in expansion of macro 'module_init'
 1214 | module_init(init_cifs)
      | ^~~~~~~~~~~
fs/cifs/cifsfs.c:1090:1: note: 'init_module' target declared here
 1090 | init_cifs(void)
      | ^~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_cifs': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
fs/cifs/cifsfs.c:1215:1: note: in expansion of macro 'module_exit'
 1215 | module_exit(exit_cifs)
      | ^~~~~~~~~~~
fs/cifs/cifsfs.c:1187:1: note: 'cleanup_module' target declared here
 1187 | exit_cifs(void)
      | ^~~~~~~~~
fs/cifs/cifssmb.c: In function 'inc_rfc1001_len':
fs/cifs/cifssmb.c:366:22: warning: taking address of packed member of 'struct smb_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member]
  366 |         be32_add_cpu(&hdr->smb_buf_length, count);
      |                      ^~~~~~~~~~~~~~~~~~~~
In file included from /home/pmos/build/src/android_kernel_samsung_smdk4x12-6ad0b18a63deacaebbc3d12751c3230cedbf7335/arch/arm/include/asm/unaligned.h:4,
                 from fs/cifs/cifspdu.h:26,
                 from fs/cifs/cifssmb.c:37:
In function '__put_unaligned_le16',
    inlined from 'put_unaligned_le16' at include/linux/unaligned/le_byteshift.h:57:2,
    inlined from 'put_bcc' at fs/cifs/cifspdu.h:456:2,
    inlined from 'cifs_async_writev' at fs/cifs/cifssmb.c:1833:3:
include/linux/unaligned/le_byteshift.h:24:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   24 |         *p++ = val;
      |         ~~~~~^~~~~
fs/cifs/cifspdu.h: In function 'cifs_async_writev':
fs/cifs/cifspdu.h:999:24: note: at offset 37 into destination object 'hdr' of size 37
  999 |         struct smb_hdr hdr;     /* wct = 12 */
      |                        ^~~
In function '__put_unaligned_le16',
    inlined from 'put_unaligned_le16' at include/linux/unaligned/le_byteshift.h:57:2,
    inlined from 'put_bcc' at fs/cifs/cifspdu.h:456:2,
    inlined from 'cifs_async_writev' at fs/cifs/cifssmb.c:1833:3:
include/linux/unaligned/le_byteshift.h:25:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   25 |         *p++ = val >> 8;
      |         ~~~~~^~~~~~~~~~
fs/cifs/cifspdu.h: In function 'cifs_async_writev':
fs/cifs/cifspdu.h:999:24: note: at offset 38 into destination object 'hdr' of size 37
  999 |         struct smb_hdr hdr;     /* wct = 12 */
      |                        ^~~
In function '__put_unaligned_le16',
    inlined from 'put_unaligned_le16' at include/linux/unaligned/le_byteshift.h:57:2,
    inlined from 'put_bcc' at fs/cifs/cifspdu.h:456:2,
    inlined from 'cifs_async_writev' at fs/cifs/cifssmb.c:1827:3:
include/linux/unaligned/le_byteshift.h:24:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   24 |         *p++ = val;
      |         ~~~~~^~~~~
fs/cifs/cifspdu.h: In function 'cifs_async_writev':
fs/cifs/cifspdu.h:1018:24: note: at offset 37 into destination object 'hdr' of size 37
 1018 |         struct smb_hdr hdr;     /* wct = 14 */
      |                        ^~~
In function '__put_unaligned_le16',
    inlined from 'put_unaligned_le16' at include/linux/unaligned/le_byteshift.h:57:2,
    inlined from 'put_bcc' at fs/cifs/cifspdu.h:456:2,
    inlined from 'cifs_async_writev' at fs/cifs/cifssmb.c:1827:3:
include/linux/unaligned/le_byteshift.h:25:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
   25 |         *p++ = val >> 8;
      |         ~~~~~^~~~~~~~~~
fs/cifs/cifspdu.h: In function 'cifs_async_writev':
fs/cifs/cifspdu.h:1018:24: note: at offset 38 into destination object 'hdr' of size 37
 1018 |         struct smb_hdr hdr;     /* wct = 14 */
      |                        ^~~
fs/cifs/cifssmb.c: In function 'CIFSSMBSetEA':
fs/cifs/cifssmb.c:5962:17: warning: 'strncpy' offset [8, 65543] is out of the bounds [0, 4] [-Warray-bounds=]
 5962 |                 strncpy(parm_data->list[0].name, ea_name, name_len);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/cifs/connect.c: In function 'ip_rfc1001_connect':
fs/cifs/connect.c:2377:21: warning: the comparison will always evaluate as 'true' for the address of 'server_RFC1001_name' will never be NULL [-Waddress]
 2377 |                 if (server->server_RFC1001_name &&
      |                     ^~~~~~
In file included from fs/cifs/connect.c:42:
fs/cifs/cifsglob.h:238:14: note: 'server_RFC1001_name' declared here
  238 |         char server_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL];
      |              ^~~~~~~~~~~~~~~~~~~
fs/cifs/connect.c:2395:21: warning: the comparison will always evaluate as 'true' for the address of 'workstation_RFC1001_name' will never be NULL [-Waddress]
 2395 |                 if (server->workstation_RFC1001_name &&
      |                     ^~~~~~
fs/cifs/cifsglob.h:279:14: note: 'workstation_RFC1001_name' declared here
  279 |         char workstation_RFC1001_name[RFC1001_NAME_LEN_WITH_NULL];
      |              ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/cifs/connect.c:40:
In function 'ipv6_addr_equal',
    inlined from 'srcip_matches' at fs/cifs/connect.c:1484:10,
    inlined from 'match_address' at fs/cifs/connect.c:1558:7,
    inlined from 'match_server' at fs/cifs/connect.c:1618:7:
include/net/ipv6.h:350:50: warning: array subscript 0 is outside array bounds of 'struct sockaddr[0]' [-Warray-bounds=]
  350 |         return ((a1->s6_addr32[0] ^ a2->s6_addr32[0]) |
      |                                     ~~~~~~~~~~~~~^~~
fs/cifs/connect.c: In function 'match_server':
fs/cifs/connect.c:1612:12: note: at offset 8 into object 'rhs' of size 4
 1612 | static int match_server(struct TCP_Server_Info *server, struct sockaddr *addr,
      |            ^~~~~~~~~~~~
In function 'ipv6_addr_equal',
    inlined from 'srcip_matches' at fs/cifs/connect.c:1484:10,
    inlined from 'match_address' at fs/cifs/connect.c:1558:7,
    inlined from 'match_server' at fs/cifs/connect.c:1618:7:
include/net/ipv6.h:351:50: warning: array subscript 0 is outside array bounds of 'struct sockaddr[0]' [-Warray-bounds=]
  351 |                 (a1->s6_addr32[1] ^ a2->s6_addr32[1]) |
      |                                     ~~~~~~~~~~~~~^~~
fs/cifs/connect.c: In function 'match_server':
fs/cifs/connect.c:1612:12: note: at offset 8 into object 'rhs' of size 4
 1612 | static int match_server(struct TCP_Server_Info *server, struct sockaddr *addr,
      |            ^~~~~~~~~~~~
In function 'ipv6_addr_equal',
    inlined from 'srcip_matches' at fs/cifs/connect.c:1484:10,
    inlined from 'match_address' at fs/cifs/connect.c:1558:7,
    inlined from 'match_server' at fs/cifs/connect.c:1618:7:
include/net/ipv6.h:352:50: warning: array subscript 0 is outside array bounds of 'struct sockaddr[0]' [-Warray-bounds=]
  352 |                 (a1->s6_addr32[2] ^ a2->s6_addr32[2]) |
      |                                     ~~~~~~~~~~~~~^~~
fs/cifs/connect.c: In function 'match_server':
fs/cifs/connect.c:1612:12: note: at offset 8 into object 'rhs' of size 4
 1612 | static int match_server(struct TCP_Server_Info *server, struct sockaddr *addr,
      |            ^~~~~~~~~~~~
In function 'ipv6_addr_equal',
    inlined from 'srcip_matches' at fs/cifs/connect.c:1484:10,
    inlined from 'match_address' at fs/cifs/connect.c:1558:7,
    inlined from 'match_server' at fs/cifs/connect.c:1618:7:
include/net/ipv6.h:353:50: warning: array subscript 0 is outside array bounds of 'struct sockaddr[0]' [-Warray-bounds=]
  353 |                 (a1->s6_addr32[3] ^ a2->s6_addr32[3])) == 0;
      |                                     ~~~~~~~~~~~~~^~~
fs/cifs/connect.c: In function 'match_server':
fs/cifs/connect.c:1612:12: note: at offset 8 into object 'rhs' of size 4
 1612 | static int match_server(struct TCP_Server_Info *server, struct sockaddr *addr,
      |            ^~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/dhd_common.c:30:
drivers/net/wireless/bcmdhd/dhd_common.c: In function 'dhd_pktfilter_offload_set':
drivers/net/wireless/bcmdhd/include/bcmutils.h:31:57: warning: 'strncpy' output truncated before terminating nul copying 14 bytes from a string of the same length [-Wstringop-truncation]
   31 | #define bcm_strncpy_s(dst, noOfElements, src, count)    strncpy((dst), (src), (count))
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_common.c:1563:9: note: in expansion of macro 'bcm_strncpy_s'
 1563 |         bcm_strncpy_s(buf, BUF_SIZE, str, str_len);
      |         ^~~~~~~~~~~~~
fs/cifs/netmisc.c:133:40: warning: 'mapping_table_ERRHRD' defined but not used [-Wunused-const-variable=]
  133 | static const struct smb_to_posix_error mapping_table_ERRHRD[] = {
      |                                        ^~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from drivers/net/wireless/bcmdhd/include/linuxver.h:42,
                 from drivers/net/wireless/bcmdhd/dhd_linux.c:29:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'dhd_module_init': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:294:41: note: in expansion of macro 'module_init'
  294 | #define late_initcall(fn)               module_init(fn)
      |                                         ^~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5691:1: note: in expansion of macro 'late_initcall'
 5691 | late_initcall(dhd_module_init);
      | ^~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5676:1: note: 'init_module' target declared here
 5676 | dhd_module_init(void)
      | ^~~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'dhd_module_cleanup': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5697:1: note: in expansion of macro 'module_exit'
 5697 | module_exit(dhd_module_cleanup);
      | ^~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c:5664:1: note: 'cleanup_module' target declared here
 5664 | dhd_module_cleanup(void)
      | ^~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_linux.c: In function 'dhd_allocate_if':
drivers/net/wireless/bcmdhd/dhd_linux.c:3522:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
 3522 |                 strncpy(ifp->net->name, name, IFNAMSIZ);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/cifs/xattr.c:39: warning: "XATTR_TRUSTED_PREFIX_LEN" redefined
   39 | #define XATTR_TRUSTED_PREFIX_LEN  8
      | 
In file included from include/linux/security.h:39,
                 from include/net/sock.h:53,
                 from fs/cifs/cifspdu.h:25,
                 from fs/cifs/xattr.c:26:
include/linux/xattr.h:27: note: this is the location of the previous definition
   27 | #define XATTR_TRUSTED_PREFIX_LEN (sizeof (XATTR_TRUSTED_PREFIX) - 1)
      | 
fs/cifs/xattr.c:40: warning: "XATTR_SECURITY_PREFIX_LEN" redefined
   40 | #define XATTR_SECURITY_PREFIX_LEN 9
      | 
include/linux/xattr.h:21: note: this is the location of the previous definition
   21 | #define XATTR_SECURITY_PREFIX_LEN (sizeof (XATTR_SECURITY_PREFIX) - 1)
      | 
fs/cifs/cifsencrypt.c: In function 'calc_ntlmv2_hash':
fs/cifs/cifsencrypt.c:504:20: warning: the comparison will always evaluate as 'true' for the address of 'serverName' will never be NULL [-Waddress]
  504 |         } else if (ses->serverName) {
      |                    ^~~
In file included from fs/cifs/cifsencrypt.c:25:
fs/cifs/cifsglob.h:350:14: note: 'serverName' declared here
  350 |         char serverName[SERVER_NAME_LEN_WITH_NULL * 2]; /* BB make bigger for
      |              ^~~~~~~~~~
fs/cifs/cifsencrypt.c: In function 'calc_lanman_hash':
fs/cifs/cifsencrypt.c:280:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  280 |                 strncpy(password_with_pad, password, CIFS_ENCPWD_SIZE);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset':
drivers/net/wireless/bcmdhd/dhd_sdio.c:8537:27: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 8537 |                         } else
      |                           ^~~~
drivers/net/wireless/bcmdhd/dhd_sdio.c:8540:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 8540 |                                 dhd_os_sdunlock(dhdp);
      |                                 ^~~~~~~~~~~~~~~
fs/cifs/cifsacl.c:43:30: warning: 'sid_user' defined but not used [-Wunused-const-variable=]
   43 | static const struct cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {} };
      |                              ^~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'pktsetprio':
drivers/net/wireless/bcmdhd/bcmutils.c:1235:31: warning: converting a packed 'struct ether_header' pointer (alignment 1) to a 'struct ethervlan_header' pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member]
 1235 |                 evh = (struct ethervlan_header *)eh;
      |                               ^~~~~~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/bcmutils.c:53:
drivers/net/wireless/bcmdhd/include/proto/ethernet.h:126:30: note: defined here
  126 | BWL_PRE_PACKED_STRUCT struct ether_header {
      |                              ^~~~~~~~~~~~
In file included from drivers/net/wireless/bcmdhd/bcmutils.c:54:
drivers/net/wireless/bcmdhd/include/proto/vlan.h:59:8: note: defined here
   59 | struct ethervlan_header {
      |        ^~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_ipv6_ntoa':
drivers/net/wireless/bcmdhd/bcmutils.c:1166:54: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
 1166 |                         snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]);
      |                                                      ^
drivers/net/wireless/bcmdhd/bcmutils.c:1166:25: note: 'snprintf' output between 9 and 17 bytes into a destination of size 16
 1166 |                         snprintf(p, 16, ":%u.%u.%u.%u", a4[0], a4[1], a4[2], a4[3]);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_field':
drivers/net/wireless/bcmdhd/bcmutils.c:1882:33: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
 1882 |                                 strncpy(buf, name, slen+1);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c:1880:40: note: length computed here
 1880 |                         if (len > (int)strlen(name)) {
      |                                        ^~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c: In function 'bcm_format_flags':
drivers/net/wireless/bcmdhd/bcmutils.c:1925:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
 1925 |                 strncpy(p, name, nlen + 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/bcmutils.c:1916:24: note: length computed here
 1916 |                 nlen = strlen(name);
      |                        ^~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from fs/lockd/svc.c:15:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_nlm': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
fs/lockd/svc.c:523:1: note: in expansion of macro 'module_init'
  523 | module_init(init_nlm);
      | ^~~~~~~~~~~
fs/lockd/svc.c:504:19: note: 'init_module' target declared here
  504 | static int __init init_nlm(void)
      |                   ^~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_nlm': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
fs/lockd/svc.c:524:1: note: in expansion of macro 'module_exit'
  524 | module_exit(exit_nlm);
      | ^~~~~~~~~~~
fs/lockd/svc.c:514:20: note: 'cleanup_module' target declared here
  514 | static void __exit exit_nlm(void)
      |                    ^~~~~~~~
drivers/net/wireless/bcmdhd/siutils.c: In function 'si_doattach':
drivers/net/wireless/bcmdhd/siutils.c:424:21: warning: self-comparison always evaluates to false [-Wtautological-compare]
  424 |         if (bustype != BUSTYPE(bustype)) {
      |                     ^~
drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_mgmt_tx':
drivers/net/wireless/bcmdhd/wl_cfg80211.c:5535:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
 5535 |                         if (dev == bcmcfg_to_prmry_ndev(cfg))
      |                         ^~
drivers/net/wireless/bcmdhd/wl_cfg80211.c:5537:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
 5537 |                                 wl_cfgp2p_set_management_ie(cfg, dev, bssidx,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/bcmdhd/wl_cfg80211.c: In function 'wl_cfg80211_ibss_vsie_delete':
drivers/net/wireless/bcmdhd/wl_cfg80211.c:2692:17: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
 2692 |                 strncpy(cfg->ibss_vsie->cmd, "del", VNDR_IE_CMD_LEN - 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/nfs/client.c: In function 'nfs_volume_list_show':
fs/nfs/client.c:1940:30: warning: '%u' directive output may be truncated writing between 1 and 7 bytes into a region of size between 3 and 6 [-Wformat-truncation=]
 1940 |         snprintf(dev, 8, "%u:%u",
      |                              ^~
fs/nfs/client.c:1940:26: note: directive argument in the range [0, 1048575]
 1940 |         snprintf(dev, 8, "%u:%u",
      |                          ^~~~~~~
fs/nfs/client.c:1940:9: note: 'snprintf' output between 4 and 13 bytes into a destination of size 8
 1940 |         snprintf(dev, 8, "%u:%u",
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
 1941 |                  MAJOR(server->s_dev), MINOR(server->s_dev));
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from fs/nfs/inode.c:16:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_nfs_fs': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
fs/nfs/inode.c:1655:1: note: in expansion of macro 'module_init'
 1655 | module_init(init_nfs_fs)
      | ^~~~~~~~~~~
fs/nfs/inode.c:1554:19: note: 'init_module' target declared here
 1554 | static int __init init_nfs_fs(void)
      |                   ^~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_nfs_fs': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
fs/nfs/inode.c:1656:1: note: in expansion of macro 'module_exit'
 1656 | module_exit(exit_nfs_fs)
      | ^~~~~~~~~~~
fs/nfs/inode.c:1631:20: note: 'cleanup_module' target declared here
 1631 | static void __exit exit_nfs_fs(void)
      |                    ^~~~~~~~~~~
drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c: In function 'wl_cfg80211_set_btcoex_dhcp':
drivers/net/wireless/bcmdhd/wl_cfg_btcoex.c:435:9: warning: 'strncpy' specified bound 1 equals destination size [-Wstringop-truncation]
  435 |         strncpy((char *)&powermode_val, command + strlen("BTCOEXMODE") +1, 1);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from drivers/scsi/scsi_wait_scan.c:13:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'wait_scan_init': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:294:41: note: in expansion of macro 'module_init'
  294 | #define late_initcall(fn)               module_init(fn)
      |                                         ^~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:41:1: note: in expansion of macro 'late_initcall'
   41 | late_initcall(wait_scan_init);
      | ^~~~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:17:19: note: 'init_module' target declared here
   17 | static int __init wait_scan_init(void)
      |                   ^~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'wait_scan_exit': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:42:1: note: in expansion of macro 'module_exit'
   42 | module_exit(wait_scan_exit);
      | ^~~~~~~~~~~
drivers/scsi/scsi_wait_scan.c:33:20: note: 'cleanup_module' target declared here
   33 | static void __exit wait_scan_exit(void)
      |                    ^~~~~~~~~~~~~~
net/sunrpc/clnt.c: In function 'rpc_create':
net/sunrpc/clnt.c:309:67: warning: '%s' directive output may be truncated writing up to 107 bytes into a region of size 48 [-Wformat-truncation=]
  309 |                         snprintf(servername, sizeof(servername), "%s",
      |                                                                   ^~
net/sunrpc/clnt.c:309:25: note: 'snprintf' output between 1 and 108 bytes into a destination of size 48
  309 |                         snprintf(servername, sizeof(servername), "%s",
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  310 |                                  sun->sun_path);
      |                                  ~~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/sunrpc/sunrpc_syms.c:9:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_sunrpc': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
include/linux/init.h:292:41: note: in expansion of macro 'module_init'
  292 | #define fs_initcall(fn)                 module_init(fn)
      |                                         ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:119:1: note: in expansion of macro 'fs_initcall'
  119 | fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */
      | ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:67:1: note: 'init_module' target declared here
   67 | init_sunrpc(void)
      | ^~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'cleanup_sunrpc': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:120:1: note: in expansion of macro 'module_exit'
  120 | module_exit(cleanup_sunrpc);
      | ^~~~~~~~~~~
net/sunrpc/sunrpc_syms.c:103:1: note: 'cleanup_module' target declared here
  103 | cleanup_sunrpc(void)
      | ^~~~~~~~~~~~~~
In file included from include/linux/printk.h:4,
                 from include/linux/kernel.h:20,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:7,
                 from include/linux/stat.h:60,
                 from include/linux/module.h:10,
                 from net/sunrpc/auth_gss/auth_gss.c:39:
include/linux/init.h:302:13: warning: 'init_module' specifies less restrictive attribute than its target 'init_rpcsec_gss': 'cold' [-Wmissing-attributes]
  302 |         int init_module(void) __attribute__((alias(#initfn)));
      |             ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1645:1: note: in expansion of macro 'module_init'
 1645 | module_init(init_rpcsec_gss)
      | ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1613:19: note: 'init_module' target declared here
 1613 | static int __init init_rpcsec_gss(void)
      |                   ^~~~~~~~~~~~~~~
include/linux/init.h:308:14: warning: 'cleanup_module' specifies less restrictive attribute than its target 'exit_rpcsec_gss': 'cold' [-Wmissing-attributes]
  308 |         void cleanup_module(void) __attribute__((alias(#exitfn)));
      |              ^~~~~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1646:1: note: in expansion of macro 'module_exit'
 1646 | module_exit(exit_rpcsec_gss)
      | ^~~~~~~~~~~
net/sunrpc/auth_gss/auth_gss.c:1631:20: note: 'cleanup_module' target declared here
 1631 | static void __exit exit_rpcsec_gss(void)
      |                    ^~~~~~~~~~~~~~~
>>> linux-samsung-lt01wifi-downstream: Entering fakeroot...
zImage found: zImage
Warning: you may need to install module-init-tools
See http://www.codemonkey.org.uk/docs/post-halloween-2.6.txt
>>> linux-samsung-lt01wifi-downstream*: Running postcheck for linux-samsung-lt01wifi-downstream
>>> linux-samsung-lt01wifi-downstream*: Preparing package linux-samsung-lt01wifi-downstream...
>>> linux-samsung-lt01wifi-downstream*: Tracing dependencies...
>>> linux-samsung-lt01wifi-downstream*: Package size: 27.2 MB
>>> linux-samsung-lt01wifi-downstream*: Compressing data...
>>> linux-samsung-lt01wifi-downstream*: Create checksum...
>>> linux-samsung-lt01wifi-downstream*: Create linux-samsung-lt01wifi-downstream-3.0.31-r1.apk
>>> linux-samsung-lt01wifi-downstream: Build complete at Fri, 31 May 2024 11:34:37 +0000 elapsed time 0h 8m 2s
>>> linux-samsung-lt01wifi-downstream: Cleaning up srcdir
>>> linux-samsung-lt01wifi-downstream: Cleaning up pkgdir
>>> linux-samsung-lt01wifi-downstream: Uninstalling dependencies...
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/28) Purging .makedepends-linux-samsung-lt01wifi-downstream (20240531.112635)
(2/28) Purging sed (4.9-r2)
Executing sed-4.9-r2.post-deinstall
(3/28) Purging installkernel (4.1-r0)
(4/28) Purging bash (5.2.26-r0)
Executing bash-5.2.26-r0.pre-deinstall
(5/28) Purging gmp-dev (6.3.0-r1)
(6/28) Purging libgmpxx (6.3.0-r1)
(7/28) Purging bc (1.07.1-r4)
(8/28) Purging linux-headers (6.6-r0)
(9/28) Purging elfutils-dev (0.191-r0)
(10/28) Purging libasm (0.191-r0)
(11/28) Purging libdw (0.191-r0)
(12/28) Purging libelf (0.191-r0)
(13/28) Purging devicepkg-dev (0.18.1-r0)
(14/28) Purging git-perl (2.45.1-r0)
(15/28) Purging perl-git (2.45.1-r0)
(16/28) Purging perl-error (0.17029-r2)
(17/28) Purging perl (5.38.2-r0)
(18/28) Purging libbz2 (1.0.8-r6)
(19/28) Purging musl-fts (1.2.7-r6)
(20/28) Purging readline (8.2.10-r0)
(21/28) Purging xz-dev (5.6.1-r3)
(22/28) Purging xz (5.6.1-r3)
(23/28) Purging xz-libs (5.6.1-r3)
(24/28) Purging zlib-dev (1.3.1-r1)
(25/28) Purging zstd-dev (1.5.6-r0)
(26/28) Purging zstd (1.5.6-r0)
(27/28) Purging libncursesw (6.4_p20240420-r0)
(28/28) Purging ncurses-terminfo-base (6.4_p20240420-r0)
Executing busybox-1.36.1-r28.trigger
OK: 410 MiB in 76 packages
>>> linux-samsung-lt01wifi-downstream: Updating the pmos/armv7 repository index...
>>> linux-samsung-lt01wifi-downstream: Signing the index...
mv: can't preserve ownership of '/mnt/pmbootstrap/packages/armv7/APKINDEX.tar.gz.2642': Operation not permitted
(002276) [11:34:38] (native) uninstall build dependencies
(002276) [11:34: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-samsung-lt01wifi-downstream
(002276) [11:34:38] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002276) [11:34:38] DONE!
checksums
1
2
3
4
5
6
7
+ export BPO_JOB_ID=1237427
+ BPO_JOB_ID=1237427
++ pmbootstrap -q config work
+ cd /home/build/.local/var/pmbootstrap/packages/
++ find . -name '*.apk'
+ sha512sum ./v24.06/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1.apk
d23a8ad2e729bc6d34e10c1f2b8a5d3583bb56f6b68ffd9bccd2313a0125f82e5184ecdbc8721e70bcc97650ae3c6c54d57f0009ee0865d65fa3c7420c433547  ./v24.06/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1.apk
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
+ export BPO_JOB_ID=1237427
+ BPO_JOB_ID=1237427
+ export BPO_API_ENDPOINT=build-package
+ BPO_API_ENDPOINT=build-package
+ export BPO_ARCH=armv7
+ BPO_ARCH=armv7
+ 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/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1.apk
+ BPO_PAYLOAD_FILES=/home/build/.local/var/pmbootstrap/packages/v24.06/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1.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-samsung-lt01wifi-downstream
+ BPO_PKGNAME=linux-samsung-lt01wifi-downstream
+ export BPO_UI=
+ BPO_UI=
+ export BPO_VERSION=3.0.31-r1
+ BPO_VERSION=3.0.31-r1
+ exec build.postmarketos.org/helpers/submit.py
Appending: /home/build/.local/var/pmbootstrap/packages/v24.06/armv7/linux-samsung-lt01wifi-downstream-3.0.31-r1.apk
Uploading to: https://build.postmarketos.org/api/job-callback/build-package
package received, kthxbye
Build complete: success 4 months ago (took 8 minutes)