The patch titled
Subject: mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
has been added to the -mm tree. Its filename is
mm-remove-vm_bug_onpageslab-from-page_mapcount.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-remove-vm_bug_onpageslab-from-p…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-remove-vm_bug_onpageslab-from-p…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Konstantin Khlebnikov <khlebnikov(a)yandex-team.ru>
Subject: mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
Replace superfluous VM_BUG_ON() with comment about correct usage.
Technically reverts commit 1d148e218a0d0566b1c06f2f45f1436d53b049b2
("mm: add VM_BUG_ON_PAGE() to page_mapcount()"), but context have changed.
Function isolate_migratepages_block() runs some checks out of lru_lock
when choose pages for migration. After checking PageLRU() it checks extra
page references by comparing page_count() and page_mapcount(). Between
these two checks page could be removed from lru, freed and taken by slab.
As a result this race triggers VM_BUG_ON(PageSlab()) in page_mapcount().
Race window is tiny. For certain workload this happens around once a year.
page:ffffea0105ca9380 count:1 mapcount:0 mapping:ffff88ff7712c180 index:0x0 compound_mapcount: 0
flags: 0x500000000008100(slab|head)
raw: 0500000000008100 dead000000000100 dead000000000200 ffff88ff7712c180
raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000
page dumped because: VM_BUG_ON_PAGE(PageSlab(page))
------------[ cut here ]------------
kernel BUG at ./include/linux/mm.h:628!
invalid opcode: 0000 [#1] SMP NOPTI
CPU: 77 PID: 504 Comm: kcompactd1 Tainted: G W 4.19.109-27 #1
Hardware name: Yandex T175-N41-Y3N/MY81-EX0-Y3N, BIOS R05 06/20/2019
RIP: 0010:isolate_migratepages_block+0x986/0x9b0
Code in isolate_migratepages_block() was added in commit 119d6d59dcc0
("mm, compaction: avoid isolating pinned pages") before adding VM_BUG_ON
into page_mapcount().
This race has been predicted in 2015 by Vlastimil Babka (see link below).
Link: http://lkml.kernel.org/r/159032779896.957378.7852761411265662220.stgit@buzz
Link: https://lore.kernel.org/lkml/557710E1.6060103@suse.cz/
Link: https://lore.kernel.org/linux-mm/158937872515.474360.5066096871639561424.st… (v1)
Fixes: 1d148e218a0d ("mm: add VM_BUG_ON_PAGE() to page_mapcount()")
Signed-off-by: Konstantin Khlebnikov <khlebnikov(a)yandex-team.ru>
Acked-by: Hugh Dickins <hughd(a)google.com>
Cc: Vlastimil Babka <vbabka(a)suse.cz>
Cc: David Rientjes <rientjes(a)google.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov(a)linux.intel.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
include/linux/mm.h | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
--- a/include/linux/mm.h~mm-remove-vm_bug_onpageslab-from-page_mapcount
+++ a/include/linux/mm.h
@@ -782,6 +782,11 @@ static inline void *kvcalloc(size_t n, s
extern void kvfree(const void *addr);
+/*
+ * Mapcount of compound page as a whole, not includes mapped sub-pages.
+ *
+ * Must be called only for compound pages or any their tail sub-pages.
+ */
static inline int compound_mapcount(struct page *page)
{
VM_BUG_ON_PAGE(!PageCompound(page), page);
@@ -801,10 +806,15 @@ static inline void page_mapcount_reset(s
int __page_mapcount(struct page *page);
+/*
+ * Mapcount of 0-order page, for sub-page includes compound_mapcount().
+ *
+ * Result is undefined for pages which cannot be mapped into userspace.
+ * For example SLAB or special types of pages. See function page_has_type().
+ * They use this place in struct page differently.
+ */
static inline int page_mapcount(struct page *page)
{
- VM_BUG_ON_PAGE(PageSlab(page), page);
-
if (unlikely(PageCompound(page)))
return __page_mapcount(page);
return atomic_read(&page->_mapcount) + 1;
_
Patches currently in -mm which might be from khlebnikov(a)yandex-team.ru are
mm-compaction-avoid-vm_bug_onpageslab-in-page_mapcount.patch
mm-remove-vm_bug_onpageslab-from-page_mapcount.patch
kernel-watchdog-flush-all-printk-nmi-buffers-when-hardlockup-detected.patch
doc-cgroup-update-note-about-conditions-when-oom-killer-is-invoked.patch
The patch titled
Subject: mm,thp: stop leaking unreleased file pages
has been added to the -mm tree. Its filename is
mmthp-stop-leaking-unreleased-file-pages.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mmthp-stop-leaking-unreleased-file…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mmthp-stop-leaking-unreleased-file…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Hugh Dickins <hughd(a)google.com>
Subject: mm,thp: stop leaking unreleased file pages
When collapse_file() calls try_to_release_page(), it has already isolated
the page: so if releasing buffers happens to fail (as it sometimes does),
remember to putback_lru_page(): otherwise that page is left unreclaimable
and unfreeable, and the file extent uncollapsible.
Link: http://lkml.kernel.org/r/alpine.LSU.2.11.2005231837500.1766@eggly.anvils
Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
Signed-off-by: Hugh Dickins <hughd(a)google.com>
Cc: Song Liu <songliubraving(a)fb.com>
Cc: Rik van Riel <riel(a)surriel.com>
Cc: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Cc: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: <stable(a)vger.kernel.org> [5.4+]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/khugepaged.c | 1 +
1 file changed, 1 insertion(+)
--- a/mm/khugepaged.c~mmthp-stop-leaking-unreleased-file-pages
+++ a/mm/khugepaged.c
@@ -1692,6 +1692,7 @@ static void collapse_file(struct mm_stru
if (page_has_private(page) &&
!try_to_release_page(page, GFP_KERNEL)) {
result = SCAN_PAGE_HAS_PRIVATE;
+ putback_lru_page(page);
goto out_unlock;
}
_
Patches currently in -mm which might be from hughd(a)google.com are
mmthp-stop-leaking-unreleased-file-pages.patch
mm-memcontrol-charge-swapin-pages-on-instantiation-fix.patch
mm-vmstat-add-events-for-pmd-based-thp-migration-without-split-fix.patch
The patch titled
Subject: z3fold: fix use-after-free when freeing handles
has been removed from the -mm tree. Its filename was
z3fold-fix-use-after-free-when-freeing-handles.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Uladzislau Rezki <uladzislau.rezki(a)sony.com>
Subject: z3fold: fix use-after-free when freeing handles
free_handle() for a foreign handle may race with inter-page compaction,
what can lead to memory corruption. To avoid that, take write lock not
read lock in free_handle to be synchronized with __release_z3fold_page().
For example KASAN can detect it:
[ 33.723357] ==================================================================
[ 33.723401] BUG: KASAN: use-after-free in LZ4_decompress_safe+0x2c4/0x3b8
[ 33.723418] Read of size 1 at addr ffffffc976695ca3 by task GoogleApiHandle/4121
[ 33.723428]
[ 33.723449] CPU: 0 PID: 4121 Comm: GoogleApiHandle Tainted: P S OE 4.19.81-perf+ #162
[ 33.723461] Hardware name: Sony Mobile Communications. PDX-203(KONA) (DT)
[ 33.723473] Call trace:
[ 33.723495] dump_backtrace+0x0/0x288
[ 33.723512] show_stack+0x14/0x20
[ 33.723533] dump_stack+0xe4/0x124
[ 33.723551] print_address_description+0x80/0x2e0
[ 33.723566] kasan_report+0x268/0x2d0
[ 33.723584] __asan_load1+0x4c/0x58
[ 33.723601] LZ4_decompress_safe+0x2c4/0x3b8
[ 33.723619] lz4_decompress_crypto+0x3c/0x70
[ 33.723636] crypto_decompress+0x58/0x70
[ 33.723656] zcomp_decompress+0xd4/0x120
...
Apart from that, initialize zhdr->mapped_count in init_z3fold_page() and
remove "newpage" variable because it is not used anywhere.
Link: http://lkml.kernel.org/r/20200520082100.28876-1-vitaly.wool@konsulko.com
Signed-off-by: Uladzislau Rezki <uladzislau.rezki(a)sony.com>
Signed-off-by: Vitaly Wool <vitaly.wool(a)konsulko.com>
Cc: Qian Cai <cai(a)lca.pw>
Cc: Raymond Jennings <shentino(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/z3fold.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
--- a/mm/z3fold.c~z3fold-fix-use-after-free-when-freeing-handles
+++ a/mm/z3fold.c
@@ -318,16 +318,16 @@ static inline void free_handle(unsigned
slots = handle_to_slots(handle);
write_lock(&slots->lock);
*(unsigned long *)handle = 0;
- write_unlock(&slots->lock);
- if (zhdr->slots == slots)
+ if (zhdr->slots == slots) {
+ write_unlock(&slots->lock);
return; /* simple case, nothing else to do */
+ }
/* we are freeing a foreign handle if we are here */
zhdr->foreign_handles--;
is_free = true;
- read_lock(&slots->lock);
if (!test_bit(HANDLES_ORPHANED, &slots->pool)) {
- read_unlock(&slots->lock);
+ write_unlock(&slots->lock);
return;
}
for (i = 0; i <= BUDDY_MASK; i++) {
@@ -336,7 +336,7 @@ static inline void free_handle(unsigned
break;
}
}
- read_unlock(&slots->lock);
+ write_unlock(&slots->lock);
if (is_free) {
struct z3fold_pool *pool = slots_to_pool(slots);
@@ -422,6 +422,7 @@ static struct z3fold_header *init_z3fold
zhdr->start_middle = 0;
zhdr->cpu = -1;
zhdr->foreign_handles = 0;
+ zhdr->mapped_count = 0;
zhdr->slots = slots;
zhdr->pool = pool;
INIT_LIST_HEAD(&zhdr->buddy);
_
Patches currently in -mm which might be from uladzislau.rezki(a)sony.com are
The patch titled
Subject: sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
has been removed from the -mm tree. Its filename was
sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mike Rapoport <rppt(a)linux.ibm.com>
Subject: sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
The kbuild test robot reported the following warning:
arch/sparc/mm/srmmu.c: In function 'srmmu_nocache_init':
>> arch/sparc/mm/srmmu.c:300:9: error: variable 'pud' set but not used
>> [-Werror=unused-but-set-variable]
300 | pud_t *pud;
This warning is caused by misprint in the page table traversal in
srmmu_nocache_init() function which accessed a PMD entry using PGD rather
than PUD.
Since sparc32 has only 3 page table levels, the PGD and PUD are
essentially the same and usage of __nocache_fix() removed the type
checking.
Use PUD for the consistency and to silence the compiler warning.
Link: http://lkml.kernel.org/r/20200520132005.GM1059226@linux.ibm.com
Fixes: 7235db268a2777bc38 ("sparc32: use pgtable-nopud instead of 4level-fixup")
Signed-off-by: Mike Rapoport <rppt(a)linux.ibm.com>
Reported-by: kbuild test robot <lkp(a)intel.com>
Cc: David S. Miller <davem(a)davemloft.net>
Cc: Anatoly Pugachev <matorola(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sparc/mm/srmmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/sparc/mm/srmmu.c~sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init
+++ a/arch/sparc/mm/srmmu.c
@@ -333,7 +333,7 @@ static void __init srmmu_nocache_init(vo
pgd = pgd_offset_k(vaddr);
p4d = p4d_offset(__nocache_fix(pgd), vaddr);
pud = pud_offset(__nocache_fix(p4d), vaddr);
- pmd = pmd_offset(__nocache_fix(pgd), vaddr);
+ pmd = pmd_offset(__nocache_fix(pud), vaddr);
pte = pte_offset_kernel(__nocache_fix(pmd), vaddr);
pteval = ((paddr >> 4) | SRMMU_ET_PTE | SRMMU_PRIV);
_
Patches currently in -mm which might be from rppt(a)linux.ibm.com are
mm-memblock-replace-dereferences-of-memblock_regionnid-with-api-calls.patch
mm-make-early_pfn_to_nid-and-related-defintions-close-to-each-other.patch
mm-remove-config_have_memblock_node_map-option.patch
mm-free_area_init-use-maximal-zone-pfns-rather-than-zone-sizes.patch
mm-use-free_area_init-instead-of-free_area_init_nodes.patch
alpha-simplify-detection-of-memory-zone-boundaries.patch
arm-simplify-detection-of-memory-zone-boundaries.patch
arm64-simplify-detection-of-memory-zone-boundaries-for-uma-configs.patch
csky-simplify-detection-of-memory-zone-boundaries.patch
m68k-mm-simplify-detection-of-memory-zone-boundaries.patch
parisc-simplify-detection-of-memory-zone-boundaries.patch
sparc32-simplify-detection-of-memory-zone-boundaries.patch
unicore32-simplify-detection-of-memory-zone-boundaries.patch
xtensa-simplify-detection-of-memory-zone-boundaries.patch
mm-remove-early_pfn_in_nid-and-config_nodes_span_other_nodes.patch
mm-free_area_init-allow-defining-max_zone_pfn-in-descending-order.patch
mm-free_area_init-allow-defining-max_zone_pfn-in-descending-order-fix-2.patch
mm-rename-free_area_init_node-to-free_area_init_memoryless_node.patch
mm-clean-up-free_area_init_node-and-its-helpers.patch
mm-simplify-find_min_pfn_with_active_regions.patch
docs-vm-update-memory-models-documentation.patch
h8300-remove-usage-of-__arch_use_5level_hack.patch
arm-add-support-for-folded-p4d-page-tables.patch
arm-add-support-for-folded-p4d-page-tables-fix.patch
arm64-add-support-for-folded-p4d-page-tables.patch
hexagon-remove-__arch_use_5level_hack.patch
ia64-add-support-for-folded-p4d-page-tables.patch
nios2-add-support-for-folded-p4d-page-tables.patch
openrisc-add-support-for-folded-p4d-page-tables.patch
powerpc-add-support-for-folded-p4d-page-tables.patch
powerpc-add-support-for-folded-p4d-page-tables-fix.patch
powerpc-add-support-for-folded-p4d-page-tables-fix-2.patch
sh-drop-__pxd_offset-macros-that-duplicate-pxd_index-ones.patch
sh-add-support-for-folded-p4d-page-tables.patch
unicore32-remove-__arch_use_5level_hack.patch
asm-generic-remove-pgtable-nop4d-hackh.patch
mm-remove-__arch_has_5level_hack-and-include-asm-generic-5level-fixuph.patch
mm-dont-include-asm-pgtableh-if-linux-mmh-is-already-included.patch
mm-introduce-include-linux-pgtableh.patch
mm-reorder-includes-after-introduction-of-linux-pgtableh.patch
csky-replace-definitions-of-__pxd_offset-with-pxd_index.patch
m68k-mm-motorola-move-comment-about-page-table-allocation-funcitons.patch
m68k-mm-move-cachenocahe_page-definitions-close-to-their-user.patch
x86-mm-simplify-init_trampoline-and-surrounding-logic.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte-fix.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte-fix-2.patch
mm-consolidate-pte_index-and-pte_offset_-definitions.patch
mm-consolidate-pmd_index-and-pmd_offset-definitions.patch
mm-consolidate-pud_index-and-pud_offset-definitions.patch
mm-consolidate-pgd_index-and-pgd_offset_k-definitions.patch
The patch titled
Subject: sh: include linux/time_types.h for sockios
has been removed from the -mm tree. Its filename was
sh-include-linux-time_typesh-for-sockios.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Arnd Bergmann <arnd(a)arndb.de>
Subject: sh: include linux/time_types.h for sockios
Using the socket ioctls on arch/sh (and only there) causes build time
problems when __kernel_old_timeval/__kernel_old_timespec are not already
visible to the compiler.
Add an explict include line for the header that defines these
structures.
Link: http://lkml.kernel.org/r/20200519131327.1836482-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
Reported-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Fixes: 8c709f9a0693 ("y2038: sh: remove timeval/timespec usage from headers")
Fixes: 0768e17073dc ("net: socket: implement 64-bit timestamps")
Cc: Yoshinori Sato <ysato(a)users.sourceforge.jp>
Cc: Rich Felker <dalias(a)libc.org>
Cc: "David S. Miller" <davem(a)davemloft.net>
Cc: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sh/include/uapi/asm/sockios.h | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/sh/include/uapi/asm/sockios.h~sh-include-linux-time_typesh-for-sockios
+++ a/arch/sh/include/uapi/asm/sockios.h
@@ -2,6 +2,8 @@
#ifndef __ASM_SH_SOCKIOS_H
#define __ASM_SH_SOCKIOS_H
+#include <linux/time_types.h>
+
/* Socket-level I/O control calls. */
#define FIOGETOWN _IOR('f', 123, int)
#define FIOSETOWN _IOW('f', 124, int)
_
Patches currently in -mm which might be from arnd(a)arndb.de are
drm-remove-drm-specific-kmap_atomic-code-fix.patch
bitops-avoid-clang-shift-count-overflow-warnings.patch
ubsan-fix-gcc-10-warnings.patch
arm64-add-support-for-folded-p4d-page-tables-fix.patch
The patch titled
Subject: rapidio: fix an error in get_user_pages_fast() error handling
has been removed from the -mm tree. Its filename was
rapidio-fix-an-error-in-get_user_pages_fast-error-handling.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: John Hubbard <jhubbard(a)nvidia.com>
Subject: rapidio: fix an error in get_user_pages_fast() error handling
In the case of get_user_pages_fast() returning fewer pages than requested,
rio_dma_transfer() does not quite do the right thing. It attempts to
release all the pages that were requested, rather than just the pages that
were pinned.
Fix the error handling so that only the pages that were successfully
pinned are released.
Link: http://lkml.kernel.org/r/20200517235620.205225-2-jhubbard@nvidia.com
Fixes: e8de370188d0 ("rapidio: add mport char device driver")
Signed-off-by: John Hubbard <jhubbard(a)nvidia.com>
Reviewed-by: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Matt Porter <mporter(a)kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9(a)gmail.com>
Cc: Sumit Semwal <sumit.semwal(a)linaro.org>
Cc: Dan Carpenter <dan.carpenter(a)oracle.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
drivers/rapidio/devices/rio_mport_cdev.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/drivers/rapidio/devices/rio_mport_cdev.c~rapidio-fix-an-error-in-get_user_pages_fast-error-handling
+++ a/drivers/rapidio/devices/rio_mport_cdev.c
@@ -877,6 +877,11 @@ rio_dma_transfer(struct file *filp, u32
rmcd_error("pinned %ld out of %ld pages",
pinned, nr_pages);
ret = -EFAULT;
+ /*
+ * Set nr_pages up to mean "how many pages to unpin, in
+ * the error handler:
+ */
+ nr_pages = pinned;
goto err_pg;
}
_
Patches currently in -mm which might be from jhubbard(a)nvidia.com are
mm-gup-introduce-pin_user_pages_unlocked.patch
ivtv-convert-get_user_pages-pin_user_pages.patch
mm-gup-move-__get_user_pages_fast-down-a-few-lines-in-gupc.patch
mm-gup-refactor-and-de-duplicate-gup_fast-code.patch
mm-gup-refactor-and-de-duplicate-gup_fast-code-fix.patch
mm-gup-introduce-pin_user_pages_fast_only.patch
drm-i915-convert-get_user_pages-pin_user_pages.patch
mm-gup-might_lock_readmmap_sem-in-get_user_pages_fast.patch
khugepaged-add-self-test-fix-3.patch
rapidio-convert-get_user_pages-pin_user_pages.patch
The patch titled
Subject: device-dax: don't leak kernel memory to user space after unloading kmem
has been removed from the -mm tree. Its filename was
device-dax-dont-leak-kernel-memory-to-user-space-after-unloading-kmem.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: David Hildenbrand <david(a)redhat.com>
Subject: device-dax: don't leak kernel memory to user space after unloading kmem
Assume we have kmem configured and loaded:
[root@localhost ~]# cat /proc/iomem
...
140000000-33fffffff : Persistent Memory$
140000000-1481fffff : namespace0.0
150000000-33fffffff : dax0.0
150000000-33fffffff : System RAM
Assume we try to unload kmem. This force-unloading will work, even if
memory cannot get removed from the system.
[root@localhost ~]# rmmod kmem
[ 86.380228] removing memory fails, because memory [0x0000000150000000-0x0000000157ffffff] is onlined
...
[ 86.431225] kmem dax0.0: DAX region [mem 0x150000000-0x33fffffff] cannot be hotremoved until the next reboot
Now, we can reconfigure the namespace:
[root@localhost ~]# ndctl create-namespace --force --reconfig=namespace0.0 --mode=devdax
[ 131.409351] nd_pmem namespace0.0: could not reserve region [mem 0x140000000-0x33fffffff]dax
[ 131.410147] nd_pmem: probe of namespace0.0 failed with error -16namespace0.0 --mode=devdax
...
This fails as expected due to the busy memory resource, and the memory
cannot be used. However, the dax0.0 device is removed, and along its name.
The name of the memory resource now points at freed memory (name of the
device).
[root@localhost ~]# cat /proc/iomem
...
140000000-33fffffff : Persistent Memory
140000000-1481fffff : namespace0.0
150000000-33fffffff : �_�^7_��/_��wR��WQ���^��� ...
150000000-33fffffff : System RAM
We have to make sure to duplicate the string. While at it, remove the
superfluous setting of the name and fixup a stale comment.
Link: http://lkml.kernel.org/r/20200508084217.9160-2-david@redhat.com
Fixes: 9f960da72b25 ("device-dax: "Hotremove" persistent memory that is used like normal RAM")
Signed-off-by: David Hildenbrand <david(a)redhat.com>
Cc: Dan Williams <dan.j.williams(a)intel.com>
Cc: Vishal Verma <vishal.l.verma(a)intel.com>
Cc: Dave Jiang <dave.jiang(a)intel.com>
Cc: Pavel Tatashin <pasha.tatashin(a)soleen.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: <stable(a)vger.kernel.org> [5.3]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
drivers/dax/kmem.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
--- a/drivers/dax/kmem.c~device-dax-dont-leak-kernel-memory-to-user-space-after-unloading-kmem
+++ a/drivers/dax/kmem.c
@@ -22,6 +22,7 @@ int dev_dax_kmem_probe(struct device *de
resource_size_t kmem_size;
resource_size_t kmem_end;
struct resource *new_res;
+ const char *new_res_name;
int numa_node;
int rc;
@@ -48,11 +49,16 @@ int dev_dax_kmem_probe(struct device *de
kmem_size &= ~(memory_block_size_bytes() - 1);
kmem_end = kmem_start + kmem_size;
- /* Region is permanently reserved. Hot-remove not yet implemented. */
- new_res = request_mem_region(kmem_start, kmem_size, dev_name(dev));
+ new_res_name = kstrdup(dev_name(dev), GFP_KERNEL);
+ if (!new_res_name)
+ return -ENOMEM;
+
+ /* Region is permanently reserved if hotremove fails. */
+ new_res = request_mem_region(kmem_start, kmem_size, new_res_name);
if (!new_res) {
dev_warn(dev, "could not reserve region [%pa-%pa]\n",
&kmem_start, &kmem_end);
+ kfree(new_res_name);
return -EBUSY;
}
@@ -63,12 +69,12 @@ int dev_dax_kmem_probe(struct device *de
* unknown to us that will break add_memory() below.
*/
new_res->flags = IORESOURCE_SYSTEM_RAM;
- new_res->name = dev_name(dev);
rc = add_memory(numa_node, new_res->start, resource_size(new_res));
if (rc) {
release_resource(new_res);
kfree(new_res);
+ kfree(new_res_name);
return rc;
}
dev_dax->dax_kmem_res = new_res;
@@ -83,6 +89,7 @@ static int dev_dax_kmem_remove(struct de
struct resource *res = dev_dax->dax_kmem_res;
resource_size_t kmem_start = res->start;
resource_size_t kmem_size = resource_size(res);
+ const char *res_name = res->name;
int rc;
/*
@@ -102,6 +109,7 @@ static int dev_dax_kmem_remove(struct de
/* Release and free dax resources */
release_resource(res);
kfree(res);
+ kfree(res_name);
dev_dax->dax_kmem_res = NULL;
return 0;
_
Patches currently in -mm which might be from david(a)redhat.com are
drivers-base-memoryc-cache-memory-blocks-in-xarray-to-accelerate-lookup-fix.patch
powerpc-pseries-hotplug-memory-stop-checking-is_mem_section_removable.patch
mm-memory_hotplug-remove-is_mem_section_removable.patch
mm-memory_hotplug-set-node_start_pfn-of-hotadded-pgdat-to-0.patch
mm-memory_hotplug-handle-memblocks-only-with-config_arch_keep_memblock.patch
mm-memory_hotplug-introduce-add_memory_driver_managed.patch
kexec_file-dont-place-kexec-images-on-ioresource_mem_driver_managed.patch
device-dax-add-memory-via-add_memory_driver_managed.patch
Mimic what's done in nand_soft_waitrdy() and add one to the jiffies
timeout so we don't end up waiting less than actually required.
Reported-by: Tudor Ambarus <tudor.ambarus(a)microchip.com>
Fixes: b0e137ad24b6c ("mtd: rawnand: Provide helper for polling GPIO R/B pin")
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon(a)collabora.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus(a)microchip.com>
---
drivers/mtd/nand/raw/nand_base.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/nand/raw/nand_base.c b/drivers/mtd/nand/raw/nand_base.c
index 2d2a216af120..169150a7c140 100644
--- a/drivers/mtd/nand/raw/nand_base.c
+++ b/drivers/mtd/nand/raw/nand_base.c
@@ -790,8 +790,14 @@ EXPORT_SYMBOL_GPL(nand_soft_waitrdy);
int nand_gpio_waitrdy(struct nand_chip *chip, struct gpio_desc *gpiod,
unsigned long timeout_ms)
{
- /* Wait until R/B pin indicates chip is ready or timeout occurs */
- timeout_ms = jiffies + msecs_to_jiffies(timeout_ms);
+
+ /*
+ * Wait until R/B pin indicates chip is ready or timeout occurs.
+ * +1 below is necessary because if we are now in the last fraction
+ * of jiffy and msecs_to_jiffies is 1 then we will wait only that
+ * small jiffy fraction - possibly leading to false timeout.
+ */
+ timeout_ms = jiffies + msecs_to_jiffies(timeout_ms) + 1;
do {
if (gpiod_get_value_cansleep(gpiod))
return 0;
--
2.25.4
Not sure nand_cleanup() is the right function to call here but in any
case it is not nand_release(). Indeed, even a comment says that
calling nand_release() is a bit of a hack as there is no MTD device to
unregister. So switch to nand_cleanup() for now and drop this
comment.
There is no Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if it did not intruce
any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/diskonchip.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/mtd/nand/raw/diskonchip.c b/drivers/mtd/nand/raw/diskonchip.c
index 97f0b05b47c1..f8ccee797645 100644
--- a/drivers/mtd/nand/raw/diskonchip.c
+++ b/drivers/mtd/nand/raw/diskonchip.c
@@ -1482,13 +1482,10 @@ static int __init doc_probe(unsigned long physadr)
numchips = doc2001_init(mtd);
if ((ret = nand_scan(nand, numchips)) || (ret = doc->late_init(mtd))) {
- /* DBB note: i believe nand_release is necessary here, as
+ /* DBB note: i believe nand_cleanup is necessary here, as
buffers may have been allocated in nand_base. Check with
Thomas. FIX ME! */
- /* nand_release will call mtd_device_unregister, but we
- haven't yet added it. This is handled without incident by
- mtd_device_unregister, as far as I can tell. */
- nand_release(nand);
+ nand_cleanup(nand);
goto fail;
}
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. Hence, pointing it as the commit to
fix for backporting purposes, even if this commit is not introducing
any bug makes sense.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
Cc: Paul Cercueil <paul(a)crapouillou.net>
Cc: Harvey Hunt <harveyhuntnexus(a)gmail.com>
---
drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c
index e7bd845fdbf5..3bfb6fa8bad9 100644
--- a/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c
+++ b/drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c
@@ -376,7 +376,7 @@ static int ingenic_nand_init_chip(struct platform_device *pdev,
ret = mtd_device_register(mtd, NULL, 0);
if (ret) {
- nand_release(chip);
+ nand_cleanup(chip);
return ret;
}
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/mtk_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/mtk_nand.c b/drivers/mtd/nand/raw/mtk_nand.c
index e7ec30e784fd..9dad08bed2bb 100644
--- a/drivers/mtd/nand/raw/mtk_nand.c
+++ b/drivers/mtd/nand/raw/mtk_nand.c
@@ -1419,7 +1419,7 @@ static int mtk_nfc_nand_chip_init(struct device *dev, struct mtk_nfc *nfc,
ret = mtd_device_register(mtd, NULL, 0);
if (ret) {
dev_err(dev, "mtd parse partition error\n");
- nand_release(nand);
+ nand_cleanup(nand);
return ret;
}
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/orion_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/orion_nand.c b/drivers/mtd/nand/raw/orion_nand.c
index d27b39a7223c..a3dcdf25f5f2 100644
--- a/drivers/mtd/nand/raw/orion_nand.c
+++ b/drivers/mtd/nand/raw/orion_nand.c
@@ -180,7 +180,7 @@ static int __init orion_nand_probe(struct platform_device *pdev)
mtd->name = "orion_nand";
ret = mtd_device_register(mtd, board->parts, board->nr_parts);
if (ret) {
- nand_release(nc);
+ nand_cleanup(nc);
goto no_dev;
}
--
2.20.1
nand_cleanup() is supposed to be called on error after a successful
call to nand_scan() to free all NAND resources.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible, hence pointing it as the commit to
fix for backporting purposes, even if this commit is not introducing
any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/pasemi_nand.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/pasemi_nand.c b/drivers/mtd/nand/raw/pasemi_nand.c
index 9cfe7395172a..be40b2f32237 100644
--- a/drivers/mtd/nand/raw/pasemi_nand.c
+++ b/drivers/mtd/nand/raw/pasemi_nand.c
@@ -146,7 +146,7 @@ static int pasemi_nand_probe(struct platform_device *ofdev)
if (mtd_device_register(pasemi_nand_mtd, NULL, 0)) {
dev_err(dev, "Unable to register MTD device\n");
err = -ENODEV;
- goto out_lpc;
+ goto out_cleanup_nand;
}
dev_info(dev, "PA Semi NAND flash at %pR, control at I/O %x\n", &res,
@@ -154,6 +154,8 @@ static int pasemi_nand_probe(struct platform_device *ofdev)
return 0;
+out_cleanup:
+ nand_cleanup(chip);
out_lpc:
release_region(lpcctl, 4);
out_ior:
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible, hence pointing it as the commit to
fix for backporting purposes, even if this commit is not introducing
any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/plat_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/plat_nand.c b/drivers/mtd/nand/raw/plat_nand.c
index dc0f3074ddbf..3a495b233443 100644
--- a/drivers/mtd/nand/raw/plat_nand.c
+++ b/drivers/mtd/nand/raw/plat_nand.c
@@ -92,7 +92,7 @@ static int plat_nand_probe(struct platform_device *pdev)
if (!err)
return err;
- nand_release(&data->chip);
+ nand_cleanup(&data->chip);
out:
if (pdata->ctrl.remove)
pdata->ctrl.remove(pdev);
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/sharpsl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/sharpsl.c b/drivers/mtd/nand/raw/sharpsl.c
index b47a9eaff89b..d8c52a016080 100644
--- a/drivers/mtd/nand/raw/sharpsl.c
+++ b/drivers/mtd/nand/raw/sharpsl.c
@@ -183,7 +183,7 @@ static int sharpsl_nand_probe(struct platform_device *pdev)
return 0;
err_add:
- nand_release(this);
+ nand_cleanup(this);
err_scan:
iounmap(sharpsl->io);
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/socrates_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/socrates_nand.c b/drivers/mtd/nand/raw/socrates_nand.c
index 20f40c0e812c..7c94fc51a611 100644
--- a/drivers/mtd/nand/raw/socrates_nand.c
+++ b/drivers/mtd/nand/raw/socrates_nand.c
@@ -169,7 +169,7 @@ static int socrates_nand_probe(struct platform_device *ofdev)
if (!res)
return res;
- nand_release(nand_chip);
+ nand_cleanup(nand_chip);
out:
iounmap(host->io_base);
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates by far the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/tmio_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/tmio_nand.c b/drivers/mtd/nand/raw/tmio_nand.c
index db030f1701ee..4e9a6d94f6e8 100644
--- a/drivers/mtd/nand/raw/tmio_nand.c
+++ b/drivers/mtd/nand/raw/tmio_nand.c
@@ -448,7 +448,7 @@ static int tmio_probe(struct platform_device *dev)
if (!retval)
return retval;
- nand_release(nand_chip);
+ nand_cleanup(nand_chip);
err_irq:
tmio_hw_stop(dev, tmio);
--
2.20.1
nand_release() is supposed be called after MTD device registration.
Here, only nand_scan() happened, so use nand_cleanup() instead.
There is no real Fixes tag applying here as the use of nand_release()
in this driver predates the introduction of nand_cleanup() in
commit d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
which makes this change possible. However, pointing this commit as the
culprit for backporting purposes makes sense even if this commit is not
introducing any bug.
Fixes: d44154f969a4 ("mtd: nand: Provide nand_cleanup() function to free NAND related resources")
Signed-off-by: Miquel Raynal <miquel.raynal(a)bootlin.com>
Cc: stable(a)vger.kernel.org
---
drivers/mtd/nand/raw/xway_nand.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/xway_nand.c b/drivers/mtd/nand/raw/xway_nand.c
index 834f794816a9..018311dc8fe1 100644
--- a/drivers/mtd/nand/raw/xway_nand.c
+++ b/drivers/mtd/nand/raw/xway_nand.c
@@ -210,7 +210,7 @@ static int xway_nand_probe(struct platform_device *pdev)
err = mtd_device_register(mtd, NULL, 0);
if (err)
- nand_release(&data->chip);
+ nand_cleanup(&data->chip);
return err;
}
--
2.20.1
From: Xing Li <lixing(a)loongson.cn>
If a CPU support more than 32bit vmbits (which is true for 64bit CPUs),
VPN2_MASK set to fixed 0xffffe000 will lead to a wrong EntryHi in some
functions such as _kvm_mips_host_tlb_inv().
The cpu_vmbits definition of 32bit CPU in cpu-features.h is 31, so we
still use the old definition.
Cc: Stable <stable(a)vger.kernel.org>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel(a)gmail.com>
Signed-off-by: Xing Li <lixing(a)loongson.cn>
[Huacai: Improve commit messages]
Signed-off-by: Huacai Chen <chenhc(a)lemote.com>
---
arch/mips/include/asm/kvm_host.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h
index 609fdcd..31c84d8 100644
--- a/arch/mips/include/asm/kvm_host.h
+++ b/arch/mips/include/asm/kvm_host.h
@@ -276,7 +276,11 @@ enum emulation_result {
#define MIPS3_PG_SHIFT 6
#define MIPS3_PG_FRAME 0x3fffffc0
+#if defined(CONFIG_64BIT)
+#define VPN2_MASK GENMASK(cpu_vmbits - 1, 13)
+#else
#define VPN2_MASK 0xffffe000
+#endif
#define KVM_ENTRYHI_ASID cpu_asid_mask(&boot_cpu_data)
#define TLB_IS_GLOBAL(x) ((x).tlb_lo[0] & (x).tlb_lo[1] & ENTRYLO_G)
#define TLB_VPN2(x) ((x).tlb_hi & VPN2_MASK)
--
2.7.0
The srmmu_nocache_init() uses __nocache_fix() macro to add an offset to
page table entry to access srmmu_nocache_pool.
But since sparc32 has only three actual page table levels, pgd, p4d and
pud are essentially the same thing and pgd_offset() and p4d_offset() are
no-ops, the __nocache_fix() should be done only at PUD level.
Remove __nocache_fix() for p4d_offset() and pud_offset() and keep it only
for PUD and lower levels.
Fixes: c2bc26f7ca1f ("sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()")
Signed-off-by: Mike Rapoport <rppt(a)linux.ibm.com>
Cc: David S. Miller <davem(a)davemloft.net>
Cc: Anatoly Pugachev <matorola(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
---
arch/sparc/mm/srmmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/sparc/mm/srmmu.c b/arch/sparc/mm/srmmu.c
index e9f7af32da07..a8c2f2615fc6 100644
--- a/arch/sparc/mm/srmmu.c
+++ b/arch/sparc/mm/srmmu.c
@@ -331,8 +331,8 @@ static void __init srmmu_nocache_init(void)
while (vaddr < srmmu_nocache_end) {
pgd = pgd_offset_k(vaddr);
- p4d = p4d_offset(__nocache_fix(pgd), vaddr);
- pud = pud_offset(__nocache_fix(p4d), vaddr);
+ p4d = p4d_offset(pgd, vaddr);
+ pud = pud_offset(p4d, vaddr);
pmd = pmd_offset(__nocache_fix(pud), vaddr);
pte = pte_offset_kernel(__nocache_fix(pmd), vaddr);
--
2.26.2
From: Mike Rapoport <rppt(a)linux.ibm.com>
Subject: sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
The kbuild test robot reported the following warning:
arch/sparc/mm/srmmu.c: In function 'srmmu_nocache_init':
>> arch/sparc/mm/srmmu.c:300:9: error: variable 'pud' set but not used
>> [-Werror=unused-but-set-variable]
300 | pud_t *pud;
This warning is caused by misprint in the page table traversal in
srmmu_nocache_init() function which accessed a PMD entry using PGD rather
than PUD.
Since sparc32 has only 3 page table levels, the PGD and PUD are
essentially the same and usage of __nocache_fix() removed the type
checking.
Use PUD for the consistency and to silence the compiler warning.
Link: http://lkml.kernel.org/r/20200520132005.GM1059226@linux.ibm.com
Fixes: 7235db268a2777bc38 ("sparc32: use pgtable-nopud instead of 4level-fixup")
Signed-off-by: Mike Rapoport <rppt(a)linux.ibm.com>
Reported-by: kbuild test robot <lkp(a)intel.com>
Cc: David S. Miller <davem(a)davemloft.net>
Cc: Anatoly Pugachev <matorola(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sparc/mm/srmmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/sparc/mm/srmmu.c~sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init
+++ a/arch/sparc/mm/srmmu.c
@@ -333,7 +333,7 @@ static void __init srmmu_nocache_init(vo
pgd = pgd_offset_k(vaddr);
p4d = p4d_offset(__nocache_fix(pgd), vaddr);
pud = pud_offset(__nocache_fix(p4d), vaddr);
- pmd = pmd_offset(__nocache_fix(pgd), vaddr);
+ pmd = pmd_offset(__nocache_fix(pud), vaddr);
pte = pte_offset_kernel(__nocache_fix(pmd), vaddr);
pteval = ((paddr >> 4) | SRMMU_ET_PTE | SRMMU_PRIV);
_
omap_w1_read_byte() should return -1 (or 0xff) in case of
error (e.g. missing battery).
The code accidentially overwrites the variable ret and not val,
which is returned. So it will return the initial value 0 instead
of -1.
Fixes: 27d13da8782a ("w1: omap-hdq: Simplify driver with PM runtime autosuspend")
Cc: stable(a)vger.kernel.org # v5.6+
Signed-off-by: H. Nikolaus Schaller <hns(a)goldelico.com>
---
drivers/w1/masters/omap_hdq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/w1/masters/omap_hdq.c b/drivers/w1/masters/omap_hdq.c
index d363e2a89fdfc4..9f9ec108b189e2 100644
--- a/drivers/w1/masters/omap_hdq.c
+++ b/drivers/w1/masters/omap_hdq.c
@@ -464,7 +464,7 @@ static u8 omap_w1_read_byte(void *_hdq)
ret = hdq_read_byte(hdq_data, &val);
if (ret)
- ret = -1;
+ val = -1;
pm_runtime_mark_last_busy(hdq_data->dev);
pm_runtime_put_autosuspend(hdq_data->dev);
--
2.26.2
This is a note to let you know that I've just added the patch titled
Revert "kobject: Make sure the parent does not get released before
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From e6764aa0e5530066dd969eccea2a1a7d177859a8 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Date: Sat, 23 May 2020 17:11:11 +0200
Subject: Revert "kobject: Make sure the parent does not get released before
its children"
This reverts commit 4ef12f7198023c09ad6d25b652bd8748c965c7fa.
Guenter reports:
All my arm64be (arm64 big endian) boot tests crash with this
patch applied. Reverting it fixes the problem. Crash log and
bisect results (from pending-fixes branch) below.
And also:
arm64 images don't crash but report lots of "poison overwritten"
backtraces like the one below. On arm, I see "refcount_t:
underflow", also attached. I didn't bisect those, but given the
context I would suspect the same culprit.
Reported-by: Guenter Roeck <linux(a)roeck-us.net>
Link: https://lore.kernel.org/r/20200513151840.36400-1-heikki.krogerus@linux.inte…
Cc: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Cc: kernel test robot <rong.a.chen(a)intel.com>
Cc: "Rafael J. Wysocki" <rafael(a)kernel.org>
Cc: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Cc: Brendan Higgins <brendanhiggins(a)google.com>
Cc: Randy Dunlap <rdunlap(a)infradead.org>
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
lib/kobject.c | 30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)
diff --git a/lib/kobject.c b/lib/kobject.c
index 2bd631460e18..83198cb37d8d 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -599,7 +599,14 @@ int kobject_move(struct kobject *kobj, struct kobject *new_parent)
}
EXPORT_SYMBOL_GPL(kobject_move);
-static void __kobject_del(struct kobject *kobj)
+/**
+ * kobject_del() - Unlink kobject from hierarchy.
+ * @kobj: object.
+ *
+ * This is the function that should be called to delete an object
+ * successfully added via kobject_add().
+ */
+void kobject_del(struct kobject *kobj)
{
struct kernfs_node *sd;
const struct kobj_type *ktype;
@@ -618,23 +625,9 @@ static void __kobject_del(struct kobject *kobj)
kobj->state_in_sysfs = 0;
kobj_kset_leave(kobj);
+ kobject_put(kobj->parent);
kobj->parent = NULL;
}
-
-/**
- * kobject_del() - Unlink kobject from hierarchy.
- * @kobj: object.
- *
- * This is the function that should be called to delete an object
- * successfully added via kobject_add().
- */
-void kobject_del(struct kobject *kobj)
-{
- struct kobject *parent = kobj->parent;
-
- __kobject_del(kobj);
- kobject_put(parent);
-}
EXPORT_SYMBOL(kobject_del);
/**
@@ -670,7 +663,6 @@ EXPORT_SYMBOL(kobject_get_unless_zero);
*/
static void kobject_cleanup(struct kobject *kobj)
{
- struct kobject *parent = kobj->parent;
struct kobj_type *t = get_ktype(kobj);
const char *name = kobj->name;
@@ -692,7 +684,7 @@ static void kobject_cleanup(struct kobject *kobj)
if (kobj->state_in_sysfs) {
pr_debug("kobject: '%s' (%p): auto cleanup kobject_del\n",
kobject_name(kobj), kobj);
- __kobject_del(kobj);
+ kobject_del(kobj);
}
if (t && t->release) {
@@ -706,8 +698,6 @@ static void kobject_cleanup(struct kobject *kobj)
pr_debug("kobject: '%s': free name\n", name);
kfree_const(name);
}
-
- kobject_put(parent);
}
#ifdef CONFIG_DEBUG_KOBJECT_RELEASE
--
2.26.2
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 8659a0e0efdd975c73355dbc033f79ba3b31e82c Mon Sep 17 00:00:00 2001
From: Michael Ellerman <mpe(a)ellerman.id.au>
Date: Wed, 20 May 2020 23:36:05 +1000
Subject: [PATCH] powerpc/64s: Disable STRICT_KERNEL_RWX
Several strange crashes have been eventually traced back to
STRICT_KERNEL_RWX and its interaction with code patching.
Various paths in our ftrace, kprobes and other patching code need to
be hardened against patching failures, otherwise we can end up running
with partially/incorrectly patched ftrace paths, kprobes or jump
labels, which can then cause strange crashes.
Although fixes for those are in development, they're not -rc material.
There also seem to be problems with the underlying strict RWX logic,
which needs further debugging.
So for now disable STRICT_KERNEL_RWX on 64-bit to prevent people from
enabling the option and tripping over the bugs.
Fixes: 1e0fc9d1eb2b ("powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs")
Cc: stable(a)vger.kernel.org # v4.13+
Signed-off-by: Michael Ellerman <mpe(a)ellerman.id.au>
Link: https://lore.kernel.org/r/20200520133605.972649-1-mpe@ellerman.id.au
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 924c541a9260..d13b5328ca10 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -130,7 +130,7 @@ config PPC
select ARCH_HAS_PTE_SPECIAL
select ARCH_HAS_MEMBARRIER_CALLBACKS
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
- select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !HIBERNATION)
+ select ARCH_HAS_STRICT_KERNEL_RWX if (PPC32 && !HIBERNATION)
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UACCESS_FLUSHCACHE
select ARCH_HAS_UACCESS_MCSAFE if PPC64
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 2346ef47e871536cf4e36b77859bfdeb39b49024 Mon Sep 17 00:00:00 2001
From: Nicholas Kazlauskas <nicholas.kazlauskas(a)amd.com>
Date: Wed, 6 May 2020 15:47:54 -0400
Subject: [PATCH] drm/amd/display: Fix vblank and pageflip event handling for
FreeSync
[Why]
We're sending the drm vblank event a frame too early in the case where
the pageflip happens close to VUPDATE and ends up blocking the signal.
The implementation in DM was previously correct *before* we started
sending vblank events from VSTARTUP unconditionally to handle cases
where HUBP was off, OTG was ON and userspace was still requesting some
DRM planes enabled. As part of that patch series we dropped VUPDATE
since it was deemed close enough to VSTARTUP, but there's a key
difference betweeen VSTARTUP and VUPDATE - the VUPDATE signal can be
blocked if we're holding the pipe lock.
There was a fix recently to revert the unconditional behavior for the
DCN VSTARTUP vblank event since it was sending the pageflip event on
the wrong frame - once again, due to blocking VUPDATE and having the
address start scanning out two frames later.
The problem with this fix is it didn't update the logic that calls
drm_crtc_handle_vblank(), so the timestamps are totally bogus now.
[How]
Essentially reverts most of the original VSTARTUP series but retains
the behavior to send back events when active planes == 0.
Some refactoring/cleanup was done to not have duplicated code in both
the handlers.
Fixes: 16f17eda8bad ("drm/amd/display: Send vblank and user events at vsartup for DCN")
Fixes: 3a2ce8d66a4b ("drm/amd/display: Disable VUpdate interrupt for DCN hardware")
Fixes: 2b5aed9ac3f7 ("drm/amd/display: Fix pageflip event race condition for DCN.")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas(a)amd.com>
Reviewed-and-Tested-by: Mario Kleiner <mario.kleiner.de(a)gmail.com>
Reviewed-by: Leo Li <sunpeng.li(a)amd.com>
Acked-by: Alex Deucher <alexander.deucher(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
Cc: stable(a)vger.kernel.org # 5.6.x
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 9c83c1303f08..c3df6ef9f101 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -441,7 +441,7 @@ static void dm_vupdate_high_irq(void *interrupt_params)
/**
* dm_crtc_high_irq() - Handles CRTC interrupt
- * @interrupt_params: ignored
+ * @interrupt_params: used for determining the CRTC instance
*
* Handles the CRTC/VSYNC interrupt by notfying DRM's VBLANK
* event handler.
@@ -455,70 +455,6 @@ static void dm_crtc_high_irq(void *interrupt_params)
unsigned long flags;
acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK);
-
- if (acrtc) {
- acrtc_state = to_dm_crtc_state(acrtc->base.state);
-
- DRM_DEBUG_VBL("crtc:%d, vupdate-vrr:%d\n",
- acrtc->crtc_id,
- amdgpu_dm_vrr_active(acrtc_state));
-
- /* Core vblank handling at start of front-porch is only possible
- * in non-vrr mode, as only there vblank timestamping will give
- * valid results while done in front-porch. Otherwise defer it
- * to dm_vupdate_high_irq after end of front-porch.
- */
- if (!amdgpu_dm_vrr_active(acrtc_state))
- drm_crtc_handle_vblank(&acrtc->base);
-
- /* Following stuff must happen at start of vblank, for crc
- * computation and below-the-range btr support in vrr mode.
- */
- amdgpu_dm_crtc_handle_crc_irq(&acrtc->base);
-
- if (acrtc_state->stream && adev->family >= AMDGPU_FAMILY_AI &&
- acrtc_state->vrr_params.supported &&
- acrtc_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE) {
- spin_lock_irqsave(&adev->ddev->event_lock, flags);
- mod_freesync_handle_v_update(
- adev->dm.freesync_module,
- acrtc_state->stream,
- &acrtc_state->vrr_params);
-
- dc_stream_adjust_vmin_vmax(
- adev->dm.dc,
- acrtc_state->stream,
- &acrtc_state->vrr_params.adjust);
- spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
- }
- }
-}
-
-#if defined(CONFIG_DRM_AMD_DC_DCN)
-/**
- * dm_dcn_crtc_high_irq() - Handles VStartup interrupt for DCN generation ASICs
- * @interrupt params - interrupt parameters
- *
- * Notify DRM's vblank event handler at VSTARTUP
- *
- * Unlike DCE hardware, we trigger the handler at VSTARTUP. at which:
- * * We are close enough to VUPDATE - the point of no return for hw
- * * We are in the fixed portion of variable front porch when vrr is enabled
- * * We are before VUPDATE, where double-buffered vrr registers are swapped
- *
- * It is therefore the correct place to signal vblank, send user flip events,
- * and update VRR.
- */
-static void dm_dcn_crtc_high_irq(void *interrupt_params)
-{
- struct common_irq_params *irq_params = interrupt_params;
- struct amdgpu_device *adev = irq_params->adev;
- struct amdgpu_crtc *acrtc;
- struct dm_crtc_state *acrtc_state;
- unsigned long flags;
-
- acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK);
-
if (!acrtc)
return;
@@ -528,22 +464,35 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
amdgpu_dm_vrr_active(acrtc_state),
acrtc_state->active_planes);
+ /**
+ * Core vblank handling at start of front-porch is only possible
+ * in non-vrr mode, as only there vblank timestamping will give
+ * valid results while done in front-porch. Otherwise defer it
+ * to dm_vupdate_high_irq after end of front-porch.
+ */
+ if (!amdgpu_dm_vrr_active(acrtc_state))
+ drm_crtc_handle_vblank(&acrtc->base);
+
+ /**
+ * Following stuff must happen at start of vblank, for crc
+ * computation and below-the-range btr support in vrr mode.
+ */
amdgpu_dm_crtc_handle_crc_irq(&acrtc->base);
- drm_crtc_handle_vblank(&acrtc->base);
+
+ /* BTR updates need to happen before VUPDATE on Vega and above. */
+ if (adev->family < AMDGPU_FAMILY_AI)
+ return;
spin_lock_irqsave(&adev->ddev->event_lock, flags);
- if (acrtc_state->vrr_params.supported &&
+ if (acrtc_state->stream && acrtc_state->vrr_params.supported &&
acrtc_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE) {
- mod_freesync_handle_v_update(
- adev->dm.freesync_module,
- acrtc_state->stream,
- &acrtc_state->vrr_params);
+ mod_freesync_handle_v_update(adev->dm.freesync_module,
+ acrtc_state->stream,
+ &acrtc_state->vrr_params);
- dc_stream_adjust_vmin_vmax(
- adev->dm.dc,
- acrtc_state->stream,
- &acrtc_state->vrr_params.adjust);
+ dc_stream_adjust_vmin_vmax(adev->dm.dc, acrtc_state->stream,
+ &acrtc_state->vrr_params.adjust);
}
/*
@@ -556,7 +505,8 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
* avoid race conditions between flip programming and completion,
* which could cause too early flip completion events.
*/
- if (acrtc->pflip_status == AMDGPU_FLIP_SUBMITTED &&
+ if (adev->family >= AMDGPU_FAMILY_RV &&
+ acrtc->pflip_status == AMDGPU_FLIP_SUBMITTED &&
acrtc_state->active_planes == 0) {
if (acrtc->event) {
drm_crtc_send_vblank_event(&acrtc->base, acrtc->event);
@@ -568,7 +518,6 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
}
-#endif
static int dm_set_clockgating_state(void *handle,
enum amd_clockgating_state state)
@@ -2445,8 +2394,36 @@ static int dcn10_register_irq_handlers(struct amdgpu_device *adev)
c_irq_params->adev = adev;
c_irq_params->irq_src = int_params.irq_source;
+ amdgpu_dm_irq_register_interrupt(
+ adev, &int_params, dm_crtc_high_irq, c_irq_params);
+ }
+
+ /* Use VUPDATE_NO_LOCK interrupt on DCN, which seems to correspond to
+ * the regular VUPDATE interrupt on DCE. We want DC_IRQ_SOURCE_VUPDATEx
+ * to trigger at end of each vblank, regardless of state of the lock,
+ * matching DCE behaviour.
+ */
+ for (i = DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT;
+ i <= DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT + adev->mode_info.num_crtc - 1;
+ i++) {
+ r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_DCE, i, &adev->vupdate_irq);
+
+ if (r) {
+ DRM_ERROR("Failed to add vupdate irq id!\n");
+ return r;
+ }
+
+ int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT;
+ int_params.irq_source =
+ dc_interrupt_to_irq_source(dc, i, 0);
+
+ c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1];
+
+ c_irq_params->adev = adev;
+ c_irq_params->irq_src = int_params.irq_source;
+
amdgpu_dm_irq_register_interrupt(adev, &int_params,
- dm_dcn_crtc_high_irq, c_irq_params);
+ dm_vupdate_high_irq, c_irq_params);
}
/* Use GRPH_PFLIP interrupt */
@@ -4453,10 +4430,6 @@ static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
struct amdgpu_device *adev = crtc->dev->dev_private;
int rc;
- /* Do not set vupdate for DCN hardware */
- if (adev->family > AMDGPU_FAMILY_AI)
- return 0;
-
irq_source = IRQ_TYPE_VUPDATE + acrtc->otg_inst;
rc = dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY;
The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 8659a0e0efdd975c73355dbc033f79ba3b31e82c Mon Sep 17 00:00:00 2001
From: Michael Ellerman <mpe(a)ellerman.id.au>
Date: Wed, 20 May 2020 23:36:05 +1000
Subject: [PATCH] powerpc/64s: Disable STRICT_KERNEL_RWX
Several strange crashes have been eventually traced back to
STRICT_KERNEL_RWX and its interaction with code patching.
Various paths in our ftrace, kprobes and other patching code need to
be hardened against patching failures, otherwise we can end up running
with partially/incorrectly patched ftrace paths, kprobes or jump
labels, which can then cause strange crashes.
Although fixes for those are in development, they're not -rc material.
There also seem to be problems with the underlying strict RWX logic,
which needs further debugging.
So for now disable STRICT_KERNEL_RWX on 64-bit to prevent people from
enabling the option and tripping over the bugs.
Fixes: 1e0fc9d1eb2b ("powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs")
Cc: stable(a)vger.kernel.org # v4.13+
Signed-off-by: Michael Ellerman <mpe(a)ellerman.id.au>
Link: https://lore.kernel.org/r/20200520133605.972649-1-mpe@ellerman.id.au
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 924c541a9260..d13b5328ca10 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -130,7 +130,7 @@ config PPC
select ARCH_HAS_PTE_SPECIAL
select ARCH_HAS_MEMBARRIER_CALLBACKS
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
- select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !HIBERNATION)
+ select ARCH_HAS_STRICT_KERNEL_RWX if (PPC32 && !HIBERNATION)
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UACCESS_FLUSHCACHE
select ARCH_HAS_UACCESS_MCSAFE if PPC64
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 8659a0e0efdd975c73355dbc033f79ba3b31e82c Mon Sep 17 00:00:00 2001
From: Michael Ellerman <mpe(a)ellerman.id.au>
Date: Wed, 20 May 2020 23:36:05 +1000
Subject: [PATCH] powerpc/64s: Disable STRICT_KERNEL_RWX
Several strange crashes have been eventually traced back to
STRICT_KERNEL_RWX and its interaction with code patching.
Various paths in our ftrace, kprobes and other patching code need to
be hardened against patching failures, otherwise we can end up running
with partially/incorrectly patched ftrace paths, kprobes or jump
labels, which can then cause strange crashes.
Although fixes for those are in development, they're not -rc material.
There also seem to be problems with the underlying strict RWX logic,
which needs further debugging.
So for now disable STRICT_KERNEL_RWX on 64-bit to prevent people from
enabling the option and tripping over the bugs.
Fixes: 1e0fc9d1eb2b ("powerpc/Kconfig: Enable STRICT_KERNEL_RWX for some configs")
Cc: stable(a)vger.kernel.org # v4.13+
Signed-off-by: Michael Ellerman <mpe(a)ellerman.id.au>
Link: https://lore.kernel.org/r/20200520133605.972649-1-mpe@ellerman.id.au
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 924c541a9260..d13b5328ca10 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -130,7 +130,7 @@ config PPC
select ARCH_HAS_PTE_SPECIAL
select ARCH_HAS_MEMBARRIER_CALLBACKS
select ARCH_HAS_SCALED_CPUTIME if VIRT_CPU_ACCOUNTING_NATIVE && PPC_BOOK3S_64
- select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !HIBERNATION)
+ select ARCH_HAS_STRICT_KERNEL_RWX if (PPC32 && !HIBERNATION)
select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST
select ARCH_HAS_UACCESS_FLUSHCACHE
select ARCH_HAS_UACCESS_MCSAFE if PPC64
stable/linux-3.16.y build: 187 builds: 13 failed, 174 passed, 11 errors, 3981 warnings (v3.16.84)
Full Build Summary: https://kernelci.org/build/stable/branch/linux-3.16.y/kernel/v3.16.84/
Tree: stable
Branch: linux-3.16.y
Git Describe: v3.16.84
Git Commit: babf7e4a11200d94219dcebd64f50e6304bbde2e
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Built: 6 unique architectures
Build Failures Detected:
arc:
allnoconfig: (gcc-8) FAIL
fpga_defconfig: (gcc-8) FAIL
fpga_noramfs_defconfig: (gcc-8) FAIL
arm:
kzm9g_defconfig: (gcc-8) FAIL
mips:
cavium_octeon_defconfig: (gcc-8) FAIL
lemote2f_defconfig: (gcc-8) FAIL
malta_kvm_defconfig: (gcc-8) FAIL
nlm_xlp_defconfig: (gcc-8) FAIL
nlm_xlr_defconfig: (gcc-8) FAIL
rt305x_defconfig: (gcc-8) FAIL
sead3_defconfig: (gcc-8) FAIL
sead3micro_defconfig: (gcc-8) FAIL
xway_defconfig: (gcc-8) FAIL
Errors and Warnings Detected:
arc:
allnoconfig (gcc-8): 2 errors, 237 warnings
fpga_defconfig (gcc-8): 3 warnings
fpga_noramfs_defconfig (gcc-8): 2 errors, 8 warnings
arm64:
allnoconfig (gcc-8): 2 warnings
defconfig (gcc-8): 40 warnings
arm:
acs5k_defconfig (gcc-8): 7 warnings
acs5k_tiny_defconfig (gcc-8): 6 warnings
allnoconfig (gcc-8): 4 warnings
am200epdkit_defconfig (gcc-8): 12 warnings
ape6evm_defconfig (gcc-8): 29 warnings
armadillo800eva_defconfig (gcc-8): 5 warnings
assabet_defconfig (gcc-8): 9 warnings
at91_dt_defconfig (gcc-8): 6 warnings
at91rm9200_defconfig (gcc-8): 15 warnings
at91sam9260_9g20_defconfig (gcc-8): 13 warnings
at91sam9261_9g10_defconfig (gcc-8): 14 warnings
at91sam9263_defconfig (gcc-8): 12 warnings
at91sam9g45_defconfig (gcc-8): 5 warnings
at91sam9rl_defconfig (gcc-8): 8 warnings
at91x40_defconfig (gcc-8): 4 warnings
axm55xx_defconfig (gcc-8): 19 warnings
badge4_defconfig (gcc-8): 17 warnings
bcm2835_defconfig (gcc-8): 5 warnings
bcm_defconfig (gcc-8): 14 warnings
bockw_defconfig (gcc-8): 9 warnings
cerfcube_defconfig (gcc-8): 6 warnings
clps711x_defconfig (gcc-8): 10 warnings
cm_x2xx_defconfig (gcc-8): 14 warnings
cm_x300_defconfig (gcc-8): 16 warnings
cns3420vb_defconfig (gcc-8): 8 warnings
colibri_pxa270_defconfig (gcc-8): 19 warnings
colibri_pxa300_defconfig (gcc-8): 14 warnings
collie_defconfig (gcc-8): 5 warnings
corgi_defconfig (gcc-8): 20 warnings
davinci_all_defconfig (gcc-8): 13 warnings
dove_defconfig (gcc-8): 17 warnings
ebsa110_defconfig (gcc-8): 7 warnings
efm32_defconfig (gcc-8): 3 warnings
em_x270_defconfig (gcc-8): 15 warnings
ep93xx_defconfig (gcc-8): 8 warnings
eseries_pxa_defconfig (gcc-8): 17 warnings
exynos_defconfig (gcc-8): 18 warnings
ezx_defconfig (gcc-8): 17 warnings
footbridge_defconfig (gcc-8): 10 warnings
genmai_defconfig (gcc-8): 3 warnings
h3600_defconfig (gcc-8): 10 warnings
h5000_defconfig (gcc-8): 12 warnings
hackkit_defconfig (gcc-8): 6 warnings
hi3xxx_defconfig (gcc-8): 13 warnings
imote2_defconfig (gcc-8): 15 warnings
imx_v4_v5_defconfig (gcc-8): 32 warnings
imx_v6_v7_defconfig (gcc-8): 26 warnings
integrator_defconfig (gcc-8): 8 warnings
iop13xx_defconfig (gcc-8): 13 warnings
iop32x_defconfig (gcc-8): 13 warnings
iop33x_defconfig (gcc-8): 8 warnings
ixp4xx_defconfig (gcc-8): 8 warnings
jornada720_defconfig (gcc-8): 10 warnings
keystone_defconfig (gcc-8): 36 warnings
kirkwood_defconfig (gcc-8): 17 warnings
koelsch_defconfig (gcc-8): 4 warnings
ks8695_defconfig (gcc-8): 7 warnings
kzm9g_defconfig (gcc-8): 1 error, 9 warnings
lager_defconfig (gcc-8): 4 warnings
lart_defconfig (gcc-8): 11 warnings
lpc32xx_defconfig (gcc-8): 6 warnings
lpd270_defconfig (gcc-8): 6 warnings
lubbock_defconfig (gcc-8): 7 warnings
mackerel_defconfig (gcc-8): 16 warnings
magician_defconfig (gcc-8): 19 warnings
mainstone_defconfig (gcc-8): 6 warnings
marzen_defconfig (gcc-8): 10 warnings
mini2440_defconfig (gcc-8): 17 warnings
mmp2_defconfig (gcc-8): 9 warnings
moxart_defconfig (gcc-8): 7 warnings
msm_defconfig (gcc-8): 35 warnings
multi_v5_defconfig (gcc-8): 19 warnings
multi_v7_defconfig (gcc-8): 25 warnings
mv78xx0_defconfig (gcc-8): 34 warnings
mvebu_v5_defconfig (gcc-8): 18 warnings
mvebu_v7_defconfig (gcc-8): 17 warnings
mxs_defconfig (gcc-8): 36 warnings
neponset_defconfig (gcc-8): 8 warnings
netwinder_defconfig (gcc-8): 5 warnings
netx_defconfig (gcc-8): 12 warnings
nhk8815_defconfig (gcc-8): 17 warnings
nuc910_defconfig (gcc-8): 6 warnings
nuc950_defconfig (gcc-8): 6 warnings
nuc960_defconfig (gcc-8): 6 warnings
omap1_defconfig (gcc-8): 17 warnings
omap2plus_defconfig (gcc-8): 36 warnings
orion5x_defconfig (gcc-8): 16 warnings
palmz72_defconfig (gcc-8): 6 warnings
pcm027_defconfig (gcc-8): 8 warnings
pleb_defconfig (gcc-8): 6 warnings
prima2_defconfig (gcc-8): 9 warnings
pxa168_defconfig (gcc-8): 6 warnings
pxa255-idp_defconfig (gcc-8): 6 warnings
pxa3xx_defconfig (gcc-8): 6 warnings
pxa910_defconfig (gcc-8): 6 warnings
qcom_defconfig (gcc-8): 36 warnings
raumfeld_defconfig (gcc-8): 15 warnings
realview-smp_defconfig (gcc-8): 6 warnings
realview_defconfig (gcc-8): 6 warnings
rpc_defconfig (gcc-8): 9 warnings
s3c2410_defconfig (gcc-8): 21 warnings
s3c6400_defconfig (gcc-8): 6 warnings
s5p64x0_defconfig (gcc-8): 7 warnings
s5pc100_defconfig (gcc-8): 5 warnings
s5pv210_defconfig (gcc-8): 7 warnings
sama5_defconfig (gcc-8): 20 warnings
shannon_defconfig (gcc-8): 6 warnings
shmobile_defconfig (gcc-8): 5 warnings
simpad_defconfig (gcc-8): 16 warnings
socfpga_defconfig (gcc-8): 29 warnings
spear13xx_defconfig (gcc-8): 9 warnings
spear3xx_defconfig (gcc-8): 7 warnings
spear6xx_defconfig (gcc-8): 7 warnings
spitz_defconfig (gcc-8): 20 warnings
sunxi_defconfig (gcc-8): 11 warnings
tct_hammer_defconfig (gcc-8): 7 warnings
tegra_defconfig (gcc-8): 23 warnings
trizeps4_defconfig (gcc-8): 20 warnings
u300_defconfig (gcc-8): 7 warnings
u8500_defconfig (gcc-8): 19 warnings
versatile_defconfig (gcc-8): 6 warnings
vexpress_defconfig (gcc-8): 12 warnings
viper_defconfig (gcc-8): 14 warnings
vt8500_v6_v7_defconfig (gcc-8): 12 warnings
xcep_defconfig (gcc-8): 6 warnings
zeus_defconfig (gcc-8): 15 warnings
i386:
allnoconfig (gcc-8): 3 warnings
i386_defconfig (gcc-8): 5 warnings
mips:
allnoconfig (gcc-8): 28 warnings
ar7_defconfig (gcc-8): 29 warnings
ath79_defconfig (gcc-8): 31 warnings
bcm47xx_defconfig (gcc-8): 43 warnings
bcm63xx_defconfig (gcc-8): 28 warnings
bigsur_defconfig (gcc-8): 86 warnings
capcella_defconfig (gcc-8): 29 warnings
cavium_octeon_defconfig (gcc-8): 50 warnings
cobalt_defconfig (gcc-8): 29 warnings
db1xxx_defconfig (gcc-8): 29 warnings
decstation_defconfig (gcc-8): 29 warnings
e55_defconfig (gcc-8): 29 warnings
fuloong2e_defconfig (gcc-8): 59 warnings
gpr_defconfig (gcc-8): 29 warnings
ip22_defconfig (gcc-8): 30 warnings
ip27_defconfig (gcc-8): 73 warnings
ip28_defconfig (gcc-8): 51 warnings
ip32_defconfig (gcc-8): 59 warnings
jazz_defconfig (gcc-8): 29 warnings
jmr3927_defconfig (gcc-8): 28 warnings
lasat_defconfig (gcc-8): 28 warnings
lemote2f_defconfig (gcc-8): 1 error, 4 warnings
loongson3_defconfig (gcc-8): 329 warnings
ls1b_defconfig (gcc-8): 29 warnings
malta_defconfig (gcc-8): 31 warnings
malta_kvm_defconfig (gcc-8): 2 errors, 4 warnings
malta_kvm_guest_defconfig (gcc-8): 31 warnings
maltaaprp_defconfig (gcc-8): 31 warnings
maltasmvp_defconfig (gcc-8): 34 warnings
maltasmvp_eva_defconfig (gcc-8): 34 warnings
maltaup_defconfig (gcc-8): 31 warnings
markeins_defconfig (gcc-8): 29 warnings
mips_paravirt_defconfig (gcc-8): 50 warnings
mpc30x_defconfig (gcc-8): 29 warnings
msp71xx_defconfig (gcc-8): 31 warnings
mtx1_defconfig (gcc-8): 35 warnings
nlm_xlp_defconfig (gcc-8): 77 warnings
nlm_xlr_defconfig (gcc-8): 1 error, 2 warnings
pnx8335_stb225_defconfig (gcc-8): 31 warnings
qi_lb60_defconfig (gcc-8): 30 warnings
rb532_defconfig (gcc-8): 29 warnings
rbtx49xx_defconfig (gcc-8): 30 warnings
rm200_defconfig (gcc-8): 29 warnings
rt305x_defconfig (gcc-8): 31 warnings
sb1250_swarm_defconfig (gcc-8): 48 warnings
sead3_defconfig (gcc-8): 31 warnings
sead3micro_defconfig (gcc-8): 2 errors, 2 warnings
tb0219_defconfig (gcc-8): 29 warnings
tb0226_defconfig (gcc-8): 29 warnings
tb0287_defconfig (gcc-8): 29 warnings
workpad_defconfig (gcc-8): 29 warnings
xway_defconfig (gcc-8): 31 warnings
x86_64:
allnoconfig (gcc-8): 2 warnings
x86_64_defconfig (gcc-8): 63 warnings
Errors summary:
4 arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
2 include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
1 arch/mips/loongson/common/cs5536/cs5536_ohci.c:141:25: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
1 arch/mips/kernel/genex.S:234: Error: branch to a symbol in another ISA mode
1 arch/mips/kernel/genex.S:152: Error: branch to a symbol in another ISA mode
1 arch/mips/include/asm/netlogic/xlr/fmn.h:304:22: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
1 arch/arm/mach-shmobile/board-kzm9g.c:734:13: error: initializer element is not computable at load time
Warnings summary:
1008 arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
413 <stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
288 arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
129 fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
124 arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
119 lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
116 fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
114 cc1: warning: ‘-mno-mpy’ is deprecated
105 net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
67 drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
67 drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
56 include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
56 include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
50 crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
50 crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
46 drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
34 net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
31 fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
31 fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
28 fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
24 net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
20 include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
20 include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
14 net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
14 net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
14 net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
14 net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
14 include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
14 drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
12 net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
12 net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
12 net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
12 net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
12 net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
11 fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
6 drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
6 drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
6 drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
5 {standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
5 drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
4 fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
4 drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
4 drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
3 sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3 sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
3 drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3 drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
3 cc1: all warnings being treated as errors
2 {standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
2 {standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
2 mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
2 include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2 include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
2 fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
2 drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
2 drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
2 drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
2 drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
2 arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
2 arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
2 arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
2 arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
2 arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
1 {standard input}:900: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:2119: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1953: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1923: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1882: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1822: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1821: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1697: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1668: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1664: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1655: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1525: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1485: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1431: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1424: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1395: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1359: Warning: the `msa' extension requires 64-bit FPRs
1 {standard input}:1257: Warning: the `msa' extension requires 64-bit FPRs
1 net/caif/cfctrl.c:261:3: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation]
1 kernel/debug/kdb/kdb_support.c:132:4: warning: ‘memcpy’ accessing 396 bytes at offsets 0 and 4 overlaps 392 bytes at offset 4 [-Wrestrict]
1 drivers/video/fbdev/matrox/matroxfb_Ti3026.c:375:2: warning: ‘memcpy’ forming offset [22, 80] is out of the bounds [0, 21] of object ‘MGADACbpp32’ with type ‘const unsigned char[21]’ [-Warray-bounds]
1 drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 4 [-Wpacked-not-aligned]
1 drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 32 [-Wpacked-not-aligned]
1 drivers/scsi/pmcraid.h:1056:24: warning: ‘ioarcb’ offset 16 in ‘struct pmcraid_passthrough_ioctl_buffer’ isn’t aligned to 32 [-Wpacked-not-aligned]
1 drivers/net/wireless/rtlwifi/rtl8192cu/hw.c:1363:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
1 drivers/net/wireless/rtl818x/rtl8187/leds.c:149:2: warning: ‘strncpy’ specified bound 22 equals destination size [-Wstringop-truncation]
1 drivers/net/wireless/mwl8k.c:805:1: warning: alignment 1 of ‘struct mwl8k_dma_data’ is less than 2 [-Wpacked-not-aligned]
1 drivers/gpu/drm/i915/intel_tv.c:1422:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
1 cc1: warning: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch
1 arch/x86/power/hibernate_64.c:129:2: warning: ‘memcpy’ forming offset [2, 4096] is out of the bounds [0, 1] of object ‘core_restore_code’ with type ‘char’ [-Warray-bounds]
1 arch/x86/kernel/apic/apic.c:138:13: warning: ‘nox2apic’ defined but not used [-Wunused-variable]
================================================================================
Detailed per-defconfig build reports:
--------------------------------------------------------------------------------
acs5k_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
--------------------------------------------------------------------------------
acs5k_tiny_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
allnoconfig (arc, gcc-8) — FAIL, 2 errors, 237 warnings, 0 section mismatches
Errors:
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
cc1: warning: ‘-mno-mpy’ is deprecated
--------------------------------------------------------------------------------
allnoconfig (x86_64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
allnoconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
allnoconfig (arm64, gcc-8) — PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
allnoconfig (i386, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
--------------------------------------------------------------------------------
allnoconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
am200epdkit_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
ape6evm_defconfig (arm, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ar7_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
armadillo800eva_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
assabet_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
at91_dt_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c:1363:22: warning: bitwise comparison always evaluates to false [-Wtautological-compare]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91rm9200_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9260_9g20_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9261_9g10_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9263_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9g45_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91sam9rl_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
at91x40_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
ath79_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1359: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:900: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
axm55xx_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
badge4_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm2835_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
kernel/debug/kdb/kdb_support.c:132:4: warning: ‘memcpy’ accessing 396 bytes at offsets 0 and 4 overlaps 392 bytes at offset 4 [-Wrestrict]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm47xx_defconfig (mips, gcc-8) — PASS, 0 errors, 43 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
drivers/net/wireless/brcm80211/brcmsmac/d11.h:786:1: warning: alignment 1 of ‘struct d11txh’ is less than 2 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bcm63xx_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
bcm_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bigsur_defconfig (mips, gcc-8) — PASS, 0 errors, 86 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
bockw_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
capcella_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cavium_octeon_defconfig (mips, gcc-8) — FAIL, 0 errors, 50 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cerfcube_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
clps711x_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
cm_x2xx_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
cm_x300_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
cns3420vb_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
cobalt_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
colibri_pxa270_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
colibri_pxa300_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
collie_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
corgi_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
davinci_all_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
db1xxx_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
decstation_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
defconfig (arm64, gcc-8) — PASS, 0 errors, 40 warnings, 0 section mismatches
Warnings:
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
--------------------------------------------------------------------------------
dove_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
e55_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ebsa110_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
efm32_defconfig (arm, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
em_x270_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
ep93xx_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
eseries_pxa_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
exynos_defconfig (arm, gcc-8) — PASS, 0 errors, 18 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ezx_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/xfs/xfs_xattr.c:159:2: warning: ‘strncpy’ output may be truncated copying between 5 and 9 bytes from a string of length 9 [-Wstringop-truncation]
--------------------------------------------------------------------------------
footbridge_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
fpga_defconfig (arc, gcc-8) — FAIL, 0 errors, 3 warnings, 0 section mismatches
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
--------------------------------------------------------------------------------
fpga_noramfs_defconfig (arc, gcc-8) — FAIL, 2 errors, 8 warnings, 0 section mismatches
Errors:
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
arch/arc/include/asm/uaccess.h:676:2: error: impossible constraint in ‘asm’
Warnings:
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
arc-elf32-gcc: warning: ‘-mno-mpy’ is deprecated
mm/memory.c:581:7: warning: assignment to ‘pgtable_t’ {aka ‘long unsigned int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
include/linux/rbtree.h:85:11: warning: ‘rb_link’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/rbtree.h:82:28: warning: ‘rb_parent’ may be used uninitialized in this function [-Wmaybe-uninitialized]
mm/mmap.c:650:2: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized]
include/linux/kernel.h:716:17: warning: comparison of distinct pointer types lacks a cast
--------------------------------------------------------------------------------
fuloong2e_defconfig (mips, gcc-8) — PASS, 0 errors, 59 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
genmai_defconfig (arm, gcc-8) — PASS, 0 errors, 3 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
gpr_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
h3600_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
h5000_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
hackkit_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
hi3xxx_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
i386_defconfig (i386, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
arch/x86/kernel/apic/apic.c:138:13: warning: ‘nox2apic’ defined but not used [-Wunused-variable]
arch/x86/kernel/head_32.S:665: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:670: Warning: ignoring fill value in section `.bss..page_aligned'
arch/x86/kernel/head_32.S:672: Warning: ignoring fill value in section `.bss..page_aligned'
--------------------------------------------------------------------------------
imote2_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
imx_v4_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 32 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
imx_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 26 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/misc/eeprom/at25.c:311:2: warning: ‘strncpy’ specified bound 10 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
integrator_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/video/fbdev/matrox/matroxfb_Ti3026.c:375:2: warning: ‘memcpy’ forming offset [22, 80] is out of the bounds [0, 21] of object ‘MGADACbpp32’ with type ‘const unsigned char[21]’ [-Warray-bounds]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop32x_defconfig (arm, gcc-8) — PASS, 0 errors, 13 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
iop33x_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip22_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip27_defconfig (mips, gcc-8) — PASS, 0 errors, 73 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
drivers/net/wireless/mwl8k.c:805:1: warning: alignment 1 of ‘struct mwl8k_dma_data’ is less than 2 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 32 [-Wpacked-not-aligned]
drivers/scsi/pmcraid.h:1056:24: warning: ‘ioarcb’ offset 16 in ‘struct pmcraid_passthrough_ioctl_buffer’ isn’t aligned to 32 [-Wpacked-not-aligned]
drivers/scsi/pmcraid.h:1059:1: warning: alignment 1 of ‘struct pmcraid_passthrough_ioctl_buffer’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip28_defconfig (mips, gcc-8) — PASS, 0 errors, 51 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/ethernet/seeq/sgiseeq.c:804:26: warning: passing argument 5 of ‘dma_free_attrs’ makes pointer from integer without a cast [-Wint-conversion]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ip32_defconfig (mips, gcc-8) — PASS, 0 errors, 59 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ixp4xx_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
jazz_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
jmr3927_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
jornada720_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
keystone_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
kirkwood_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
koelsch_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ks8695_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/prism54/isl_ioctl.c:284:2: warning: ‘strncpy’ output may be truncated copying 16 bytes from a string of length 28 [-Wstringop-truncation]
--------------------------------------------------------------------------------
kzm9g_defconfig (arm, gcc-8) — FAIL, 1 error, 9 warnings, 0 section mismatches
Errors:
arch/arm/mach-shmobile/board-kzm9g.c:734:13: error: initializer element is not computable at load time
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
--------------------------------------------------------------------------------
lager_defconfig (arm, gcc-8) — PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lart_defconfig (arm, gcc-8) — PASS, 0 errors, 11 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
lasat_defconfig (mips, gcc-8) — PASS, 0 errors, 28 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
--------------------------------------------------------------------------------
lemote2f_defconfig (mips, gcc-8) — FAIL, 1 error, 4 warnings, 0 section mismatches
Errors:
arch/mips/loongson/common/cs5536/cs5536_ohci.c:141:25: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: all warnings being treated as errors
--------------------------------------------------------------------------------
loongson3_defconfig (mips, gcc-8) — PASS, 0 errors, 329 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lpc32xx_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lpd270_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
ls1b_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
lubbock_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
mackerel_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
include/linux/sh_intc.h:99:63: warning: division ‘sizeof (void *) / sizeof (void)’ does not compute the number of array elements [-Wsizeof-pointer-div]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
magician_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
mainstone_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
malta_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
malta_kvm_defconfig (mips, gcc-8) — FAIL, 2 errors, 4 warnings, 0 section mismatches
Errors:
include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
include/linux/kern_levels.h:4:18: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64’ {aka ‘long long unsigned int’} [-Werror=format=]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1498: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1953: Warning: the `msa' extension requires 64-bit FPRs
cc1: all warnings being treated as errors
--------------------------------------------------------------------------------
malta_kvm_guest_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1664: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltaaprp_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1697: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltasmvp_defconfig (mips, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1715: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltasmvp_eva_defconfig (mips, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1822: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/kernel/cps-vec.S:232: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:352: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/kernel/cps-vec.S:384: Warning: tried to set unrecognized symbol: MIPS_ISA_LEVEL_RAW
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
maltaup_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1462: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1668: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
markeins_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
marzen_defconfig (arm, gcc-8) — PASS, 0 errors, 10 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mini2440_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
--------------------------------------------------------------------------------
mips_paravirt_defconfig (mips, gcc-8) — PASS, 0 errors, 50 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mmp2_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
moxart_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mpc30x_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
msm_defconfig (arm, gcc-8) — PASS, 0 errors, 35 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
msp71xx_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1655: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1882: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mtx1_defconfig (mips, gcc-8) — PASS, 0 errors, 35 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2302:59: warning: ‘mix[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sound/pci/au88x0/au88x0_core.c:2303:58: warning: ‘src[0]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
multi_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
multi_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 25 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: warning: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/video/fbdev/mx3fb.c:748:2: warning: ‘strncpy’ output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mv78xx0_defconfig (arm, gcc-8) — PASS, 0 errors, 34 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
mvebu_v5_defconfig (arm, gcc-8) — PASS, 0 errors, 18 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mvebu_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
mxs_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
neponset_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
netwinder_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
netx_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
nhk8815_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/cifs/cifsencrypt.c:309:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
nlm_xlp_defconfig (mips, gcc-8) — FAIL, 0 errors, 77 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
nlm_xlr_defconfig (mips, gcc-8) — FAIL, 1 error, 2 warnings, 0 section mismatches
Errors:
arch/mips/include/asm/netlogic/xlr/fmn.h:304:22: error: bitwise comparison always evaluates to false [-Werror=tautological-compare]
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
cc1: all warnings being treated as errors
--------------------------------------------------------------------------------
nuc910_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
nuc950_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
nuc960_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
omap1_defconfig (arm, gcc-8) — PASS, 0 errors, 17 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
omap2plus_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
orion5x_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
palmz72_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pcm027_defconfig (arm, gcc-8) — PASS, 0 errors, 8 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pleb_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pnx8335_stb225_defconfig (mips, gcc-8) — PASS, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1485: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:2119: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
prima2_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa168_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa255-idp_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
pxa910_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
qcom_defconfig (arm, gcc-8) — PASS, 0 errors, 36 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
qi_lb60_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
raumfeld_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rb532_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rbtx49xx_defconfig (mips, gcc-8) — PASS, 0 errors, 30 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
realview-smp_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
realview_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rm200_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
rpc_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
--------------------------------------------------------------------------------
rt305x_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1431: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1257: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s3c2410_defconfig (arm, gcc-8) — PASS, 0 errors, 21 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_tgt_if.c:192:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
fs/udf/super.c:933:4: warning: ‘strncpy’ output may be truncated copying between 0 and 31 bytes from a string of length 253 [-Wstringop-truncation]
--------------------------------------------------------------------------------
s3c6400_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5p64x0_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5pc100_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
s5pv210_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sama5_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/rtl818x/rtl8187/leds.c:149:2: warning: ‘strncpy’ specified bound 22 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sb1250_swarm_defconfig (mips, gcc-8) — PASS, 0 errors, 48 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sead3_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1424: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1923: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
sead3micro_defconfig (mips, gcc-8) — FAIL, 2 errors, 2 warnings, 0 section mismatches
Errors:
arch/mips/kernel/genex.S:152: Error: branch to a symbol in another ISA mode
arch/mips/kernel/genex.S:234: Error: branch to a symbol in another ISA mode
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1395: Warning: the `msa' extension requires 64-bit FPRs
--------------------------------------------------------------------------------
shannon_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
shmobile_defconfig (arm, gcc-8) — PASS, 0 errors, 5 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
simpad_defconfig (arm, gcc-8) — PASS, 0 errors, 16 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
socfpga_defconfig (arm, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear13xx_defconfig (arm, gcc-8) — PASS, 0 errors, 9 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear3xx_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spear6xx_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
spitz_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
sunxi_defconfig (arm, gcc-8) — PASS, 0 errors, 11 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0219_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0226_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tb0287_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
tct_hammer_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
--------------------------------------------------------------------------------
tegra_defconfig (arm, gcc-8) — PASS, 0 errors, 23 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c:3598:2: warning: ‘strncpy’ output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
trizeps4_defconfig (arm, gcc-8) — PASS, 0 errors, 20 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/net/wireless/hostap/hostap_ioctl.c:3614:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
drivers/net/irda/irtty-sir.c:405:3: warning: ‘strncpy’ output may be truncated copying 5 bytes from a string of length 15 [-Wstringop-truncation]
net/irda/irlmp.c:870:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/irlmp.c:1107:2: warning: ‘strncpy’ output may be truncated copying 21 bytes from a string of length 64 [-Wstringop-truncation]
net/irda/af_irda.c:481:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
net/bluetooth/hidp/core.c:779:2: warning: ‘strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
net/irda/ircomm/ircomm_param.c:260:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
u300_defconfig (arm, gcc-8) — PASS, 0 errors, 7 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
u8500_defconfig (arm, gcc-8) — PASS, 0 errors, 19 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
net/caif/cfctrl.c:261:3: warning: ‘strncpy’ output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation]
drivers/mfd/db8500-prcmu.c:2721:2: warning: ‘strncpy’ specified bound 20 equals destination size [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
versatile_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
vexpress_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
viper_defconfig (arm, gcc-8) — PASS, 0 errors, 14 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
--------------------------------------------------------------------------------
vt8500_v6_v7_defconfig (arm, gcc-8) — PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
workpad_defconfig (mips, gcc-8) — PASS, 0 errors, 29 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
x86_64_defconfig (x86_64, gcc-8) — PASS, 0 errors, 63 warnings, 0 section mismatches
Warnings:
arch/x86/kernel/rtc.c:173:29: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:212:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:118:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:78:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:49:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:493:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:292:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:245:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:162:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
include/trace/events/writeback.h:564:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:310:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/ext4/super.c:314:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
arch/x86/power/hibernate_64.c:129:2: warning: ‘memcpy’ forming offset [2, 4096] is out of the bounds [0, 1] of object ‘core_restore_code’ with type ‘char’ [-Warray-bounds]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
include/uapi/linux/sctp.h:239:1: warning: alignment 4 of ‘struct sctp_paddr_change’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:513:1: warning: alignment 4 of ‘struct sctp_setpeerprim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:512:26: warning: ‘sspp_addr’ offset 4 in ‘struct sctp_setpeerprim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:526:1: warning: alignment 4 of ‘struct sctp_prim’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:525:26: warning: ‘ssp_addr’ offset 4 in ‘struct sctp_prim’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:573:1: warning: alignment 4 of ‘struct sctp_paddrparams’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:567:26: warning: ‘spp_address’ offset 4 in ‘struct sctp_paddrparams’ isn’t aligned to 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:680:1: warning: alignment 4 of ‘struct sctp_paddrinfo’ is less than 8 [-Wpacked-not-aligned]
include/uapi/linux/sctp.h:674:26: warning: ‘spinfo_address’ offset 4 in ‘struct sctp_paddrinfo’ isn’t aligned to 8 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/ipv4/ip_tunnel.c:312:3: warning: ‘strncat’ specified bound 2 equals source length [-Wstringop-overflow=]
drivers/gpu/drm/i915/intel_tv.c:1422:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
net/compat.c:548:1: warning: alignment 4 of ‘struct compat_group_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:546:35: warning: ‘gr_group’ offset 4 in ‘struct compat_group_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:552:35: warning: ‘gsr_group’ offset 4 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:556:1: warning: alignment 4 of ‘struct compat_group_source_req’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:554:35: warning: ‘gsr_source’ offset 132 in ‘struct compat_group_source_req’ isn’t aligned to 8 [-Wpacked-not-aligned]
net/compat.c:566:1: warning: alignment 4 of ‘struct compat_group_filter’ is less than 8 [-Wpacked-not-aligned]
net/compat.c:560:35: warning: ‘gf_group’ offset 4 in ‘struct compat_group_filter’ isn’t aligned to 8 [-Wpacked-not-aligned]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
drivers/video/hdmi.c:162:2: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
drivers/video/hdmi.c:163:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
--------------------------------------------------------------------------------
xcep_defconfig (arm, gcc-8) — PASS, 0 errors, 6 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
xway_defconfig (mips, gcc-8) — FAIL, 0 errors, 31 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
{standard input}:1525: Warning: the `msa' extension requires 64-bit FPRs
{standard input}:1821: Warning: the `msa' extension requires 64-bit FPRs
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:679:36: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
arch/mips/math-emu/cp1emu.c:684:14: warning: ‘~’ on a boolean expression [-Wbool-operation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
--------------------------------------------------------------------------------
zeus_defconfig (arm, gcc-8) — PASS, 0 errors, 15 warnings, 0 section mismatches
Warnings:
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/exec.c:1069:32: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
fs/kernfs/symlink.c:91:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
crypto/ablkcipher.c:384:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/ablkcipher.c:466:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/blkcipher.c:516:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:121:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
crypto/aead.c:206:2: warning: ‘strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
net/socket.c:490:4: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/base/regmap/regcache-rbtree.c:36:1: warning: alignment 1 of ‘struct regcache_rbtree_node’ is less than 4 [-Wpacked-not-aligned]
lib/kobject.c:130:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
<stdin>:1238:2: warning: #warning syscall seccomp not implemented [-Wcpp]
fs/configfs/symlink.c:67:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
drivers/scsi/scsi_devinfo.c:293:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
drivers/scsi/scsi_devinfo.c:304:4: warning: ‘strncpy’ output truncated copying between 0 and 16 bytes from a string of length 16 [-Wstringop-truncation]
---
For more info write to <info(a)kernelci.org>
This is a note to let you know that I've just added the patch titled
iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 13e945631c2ffb946c0af342812a3cd39227de6e Mon Sep 17 00:00:00 2001
From: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Date: Sun, 17 May 2020 18:30:00 +0100
Subject: iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
One of a class of bugs pointed out by Lars in a recent review.
iio_push_to_buffers_with_timestamp assumes the buffer used is aligned
to the size of the timestamp (8 bytes). This is not guaranteed in
this driver which uses an array of smaller elements on the stack.
As Lars also noted this anti pattern can involve a leak of data to
userspace and that indeed can happen here. We close both issues by
moving to a suitable structure in the iio_priv() data with alignment
explicitly requested. This data is allocated with kzalloc so no
data can leak appart from previous readings.
Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor")
Reported-by: Lars-Peter Clausen <lars(a)metafoo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Cc: <Stable(a)vger.kernel.org>
Acked-by: Tomasz Duszynski <tomasz.duszynski(a)octakon.com>
---
drivers/iio/chemical/pms7003.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/chemical/pms7003.c b/drivers/iio/chemical/pms7003.c
index 23c9ab252470..07bb90d72434 100644
--- a/drivers/iio/chemical/pms7003.c
+++ b/drivers/iio/chemical/pms7003.c
@@ -73,6 +73,11 @@ struct pms7003_state {
struct pms7003_frame frame;
struct completion frame_ready;
struct mutex lock; /* must be held whenever state gets touched */
+ /* Used to construct scan to push to the IIO buffer */
+ struct {
+ u16 data[3]; /* PM1, PM2P5, PM10 */
+ s64 ts;
+ } scan;
};
static int pms7003_do_cmd(struct pms7003_state *state, enum pms7003_cmd cmd)
@@ -104,7 +109,6 @@ static irqreturn_t pms7003_trigger_handler(int irq, void *p)
struct iio_dev *indio_dev = pf->indio_dev;
struct pms7003_state *state = iio_priv(indio_dev);
struct pms7003_frame *frame = &state->frame;
- u16 data[3 + 1 + 4]; /* PM1, PM2P5, PM10, padding, timestamp */
int ret;
mutex_lock(&state->lock);
@@ -114,12 +118,15 @@ static irqreturn_t pms7003_trigger_handler(int irq, void *p)
goto err;
}
- data[PM1] = pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET);
- data[PM2P5] = pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET);
- data[PM10] = pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET);
+ state->scan.data[PM1] =
+ pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET);
+ state->scan.data[PM2P5] =
+ pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET);
+ state->scan.data[PM10] =
+ pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET);
mutex_unlock(&state->lock);
- iio_push_to_buffers_with_timestamp(indio_dev, data,
+ iio_push_to_buffers_with_timestamp(indio_dev, &state->scan,
iio_get_time_ns(indio_dev));
err:
iio_trigger_notify_done(indio_dev->trig);
--
2.26.2
This is a note to let you know that I've just added the patch titled
iio:chemical:sps30: Fix timestamp alignment
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From a5bf6fdd19c327bcfd9073a8740fa19ca4525fd4 Mon Sep 17 00:00:00 2001
From: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Date: Sun, 17 May 2020 18:29:59 +0100
Subject: iio:chemical:sps30: Fix timestamp alignment
One of a class of bugs pointed out by Lars in a recent review.
iio_push_to_buffers_with_timestamp assumes the buffer used is aligned
to the size of the timestamp (8 bytes). This is not guaranteed in
this driver which uses an array of smaller elements on the stack.
Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Reported-by: Lars-Peter Clausen <lars(a)metafoo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Cc: <Stable(a)vger.kernel.org>
Acked-by: Tomasz Duszynski <tomasz.duszynski(a)octakon.com>
---
drivers/iio/chemical/sps30.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c
index acb9f8ecbb3d..a88c1fb875a0 100644
--- a/drivers/iio/chemical/sps30.c
+++ b/drivers/iio/chemical/sps30.c
@@ -230,15 +230,18 @@ static irqreturn_t sps30_trigger_handler(int irq, void *p)
struct iio_dev *indio_dev = pf->indio_dev;
struct sps30_state *state = iio_priv(indio_dev);
int ret;
- s32 data[4 + 2]; /* PM1, PM2P5, PM4, PM10, timestamp */
+ struct {
+ s32 data[4]; /* PM1, PM2P5, PM4, PM10 */
+ s64 ts;
+ } scan;
mutex_lock(&state->lock);
- ret = sps30_do_meas(state, data, 4);
+ ret = sps30_do_meas(state, scan.data, ARRAY_SIZE(scan.data));
mutex_unlock(&state->lock);
if (ret)
goto err;
- iio_push_to_buffers_with_timestamp(indio_dev, data,
+ iio_push_to_buffers_with_timestamp(indio_dev, &scan,
iio_get_time_ns(indio_dev));
err:
iio_trigger_notify_done(indio_dev->trig);
--
2.26.2
This is a note to let you know that I've just added the patch titled
iio: adc: stm32-adc: fix a wrong error message when probing
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-testing branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will be merged to the staging-next branch sometime soon,
after it passes testing, and the merge window is open.
If you have any questions about this process, please let me know.
>From 10134ec3f8cefa6a40fe84987f1795e9e0da9715 Mon Sep 17 00:00:00 2001
From: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Date: Tue, 12 May 2020 15:27:05 +0200
Subject: iio: adc: stm32-adc: fix a wrong error message when probing
interrupts
A wrong error message is printed out currently, like on STM32MP15:
- stm32-adc-core 48003000.adc: IRQ index 2 not found.
This is seen since commit 7723f4c5ecdb ("driver core: platform: Add an
error message to platform_get_irq*()").
The STM32 ADC core driver wrongly requests up to 3 interrupt lines. It
should request only the necessary IRQs, based on the compatible:
- stm32f4/h7 ADCs share a common interrupt
- stm32mp1, has one interrupt line per ADC.
So add the number of required interrupts to the compatible data.
Fixes: d58c67d1d851 ("iio: adc: stm32-adc: add support for STM32MP1")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
---
drivers/iio/adc/stm32-adc-core.c | 34 +++++++++++++-------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/drivers/iio/adc/stm32-adc-core.c b/drivers/iio/adc/stm32-adc-core.c
index 2df88d2b880a..0e2068ec068b 100644
--- a/drivers/iio/adc/stm32-adc-core.c
+++ b/drivers/iio/adc/stm32-adc-core.c
@@ -65,12 +65,14 @@ struct stm32_adc_priv;
* @clk_sel: clock selection routine
* @max_clk_rate_hz: maximum analog clock rate (Hz, from datasheet)
* @has_syscfg: SYSCFG capability flags
+ * @num_irqs: number of interrupt lines
*/
struct stm32_adc_priv_cfg {
const struct stm32_adc_common_regs *regs;
int (*clk_sel)(struct platform_device *, struct stm32_adc_priv *);
u32 max_clk_rate_hz;
unsigned int has_syscfg;
+ unsigned int num_irqs;
};
/**
@@ -375,21 +377,15 @@ static int stm32_adc_irq_probe(struct platform_device *pdev,
struct device_node *np = pdev->dev.of_node;
unsigned int i;
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
+ /*
+ * Interrupt(s) must be provided, depending on the compatible:
+ * - stm32f4/h7 shares a common interrupt line.
+ * - stm32mp1, has one line per ADC
+ */
+ for (i = 0; i < priv->cfg->num_irqs; i++) {
priv->irq[i] = platform_get_irq(pdev, i);
- if (priv->irq[i] < 0) {
- /*
- * At least one interrupt must be provided, make others
- * optional:
- * - stm32f4/h7 shares a common interrupt.
- * - stm32mp1, has one line per ADC (either for ADC1,
- * ADC2 or both).
- */
- if (i && priv->irq[i] == -ENXIO)
- continue;
-
+ if (priv->irq[i] < 0)
return priv->irq[i];
- }
}
priv->domain = irq_domain_add_simple(np, STM32_ADC_MAX_ADCS, 0,
@@ -400,9 +396,7 @@ static int stm32_adc_irq_probe(struct platform_device *pdev,
return -ENOMEM;
}
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
- if (priv->irq[i] < 0)
- continue;
+ for (i = 0; i < priv->cfg->num_irqs; i++) {
irq_set_chained_handler(priv->irq[i], stm32_adc_irq_handler);
irq_set_handler_data(priv->irq[i], priv);
}
@@ -420,11 +414,8 @@ static void stm32_adc_irq_remove(struct platform_device *pdev,
irq_dispose_mapping(irq_find_mapping(priv->domain, hwirq));
irq_domain_remove(priv->domain);
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
- if (priv->irq[i] < 0)
- continue;
+ for (i = 0; i < priv->cfg->num_irqs; i++)
irq_set_chained_handler(priv->irq[i], NULL);
- }
}
static int stm32_adc_core_switches_supply_en(struct stm32_adc_priv *priv,
@@ -817,6 +808,7 @@ static const struct stm32_adc_priv_cfg stm32f4_adc_priv_cfg = {
.regs = &stm32f4_adc_common_regs,
.clk_sel = stm32f4_adc_clk_sel,
.max_clk_rate_hz = 36000000,
+ .num_irqs = 1,
};
static const struct stm32_adc_priv_cfg stm32h7_adc_priv_cfg = {
@@ -824,6 +816,7 @@ static const struct stm32_adc_priv_cfg stm32h7_adc_priv_cfg = {
.clk_sel = stm32h7_adc_clk_sel,
.max_clk_rate_hz = 36000000,
.has_syscfg = HAS_VBOOSTER,
+ .num_irqs = 1,
};
static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = {
@@ -831,6 +824,7 @@ static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = {
.clk_sel = stm32h7_adc_clk_sel,
.max_clk_rate_hz = 40000000,
.has_syscfg = HAS_VBOOSTER | HAS_ANASWVDD,
+ .num_irqs = 2,
};
static const struct of_device_id stm32_adc_of_match[] = {
--
2.26.2
This is a note to let you know that I've just added the patch titled
iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 13e945631c2ffb946c0af342812a3cd39227de6e Mon Sep 17 00:00:00 2001
From: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Date: Sun, 17 May 2020 18:30:00 +0100
Subject: iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
One of a class of bugs pointed out by Lars in a recent review.
iio_push_to_buffers_with_timestamp assumes the buffer used is aligned
to the size of the timestamp (8 bytes). This is not guaranteed in
this driver which uses an array of smaller elements on the stack.
As Lars also noted this anti pattern can involve a leak of data to
userspace and that indeed can happen here. We close both issues by
moving to a suitable structure in the iio_priv() data with alignment
explicitly requested. This data is allocated with kzalloc so no
data can leak appart from previous readings.
Fixes: a1d642266c14 ("iio: chemical: add support for Plantower PMS7003 sensor")
Reported-by: Lars-Peter Clausen <lars(a)metafoo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Cc: <Stable(a)vger.kernel.org>
Acked-by: Tomasz Duszynski <tomasz.duszynski(a)octakon.com>
---
drivers/iio/chemical/pms7003.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/chemical/pms7003.c b/drivers/iio/chemical/pms7003.c
index 23c9ab252470..07bb90d72434 100644
--- a/drivers/iio/chemical/pms7003.c
+++ b/drivers/iio/chemical/pms7003.c
@@ -73,6 +73,11 @@ struct pms7003_state {
struct pms7003_frame frame;
struct completion frame_ready;
struct mutex lock; /* must be held whenever state gets touched */
+ /* Used to construct scan to push to the IIO buffer */
+ struct {
+ u16 data[3]; /* PM1, PM2P5, PM10 */
+ s64 ts;
+ } scan;
};
static int pms7003_do_cmd(struct pms7003_state *state, enum pms7003_cmd cmd)
@@ -104,7 +109,6 @@ static irqreturn_t pms7003_trigger_handler(int irq, void *p)
struct iio_dev *indio_dev = pf->indio_dev;
struct pms7003_state *state = iio_priv(indio_dev);
struct pms7003_frame *frame = &state->frame;
- u16 data[3 + 1 + 4]; /* PM1, PM2P5, PM10, padding, timestamp */
int ret;
mutex_lock(&state->lock);
@@ -114,12 +118,15 @@ static irqreturn_t pms7003_trigger_handler(int irq, void *p)
goto err;
}
- data[PM1] = pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET);
- data[PM2P5] = pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET);
- data[PM10] = pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET);
+ state->scan.data[PM1] =
+ pms7003_get_pm(frame->data + PMS7003_PM1_OFFSET);
+ state->scan.data[PM2P5] =
+ pms7003_get_pm(frame->data + PMS7003_PM2P5_OFFSET);
+ state->scan.data[PM10] =
+ pms7003_get_pm(frame->data + PMS7003_PM10_OFFSET);
mutex_unlock(&state->lock);
- iio_push_to_buffers_with_timestamp(indio_dev, data,
+ iio_push_to_buffers_with_timestamp(indio_dev, &state->scan,
iio_get_time_ns(indio_dev));
err:
iio_trigger_notify_done(indio_dev->trig);
--
2.26.2
This is a note to let you know that I've just added the patch titled
iio:chemical:sps30: Fix timestamp alignment
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From a5bf6fdd19c327bcfd9073a8740fa19ca4525fd4 Mon Sep 17 00:00:00 2001
From: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Date: Sun, 17 May 2020 18:29:59 +0100
Subject: iio:chemical:sps30: Fix timestamp alignment
One of a class of bugs pointed out by Lars in a recent review.
iio_push_to_buffers_with_timestamp assumes the buffer used is aligned
to the size of the timestamp (8 bytes). This is not guaranteed in
this driver which uses an array of smaller elements on the stack.
Fixes: 232e0f6ddeae ("iio: chemical: add support for Sensirion SPS30 sensor")
Reported-by: Lars-Peter Clausen <lars(a)metafoo.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
Cc: <Stable(a)vger.kernel.org>
Acked-by: Tomasz Duszynski <tomasz.duszynski(a)octakon.com>
---
drivers/iio/chemical/sps30.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/iio/chemical/sps30.c b/drivers/iio/chemical/sps30.c
index acb9f8ecbb3d..a88c1fb875a0 100644
--- a/drivers/iio/chemical/sps30.c
+++ b/drivers/iio/chemical/sps30.c
@@ -230,15 +230,18 @@ static irqreturn_t sps30_trigger_handler(int irq, void *p)
struct iio_dev *indio_dev = pf->indio_dev;
struct sps30_state *state = iio_priv(indio_dev);
int ret;
- s32 data[4 + 2]; /* PM1, PM2P5, PM4, PM10, timestamp */
+ struct {
+ s32 data[4]; /* PM1, PM2P5, PM4, PM10 */
+ s64 ts;
+ } scan;
mutex_lock(&state->lock);
- ret = sps30_do_meas(state, data, 4);
+ ret = sps30_do_meas(state, scan.data, ARRAY_SIZE(scan.data));
mutex_unlock(&state->lock);
if (ret)
goto err;
- iio_push_to_buffers_with_timestamp(indio_dev, data,
+ iio_push_to_buffers_with_timestamp(indio_dev, &scan,
iio_get_time_ns(indio_dev));
err:
iio_trigger_notify_done(indio_dev->trig);
--
2.26.2
This is a note to let you know that I've just added the patch titled
iio: adc: stm32-adc: fix a wrong error message when probing
to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-next branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release
during the merge window.
If you have any questions about this process, please let me know.
>From 10134ec3f8cefa6a40fe84987f1795e9e0da9715 Mon Sep 17 00:00:00 2001
From: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Date: Tue, 12 May 2020 15:27:05 +0200
Subject: iio: adc: stm32-adc: fix a wrong error message when probing
interrupts
A wrong error message is printed out currently, like on STM32MP15:
- stm32-adc-core 48003000.adc: IRQ index 2 not found.
This is seen since commit 7723f4c5ecdb ("driver core: platform: Add an
error message to platform_get_irq*()").
The STM32 ADC core driver wrongly requests up to 3 interrupt lines. It
should request only the necessary IRQs, based on the compatible:
- stm32f4/h7 ADCs share a common interrupt
- stm32mp1, has one interrupt line per ADC.
So add the number of required interrupts to the compatible data.
Fixes: d58c67d1d851 ("iio: adc: stm32-adc: add support for STM32MP1")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier(a)st.com>
Cc: <Stable(a)vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron(a)huawei.com>
---
drivers/iio/adc/stm32-adc-core.c | 34 +++++++++++++-------------------
1 file changed, 14 insertions(+), 20 deletions(-)
diff --git a/drivers/iio/adc/stm32-adc-core.c b/drivers/iio/adc/stm32-adc-core.c
index 2df88d2b880a..0e2068ec068b 100644
--- a/drivers/iio/adc/stm32-adc-core.c
+++ b/drivers/iio/adc/stm32-adc-core.c
@@ -65,12 +65,14 @@ struct stm32_adc_priv;
* @clk_sel: clock selection routine
* @max_clk_rate_hz: maximum analog clock rate (Hz, from datasheet)
* @has_syscfg: SYSCFG capability flags
+ * @num_irqs: number of interrupt lines
*/
struct stm32_adc_priv_cfg {
const struct stm32_adc_common_regs *regs;
int (*clk_sel)(struct platform_device *, struct stm32_adc_priv *);
u32 max_clk_rate_hz;
unsigned int has_syscfg;
+ unsigned int num_irqs;
};
/**
@@ -375,21 +377,15 @@ static int stm32_adc_irq_probe(struct platform_device *pdev,
struct device_node *np = pdev->dev.of_node;
unsigned int i;
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
+ /*
+ * Interrupt(s) must be provided, depending on the compatible:
+ * - stm32f4/h7 shares a common interrupt line.
+ * - stm32mp1, has one line per ADC
+ */
+ for (i = 0; i < priv->cfg->num_irqs; i++) {
priv->irq[i] = platform_get_irq(pdev, i);
- if (priv->irq[i] < 0) {
- /*
- * At least one interrupt must be provided, make others
- * optional:
- * - stm32f4/h7 shares a common interrupt.
- * - stm32mp1, has one line per ADC (either for ADC1,
- * ADC2 or both).
- */
- if (i && priv->irq[i] == -ENXIO)
- continue;
-
+ if (priv->irq[i] < 0)
return priv->irq[i];
- }
}
priv->domain = irq_domain_add_simple(np, STM32_ADC_MAX_ADCS, 0,
@@ -400,9 +396,7 @@ static int stm32_adc_irq_probe(struct platform_device *pdev,
return -ENOMEM;
}
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
- if (priv->irq[i] < 0)
- continue;
+ for (i = 0; i < priv->cfg->num_irqs; i++) {
irq_set_chained_handler(priv->irq[i], stm32_adc_irq_handler);
irq_set_handler_data(priv->irq[i], priv);
}
@@ -420,11 +414,8 @@ static void stm32_adc_irq_remove(struct platform_device *pdev,
irq_dispose_mapping(irq_find_mapping(priv->domain, hwirq));
irq_domain_remove(priv->domain);
- for (i = 0; i < STM32_ADC_MAX_ADCS; i++) {
- if (priv->irq[i] < 0)
- continue;
+ for (i = 0; i < priv->cfg->num_irqs; i++)
irq_set_chained_handler(priv->irq[i], NULL);
- }
}
static int stm32_adc_core_switches_supply_en(struct stm32_adc_priv *priv,
@@ -817,6 +808,7 @@ static const struct stm32_adc_priv_cfg stm32f4_adc_priv_cfg = {
.regs = &stm32f4_adc_common_regs,
.clk_sel = stm32f4_adc_clk_sel,
.max_clk_rate_hz = 36000000,
+ .num_irqs = 1,
};
static const struct stm32_adc_priv_cfg stm32h7_adc_priv_cfg = {
@@ -824,6 +816,7 @@ static const struct stm32_adc_priv_cfg stm32h7_adc_priv_cfg = {
.clk_sel = stm32h7_adc_clk_sel,
.max_clk_rate_hz = 36000000,
.has_syscfg = HAS_VBOOSTER,
+ .num_irqs = 1,
};
static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = {
@@ -831,6 +824,7 @@ static const struct stm32_adc_priv_cfg stm32mp1_adc_priv_cfg = {
.clk_sel = stm32h7_adc_clk_sel,
.max_clk_rate_hz = 40000000,
.has_syscfg = HAS_VBOOSTER | HAS_ANASWVDD,
+ .num_irqs = 2,
};
static const struct of_device_id stm32_adc_of_match[] = {
--
2.26.2
On Fri, May 22, 2020 at 07:43:08PM +0200, Oscar Carter wrote:
> Hi,
>
> On Wed, May 20, 2020 at 03:16:24PM +0900, Takashi Sakamoto wrote:
> > Hi,
> >
> > I'm an author of ALSA firewire stack and thanks for the patch. I agree with
> > your intention to remove the cast of function callback toward CFI build.
> >
> > Practically, the isochronous context with FW_ISO_CONTEXT_RECEIVE_MULTICHANNEL
> > is never used by in-kernel drivers. Here, I propose to leave current
> > kernel API (fw_iso_context_create() with fw_iso_callback_t) as is.
If it's not used by anyone, why is it still there? Can't we just delete
it?
thanks,
greg k-h
From: Xing Li <lixing(a)loongson.cn>
If a CPU support more than 32bit vmbits (which is true for 64bit CPUs),
VPN2_MASK set to fixed 0xffffe000 will lead to a wrong EntryHi in some
functions such as _kvm_mips_host_tlb_inv().
The cpu_vmbits definition of 32bit CPU in cpu-features.h is 31, so we
still use the old definition.
Cc: Stable <stable(a)vger.kernel.org>
Reviewed-by: Aleksandar Markovic <aleksandar.qemu.devel(a)gmail.com>
Signed-off-by: Xing Li <lixing(a)loongson.cn>
[Huacai: Improve commit messages]
Signed-off-by: Huacai Chen <chenhc(a)lemote.com>
---
arch/mips/include/asm/kvm_host.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm_host.h
index a01cee9..caa2b936 100644
--- a/arch/mips/include/asm/kvm_host.h
+++ b/arch/mips/include/asm/kvm_host.h
@@ -274,7 +274,11 @@ enum emulation_result {
#define MIPS3_PG_SHIFT 6
#define MIPS3_PG_FRAME 0x3fffffc0
+#if defined(CONFIG_64BIT)
+#define VPN2_MASK GENMASK(cpu_vmbits - 1, 13)
+#else
#define VPN2_MASK 0xffffe000
+#endif
#define KVM_ENTRYHI_ASID cpu_asid_mask(&boot_cpu_data)
#define TLB_IS_GLOBAL(x) ((x).tlb_lo[0] & (x).tlb_lo[1] & ENTRYLO_G)
#define TLB_VPN2(x) ((x).tlb_hi & VPN2_MASK)
--
2.7.0
On Fri, May 22, 2020 at 07:43:08PM +0200, Oscar Carter wrote:
> Hi,
>
> On Wed, May 20, 2020 at 03:16:24PM +0900, Takashi Sakamoto wrote:
> > Hi,
> >
> > I'm an author of ALSA firewire stack and thanks for the patch. I agree with
> > your intention to remove the cast of function callback toward CFI build.
> >
> > Practically, the isochronous context with FW_ISO_CONTEXT_RECEIVE_MULTICHANNEL
> > is never used by in-kernel drivers. Here, I propose to leave current
> > kernel API (fw_iso_context_create() with fw_iso_callback_t) as is.
If it's not used by anyone, why is it still there? Can't we just delete
it?
thanks,
greg k-h
From: Arnd Bergmann <arnd(a)arndb.de>
Subject: sh: include linux/time_types.h for sockios
Using the socket ioctls on arch/sh (and only there) causes build time
problems when __kernel_old_timeval/__kernel_old_timespec are not already
visible to the compiler.
Add an explict include line for the header that defines these
structures.
Link: http://lkml.kernel.org/r/20200519131327.1836482-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
Reported-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Fixes: 8c709f9a0693 ("y2038: sh: remove timeval/timespec usage from headers")
Fixes: 0768e17073dc ("net: socket: implement 64-bit timestamps")
Cc: Yoshinori Sato <ysato(a)users.sourceforge.jp>
Cc: Rich Felker <dalias(a)libc.org>
Cc: "David S. Miller" <davem(a)davemloft.net>
Cc: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sh/include/uapi/asm/sockios.h | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/sh/include/uapi/asm/sockios.h~sh-include-linux-time_typesh-for-sockios
+++ a/arch/sh/include/uapi/asm/sockios.h
@@ -2,6 +2,8 @@
#ifndef __ASM_SH_SOCKIOS_H
#define __ASM_SH_SOCKIOS_H
+#include <linux/time_types.h>
+
/* Socket-level I/O control calls. */
#define FIOGETOWN _IOR('f', 123, int)
#define FIOSETOWN _IOW('f', 124, int)
_
From: John Hubbard <jhubbard(a)nvidia.com>
Subject: rapidio: fix an error in get_user_pages_fast() error handling
In the case of get_user_pages_fast() returning fewer pages than requested,
rio_dma_transfer() does not quite do the right thing. It attempts to
release all the pages that were requested, rather than just the pages that
were pinned.
Fix the error handling so that only the pages that were successfully
pinned are released.
Link: http://lkml.kernel.org/r/20200517235620.205225-2-jhubbard@nvidia.com
Fixes: e8de370188d0 ("rapidio: add mport char device driver")
Signed-off-by: John Hubbard <jhubbard(a)nvidia.com>
Reviewed-by: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Matt Porter <mporter(a)kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9(a)gmail.com>
Cc: Sumit Semwal <sumit.semwal(a)linaro.org>
Cc: Dan Carpenter <dan.carpenter(a)oracle.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
drivers/rapidio/devices/rio_mport_cdev.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/drivers/rapidio/devices/rio_mport_cdev.c~rapidio-fix-an-error-in-get_user_pages_fast-error-handling
+++ a/drivers/rapidio/devices/rio_mport_cdev.c
@@ -877,6 +877,11 @@ rio_dma_transfer(struct file *filp, u32
rmcd_error("pinned %ld out of %ld pages",
pinned, nr_pages);
ret = -EFAULT;
+ /*
+ * Set nr_pages up to mean "how many pages to unpin, in
+ * the error handler:
+ */
+ nr_pages = pinned;
goto err_pg;
}
_
From: David Hildenbrand <david(a)redhat.com>
Subject: device-dax: don't leak kernel memory to user space after unloading kmem
Assume we have kmem configured and loaded:
[root@localhost ~]# cat /proc/iomem
...
140000000-33fffffff : Persistent Memory$
140000000-1481fffff : namespace0.0
150000000-33fffffff : dax0.0
150000000-33fffffff : System RAM
Assume we try to unload kmem. This force-unloading will work, even if
memory cannot get removed from the system.
[root@localhost ~]# rmmod kmem
[ 86.380228] removing memory fails, because memory [0x0000000150000000-0x0000000157ffffff] is onlined
...
[ 86.431225] kmem dax0.0: DAX region [mem 0x150000000-0x33fffffff] cannot be hotremoved until the next reboot
Now, we can reconfigure the namespace:
[root@localhost ~]# ndctl create-namespace --force --reconfig=namespace0.0 --mode=devdax
[ 131.409351] nd_pmem namespace0.0: could not reserve region [mem 0x140000000-0x33fffffff]dax
[ 131.410147] nd_pmem: probe of namespace0.0 failed with error -16namespace0.0 --mode=devdax
...
This fails as expected due to the busy memory resource, and the memory
cannot be used. However, the dax0.0 device is removed, and along its name.
The name of the memory resource now points at freed memory (name of the
device).
[root@localhost ~]# cat /proc/iomem
...
140000000-33fffffff : Persistent Memory
140000000-1481fffff : namespace0.0
150000000-33fffffff : �_�^7_��/_��wR��WQ���^��� ...
150000000-33fffffff : System RAM
We have to make sure to duplicate the string. While at it, remove the
superfluous setting of the name and fixup a stale comment.
Link: http://lkml.kernel.org/r/20200508084217.9160-2-david@redhat.com
Fixes: 9f960da72b25 ("device-dax: "Hotremove" persistent memory that is used like normal RAM")
Signed-off-by: David Hildenbrand <david(a)redhat.com>
Cc: Dan Williams <dan.j.williams(a)intel.com>
Cc: Vishal Verma <vishal.l.verma(a)intel.com>
Cc: Dave Jiang <dave.jiang(a)intel.com>
Cc: Pavel Tatashin <pasha.tatashin(a)soleen.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: <stable(a)vger.kernel.org> [5.3]
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
drivers/dax/kmem.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
--- a/drivers/dax/kmem.c~device-dax-dont-leak-kernel-memory-to-user-space-after-unloading-kmem
+++ a/drivers/dax/kmem.c
@@ -22,6 +22,7 @@ int dev_dax_kmem_probe(struct device *de
resource_size_t kmem_size;
resource_size_t kmem_end;
struct resource *new_res;
+ const char *new_res_name;
int numa_node;
int rc;
@@ -48,11 +49,16 @@ int dev_dax_kmem_probe(struct device *de
kmem_size &= ~(memory_block_size_bytes() - 1);
kmem_end = kmem_start + kmem_size;
- /* Region is permanently reserved. Hot-remove not yet implemented. */
- new_res = request_mem_region(kmem_start, kmem_size, dev_name(dev));
+ new_res_name = kstrdup(dev_name(dev), GFP_KERNEL);
+ if (!new_res_name)
+ return -ENOMEM;
+
+ /* Region is permanently reserved if hotremove fails. */
+ new_res = request_mem_region(kmem_start, kmem_size, new_res_name);
if (!new_res) {
dev_warn(dev, "could not reserve region [%pa-%pa]\n",
&kmem_start, &kmem_end);
+ kfree(new_res_name);
return -EBUSY;
}
@@ -63,12 +69,12 @@ int dev_dax_kmem_probe(struct device *de
* unknown to us that will break add_memory() below.
*/
new_res->flags = IORESOURCE_SYSTEM_RAM;
- new_res->name = dev_name(dev);
rc = add_memory(numa_node, new_res->start, resource_size(new_res));
if (rc) {
release_resource(new_res);
kfree(new_res);
+ kfree(new_res_name);
return rc;
}
dev_dax->dax_kmem_res = new_res;
@@ -83,6 +89,7 @@ static int dev_dax_kmem_remove(struct de
struct resource *res = dev_dax->dax_kmem_res;
resource_size_t kmem_start = res->start;
resource_size_t kmem_size = resource_size(res);
+ const char *res_name = res->name;
int rc;
/*
@@ -102,6 +109,7 @@ static int dev_dax_kmem_remove(struct de
/* Release and free dax resources */
release_resource(res);
kfree(res);
+ kfree(res_name);
dev_dax->dax_kmem_res = NULL;
return 0;
_
From: Kai-Heng Feng <kai.heng.feng(a)canonical.com>
igb device gets runtime suspended when there's no link partner. We can't
get correct speed under that state:
$ cat /sys/class/net/enp3s0/speed
1000
In addition to that, an error can also be spotted in dmesg:
[ 385.991957] igb 0000:03:00.0 enp3s0: PCIe link lost
Since device can only be runtime suspended when there's no link partner,
we can skip reading register and let the following logic set speed and
duplex with correct status.
The more generic approach will be wrap get_link_ksettings() with begin()
and complete() callbacks. However, for this particular issue, begin()
calls igb_runtime_resume() , which tries to rtnl_lock() while the lock
is already hold by upper ethtool layer.
So let's take this approach until the igb_runtime_resume() no longer
needs to hold rtnl_lock.
CC: stable <stable(a)vger.kernel.org>
Suggested-by: Alexander Duyck <alexander.duyck(a)gmail.com>
Signed-off-by: Kai-Heng Feng <kai.heng.feng(a)canonical.com>
Tested-by: Aaron Brown <aaron.f.brown(a)intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher(a)intel.com>
---
drivers/net/ethernet/intel/igb/igb_ethtool.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c
index 39d3b76a6f5d..2cd003c5ad43 100644
--- a/drivers/net/ethernet/intel/igb/igb_ethtool.c
+++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c
@@ -143,7 +143,8 @@ static int igb_get_link_ksettings(struct net_device *netdev,
u32 speed;
u32 supported, advertising;
- status = rd32(E1000_STATUS);
+ status = pm_runtime_suspended(&adapter->pdev->dev) ?
+ 0 : rd32(E1000_STATUS);
if (hw->phy.media_type == e1000_media_type_copper) {
supported = (SUPPORTED_10baseT_Half |
--
2.26.2
On a modern Linux distro, compiling the following program fails:
#include<stdlib.h>
#include<stdint.h>
#include<pthread.h>
#include<linux/sched/types.h>
void main() {
struct sched_attr sa;
return;
}
with:
/usr/include/linux/sched/types.h:8:8: \
error: redefinition of ‘struct sched_param’
8 | struct sched_param {
| ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:74,
from /usr/include/sched.h:43,
from /usr/include/pthread.h:23,
from /tmp/s.c:4:
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h:23:8:
note: originally defined here
23 | struct sched_param
| ^~~~~~~~~~~
This is also causing a problem on using sched_attr Chrome. The issue is
sched_param is already provided by glibc.
Guard the kernel's UAPI definition of sched_param with __KERNEL__ so
that userspace can compile.
Signed-off-by: Joel Fernandes (Google) <joel(a)joelfernandes.org>
---
include/uapi/linux/sched/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/sched/types.h b/include/uapi/linux/sched/types.h
index c852153ddb0d3..1f10d935a63fe 100644
--- a/include/uapi/linux/sched/types.h
+++ b/include/uapi/linux/sched/types.h
@@ -4,9 +4,11 @@
#include <linux/types.h>
+#if defined(__KERNEL__)
struct sched_param {
int sched_priority;
};
+#endif
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */
--
2.26.2.761.g0e0b3e54be-goog
From: Bob Peterson <rpeterso(a)redhat.com>
[ Upstream commit c9cb9e381985bbbe8acd2695bbe6bd24bf06b81c ]
Before this patch, function gfs2_quota_unlock checked if quotas are
turned off, and if so, it branched to label out, which called
gfs2_quota_unhold. With the new system of gfs2_qa_get and put, we
no longer want to call gfs2_quota_unhold or we won't balance our
gets and puts.
Signed-off-by: Bob Peterson <rpeterso(a)redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba(a)redhat.com>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
fs/gfs2/quota.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index 3a31226531ea..4af00ed4960a 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -1080,7 +1080,7 @@ void gfs2_quota_unlock(struct gfs2_inode *ip)
int found;
if (!test_and_clear_bit(GIF_QD_LOCKED, &ip->i_flags))
- goto out;
+ return;
for (x = 0; x < ip->i_res->rs_qa_qd_num; x++) {
struct gfs2_quota_data *qd;
@@ -1117,7 +1117,6 @@ void gfs2_quota_unlock(struct gfs2_inode *ip)
qd_unlock(qda[x]);
}
-out:
gfs2_quota_unhold(ip);
}
--
2.25.1
From: Stephen Warren <swarren(a)nvidia.com>
[ Upstream commit 0cf253eed5d2bdf7bb3152457b38f39b012955f7 ]
The driver currently leaves GPIO IRQs unmasked even when the GPIO IRQ
client has released the GPIO IRQ. This allows the HW to raise IRQs, and
SW to process them, after shutdown. Fix this by masking the IRQ when it's
shut down. This is usually taken care of by the irqchip core, but since
this driver has a custom irq_shutdown implementation, it must do this
explicitly itself.
Signed-off-by: Stephen Warren <swarren(a)nvidia.com>
Link: https://lore.kernel.org/r/20200427232605.11608-1-swarren@wwwdotorg.org
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
drivers/gpio/gpio-tegra.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 05d3241ad20b..9d763557a105 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -341,6 +341,7 @@ static void tegra_gpio_irq_shutdown(struct irq_data *d)
struct tegra_gpio_info *tgi = bank->tgi;
int gpio = d->hwirq;
+ tegra_gpio_irq_mask(d);
gpiochip_unlock_as_irq(&tgi->gc, gpio);
}
--
2.25.1
From: Johan Jonker <jbx6244(a)gmail.com>
[ Upstream commit 287e0d538fcec2f6e8eb1e565bf0749f3b90186d ]
A test with the command below gives for example this error:
arch/arm/boot/dts/rk3228-evb.dt.yaml: phy@0:
'#phy-cells' is a required property
The phy nodename is normally used by a phy-handle.
This node is however compatible with
"ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"
which is just been added to 'ethernet-phy.yaml'.
So change nodename to 'ethernet-phy' for which '#phy-cells'
is not a required property
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/
phy/phy-provider.yaml
Signed-off-by: Johan Jonker <jbx6244(a)gmail.com>
Signed-off-by: Heiko Stuebner <heiko(a)sntech.de>
Link: https://lore.kernel.org/r/20200416170321.4216-1-jbx6244@gmail.com
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arm/boot/dts/rk3228-evb.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts
index 1be9daacc4f9..b69c842d8306 100644
--- a/arch/arm/boot/dts/rk3228-evb.dts
+++ b/arch/arm/boot/dts/rk3228-evb.dts
@@ -84,7 +84,7 @@
#address-cells = <1>;
#size-cells = <0>;
- phy: phy@0 {
+ phy: ethernet-phy@0 {
compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
reg = <0>;
clocks = <&cru SCLK_MAC_PHY>;
--
2.25.1
From: Johan Jonker <jbx6244(a)gmail.com>
[ Upstream commit 287e0d538fcec2f6e8eb1e565bf0749f3b90186d ]
A test with the command below gives for example this error:
arch/arm/boot/dts/rk3228-evb.dt.yaml: phy@0:
'#phy-cells' is a required property
The phy nodename is normally used by a phy-handle.
This node is however compatible with
"ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22"
which is just been added to 'ethernet-phy.yaml'.
So change nodename to 'ethernet-phy' for which '#phy-cells'
is not a required property
make ARCH=arm dtbs_check
DT_SCHEMA_FILES=~/.local/lib/python3.5/site-packages/dtschema/schemas/
phy/phy-provider.yaml
Signed-off-by: Johan Jonker <jbx6244(a)gmail.com>
Signed-off-by: Heiko Stuebner <heiko(a)sntech.de>
Link: https://lore.kernel.org/r/20200416170321.4216-1-jbx6244@gmail.com
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
arch/arm/boot/dts/rk3228-evb.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts
index 5670b33fd1bd..aed879db6c15 100644
--- a/arch/arm/boot/dts/rk3228-evb.dts
+++ b/arch/arm/boot/dts/rk3228-evb.dts
@@ -46,7 +46,7 @@
#address-cells = <1>;
#size-cells = <0>;
- phy: phy@0 {
+ phy: ethernet-phy@0 {
compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
reg = <0>;
clocks = <&cru SCLK_MAC_PHY>;
--
2.25.1
On a modern Linux distro, compiling the following program fails:
#include<stdlib.h>
#include<stdint.h>
#include<pthread.h>
#include<linux/sched/types.h>
void main() {
struct sched_attr sa;
return;
}
with:
/usr/include/linux/sched/types.h:8:8: \
error: redefinition of ‘struct sched_param’
8 | struct sched_param {
| ^~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/sched.h:74,
from /usr/include/sched.h:43,
from /usr/include/pthread.h:23,
from /tmp/s.c:4:
/usr/include/x86_64-linux-gnu/bits/types/struct_sched_param.h:23:8:
note: originally defined here
23 | struct sched_param
| ^~~~~~~~~~~
This is also causing a problem with using sched_attr in Chrome. The issue is
struct sched_param is already provided by glibc and is in POSIX.
Guard the kernel's UAPI definition of sched_param with __KERNEL__ so
that userspace and the kernel can both compile.
Signed-off-by: Joel Fernandes (Google) <joel(a)joelfernandes.org>
---
v1->v2:
With the chance that libc needs resolving something, I'm resending with
libc-alpha added as suggested by Christian, and minor commit message fixes.
include/uapi/linux/sched/types.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/uapi/linux/sched/types.h b/include/uapi/linux/sched/types.h
index c852153ddb0d3..1f10d935a63fe 100644
--- a/include/uapi/linux/sched/types.h
+++ b/include/uapi/linux/sched/types.h
@@ -4,9 +4,11 @@
#include <linux/types.h>
+#if defined(__KERNEL__)
struct sched_param {
int sched_priority;
};
+#endif
#define SCHED_ATTR_SIZE_VER0 48 /* sizeof first published struct */
#define SCHED_ATTR_SIZE_VER1 56 /* add: util_{min,max} */
--
2.26.2.761.g0e0b3e54be-goog
Hi Greg.
This is for 4.9.
This is a follow-up to "fix l2tp use-after-free in pppol2tp_sendmsg"
for 4.14. Pulling on the thread pulled in many other earlier locking
fixes in between 4.9 and 4.14.
I've done some minor rework on a few of these to avoid pulling in
refcount as a replacement for atomic which would have meant 10+ more
patches (I still had compilation errors at 10).
Some minor other patch commutation was needed and where it wasn't
completely trivial, I've added a note to the commit messages.
The series does include a few non-fixes, but they look safe and mean
that the fixes (and other backports) apply more cleanly.
Regards,
Giuliano.
Asbjørn Sloth Tønnesen (3):
net: l2tp: export debug flags to UAPI
net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_*
net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_*
Guillaume Nault (17):
l2tp: remove useless duplicate session detection in l2tp_netlink
l2tp: remove l2tp_session_find()
l2tp: define parameters of l2tp_session_get*() as "const"
l2tp: define parameters of l2tp_tunnel_find*() as "const"
l2tp: initialise session's refcount before making it reachable
l2tp: hold tunnel while looking up sessions in l2tp_netlink
l2tp: hold tunnel while processing genl delete command
l2tp: hold tunnel while handling genl tunnel updates
l2tp: hold tunnel while handling genl TUNNEL_GET commands
l2tp: hold tunnel used while creating sessions with netlink
l2tp: prevent creation of sessions on terminated tunnels
l2tp: pass tunnel pointer to ->session_create()
l2tp: fix l2tp_eth module loading
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
R. Parameswaran (2):
New kernel function to get IP overhead on a socket.
L2TP:Adjust intf MTU, add underlay L3, L2 hdrs.
Documentation/networking/l2tp.txt | 8 +-
include/linux/net.h | 3 +
include/uapi/linux/if_pppol2tp.h | 13 +-
include/uapi/linux/l2tp.h | 17 +-
net/l2tp/l2tp_core.c | 174 ++++++-----------
net/l2tp/l2tp_core.h | 46 +++--
net/l2tp/l2tp_eth.c | 214 +++++++++++++--------
net/l2tp/l2tp_netlink.c | 79 ++++----
net/l2tp/l2tp_ppp.c | 309 ++++++++++++++++++------------
net/socket.c | 46 +++++
10 files changed, 516 insertions(+), 393 deletions(-)
--
2.26.2.761.g0e0b3e54be-goog
Hi Greg.
This is for 4.14.
We received a PoC (code to run as root with a KASAN kernel)
demonstrating the existence of a use-after-free in pppol2tp_sendmsg.
This was accompanied by a patch to resolve it, consisting mostly of
parts of patch 3 plus a little of 4.
The following patches all apply cleanly and compile with allmodconfig.
However, I lack the hardware to test them.
The changes are already in 4.19. I'll post the changes for 4.9 next.
Regards,
Giuliano.
Guillaume Nault (4):
l2tp: don't register sessions in l2tp_session_create()
l2tp: initialise l2tp_eth sessions before registering them
l2tp: protect sock pointer of struct pppol2tp_session with RCU
l2tp: initialise PPP sessions before registering them
net/l2tp/l2tp_core.c | 21 ++--
net/l2tp/l2tp_core.h | 3 +
net/l2tp/l2tp_eth.c | 99 +++++++++++++-----
net/l2tp/l2tp_ppp.c | 238 +++++++++++++++++++++++++++----------------
4 files changed, 238 insertions(+), 123 deletions(-)
--
2.26.2.761.g0e0b3e54be-goog
Please pick this fix for all stable branches:
commit 1413ef638abae4ab5621901cf4d8ef08a4a48ba6
Author: Kevin Hao <haokexin(a)gmail.com>
Date: Fri Oct 11 23:00:14 2019 +0800
i2c: dev: Fix the race between the release of i2c_dev and cdev
I don't know whether it will apply cleanly to all of them; I can deal
with those where it doesn't.
Ben.
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom
This is a note to let you know that I've just added the patch titled
misc: rtsx: Add short delay after exit from ASPM
to my char-misc git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git
in the char-misc-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 7a839dbab1be59f5ed3b3b046de29e166784c9b4 Mon Sep 17 00:00:00 2001
From: Klaus Doth <kdlnx(a)doth.eu>
Date: Fri, 22 May 2020 12:56:04 +0200
Subject: misc: rtsx: Add short delay after exit from ASPM
DMA transfers to and from the SD card stall for 10 seconds and run into
timeout on RTS5260 card readers after ASPM was enabled.
Adding a short msleep after disabling ASPM fixes the issue on several
Dell Precision 7530/7540 systems I tested.
This function is only called when waking up after the chip went into
power-save after not transferring data for a few seconds. The added
msleep does therefore not change anything in data transfer speed or
induce any excessive waiting while data transfers are running, or the
chip is sleeping. Only the transition from sleep to active is affected.
Signed-off-by: Klaus Doth <kdlnx(a)doth.eu>
Cc: stable <stable(a)vger.kernel.org>
Link: https://lore.kernel.org/r/4434eaa7-2ee3-a560-faee-6cee63ebd6d4@doth.eu
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/misc/cardreader/rtsx_pcr.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/misc/cardreader/rtsx_pcr.c b/drivers/misc/cardreader/rtsx_pcr.c
index 06038b325b02..55da6428ceb0 100644
--- a/drivers/misc/cardreader/rtsx_pcr.c
+++ b/drivers/misc/cardreader/rtsx_pcr.c
@@ -142,6 +142,9 @@ static void rtsx_comm_pm_full_on(struct rtsx_pcr *pcr)
rtsx_disable_aspm(pcr);
+ /* Fixes DMA transfer timout issue after disabling ASPM on RTS5260 */
+ msleep(1);
+
if (option->ltr_enabled)
rtsx_set_ltr_latency(pcr, option->ltr_active_latency);
--
2.26.2
I hope you are doing great?
This is Felix from Toronto-Canada. I have a lucrative business
offer that will benefit us both immensely within a very short
period of time. However, I need your initial approval of interest
prior to further and complete details regarding the deal.
Thanks,
Felix.
From: Eric Biggers <ebiggers(a)google.com>
'igrab(d_inode(dentry->d_parent))' without holding dentry->d_lock is
broken because without d_lock, d_parent can be concurrently changed due
to a rename(). Then if the old directory is immediately deleted, old
d_parent->inode can be NULL. That causes a NULL dereference in igrab().
To fix this, use dget_parent() to safely grab a reference to the parent
dentry, which pins the inode. This also eliminates the need to use
d_find_any_alias() other than for the initial inode, as we no longer
throw away the dentry at each step.
This is an extremely hard race to hit, but it is possible. Adding a
udelay() in between the reads of ->d_parent and its ->d_inode makes it
reproducible on a no-journal filesystem using the following program:
#include <fcntl.h>
#include <unistd.h>
int main()
{
if (fork()) {
for (;;) {
mkdir("dir1", 0700);
int fd = open("dir1/file", O_RDWR|O_CREAT|O_SYNC);
write(fd, "X", 1);
close(fd);
}
} else {
mkdir("dir2", 0700);
for (;;) {
rename("dir1/file", "dir2/file");
rmdir("dir1");
}
}
}
Fixes: d59729f4e794 ("ext4: fix races in ext4_sync_parent()")
Cc: stable(a)vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers(a)google.com>
---
fs/ext4/fsync.c | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
index e10206e7f4bbe7..093c359952cdba 100644
--- a/fs/ext4/fsync.c
+++ b/fs/ext4/fsync.c
@@ -44,30 +44,28 @@
*/
static int ext4_sync_parent(struct inode *inode)
{
- struct dentry *dentry = NULL;
- struct inode *next;
+ struct dentry *dentry, *next;
int ret = 0;
if (!ext4_test_inode_state(inode, EXT4_STATE_NEWENTRY))
return 0;
- inode = igrab(inode);
+ dentry = d_find_any_alias(inode);
+ if (!dentry)
+ return 0;
while (ext4_test_inode_state(inode, EXT4_STATE_NEWENTRY)) {
ext4_clear_inode_state(inode, EXT4_STATE_NEWENTRY);
- dentry = d_find_any_alias(inode);
- if (!dentry)
- break;
- next = igrab(d_inode(dentry->d_parent));
+
+ next = dget_parent(dentry);
dput(dentry);
- if (!next)
- break;
- iput(inode);
- inode = next;
+ dentry = next;
+ inode = dentry->d_inode;
+
/*
* The directory inode may have gone through rmdir by now. But
* the inode itself and its blocks are still allocated (we hold
- * a reference to the inode so it didn't go through
- * ext4_evict_inode()) and so we are safe to flush metadata
- * blocks and the inode.
+ * a reference to the inode via its dentry), so it didn't go
+ * through ext4_evict_inode()) and so we are safe to flush
+ * metadata blocks and the inode.
*/
ret = sync_mapping_buffers(inode->i_mapping);
if (ret)
@@ -76,7 +74,7 @@ static int ext4_sync_parent(struct inode *inode)
if (ret)
break;
}
- iput(inode);
+ dput(dentry);
return ret;
}
--
2.26.2
From: Mathias Krause <minipli(a)googlemail.com>
[ Upstream commit 1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 ]
The parallel queue per-cpu data structure gets initialized only for CPUs
in the 'pcpu' CPU mask set. This is not sufficient as the reorder timer
may run on a different CPU and might wrongly decide it's the target CPU
for the next reorder item as per-cpu memory gets memset(0) and we might
be waiting for the first CPU in cpumask.pcpu, i.e. cpu_index 0.
Make the '__this_cpu_read(pd->pqueue->cpu_index) == next_queue->cpu_index'
compare in padata_get_next() fail in this case by initializing the
cpu_index member of all per-cpu parallel queues. Use -1 for unused ones.
Signed-off-by: Mathias Krause <minipli(a)googlemail.com>
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
Signed-off-by: Daniel Jordan <daniel.m.jordan(a)oracle.com>
---
kernel/padata.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/kernel/padata.c b/kernel/padata.c
index 8aef48c3267b..4f860043a8e5 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -461,8 +461,14 @@ static void padata_init_pqueues(struct parallel_data *pd)
struct padata_parallel_queue *pqueue;
cpu_index = 0;
- for_each_cpu(cpu, pd->cpumask.pcpu) {
+ for_each_possible_cpu(cpu) {
pqueue = per_cpu_ptr(pd->pqueue, cpu);
+
+ if (!cpumask_test_cpu(cpu, pd->cpumask.pcpu)) {
+ pqueue->cpu_index = -1;
+ continue;
+ }
+
pqueue->pd = pd;
pqueue->cpu_index = cpu_index;
cpu_index++;
--
2.26.2
Changes since v2 [1]:
- Replace the non-descriptive copy_safe() with copy_mc_to_user() and
copy_mc_to_kernel() several code organization cleanups resulted from
this rename, which further proves the point that the name deeply
matters for maintainability in this case. (Linus)
- Do not use copy_user_generic() as the generic x86 backend for
copy_mc_to_user() since the #MC handler explicitly wants the exception
to be trapped by a _ASM_EXTABLE_FAULT handler. (Vivek).
- Rename copy_safe_slow() to copy_mc_fragile() to better indicate what
the implementation is handling. copy_safe_fast() is replaced with
copy_mc_generic().
---
The primary motivation to go touch memcpy_mcsafe() is that the existing
benefit of doing slow "handle with care" copies is obviated on newer
CPUs. With that concern lifted it also obviates the need to continue to
update the MCA-recovery capability detection code currently gated by
"mcsafe_key". Now the old "mcsafe_key" opt-in to perform the copy with
concerns for recovery fragility can instead be made an opt-out from the
default fast copy implementation (enable_copy_mc_fragile()).
The discussion with Linus on the first iteration of this patch
identified that memcpy_mcsafe() was misnamed relative to its usage. The
new names copy_mc_to_user() and copy_mc_to_kernel() clearly indicate the
intended use case and lets the architecture organize the implementation
accordingly.
For both powerpc and x86 a copy_mc_generic() implementation is added as
the backend for these interfaces.
Patches are relative to tip/master.
---
Dan Williams (2):
x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user,kernel}()
x86/copy_mc: Introduce copy_mc_generic()
arch/powerpc/Kconfig | 2
arch/powerpc/include/asm/string.h | 2
arch/powerpc/include/asm/uaccess.h | 40 +++--
arch/powerpc/lib/Makefile | 2
arch/powerpc/lib/copy_mc_64.S | 4
arch/x86/Kconfig | 2
arch/x86/Kconfig.debug | 2
arch/x86/include/asm/copy_mc_test.h | 75 +++++++++
arch/x86/include/asm/mcsafe_test.h | 75 ---------
arch/x86/include/asm/string_64.h | 32 ----
arch/x86/include/asm/uaccess_64.h | 35 ++--
arch/x86/kernel/cpu/mce/core.c | 8 -
arch/x86/kernel/quirks.c | 9 -
arch/x86/lib/Makefile | 1
arch/x86/lib/copy_mc.c | 64 ++++++++
arch/x86/lib/copy_mc_64.S | 165 ++++++++++++++++++++
arch/x86/lib/memcpy_64.S | 115 --------------
arch/x86/lib/usercopy_64.c | 21 ---
drivers/md/dm-writecache.c | 15 +-
drivers/nvdimm/claim.c | 2
drivers/nvdimm/pmem.c | 6 -
include/linux/string.h | 9 -
include/linux/uaccess.h | 9 +
include/linux/uio.h | 10 +
lib/Kconfig | 7 +
lib/iov_iter.c | 43 +++--
tools/arch/x86/include/asm/copy_safe_test.h | 13 ++
tools/arch/x86/include/asm/mcsafe_test.h | 13 --
tools/arch/x86/lib/memcpy_64.S | 115 --------------
tools/objtool/check.c | 5 -
tools/perf/bench/Build | 1
tools/perf/bench/mem-memcpy-x86-64-lib.c | 24 ---
tools/testing/nvdimm/test/nfit.c | 48 +++---
.../testing/selftests/powerpc/copyloops/.gitignore | 2
tools/testing/selftests/powerpc/copyloops/Makefile | 6 -
.../testing/selftests/powerpc/copyloops/copy_mc.S | 0
36 files changed, 460 insertions(+), 522 deletions(-)
rename arch/powerpc/lib/{memcpy_mcsafe_64.S => copy_mc_64.S} (98%)
create mode 100644 arch/x86/include/asm/copy_mc_test.h
delete mode 100644 arch/x86/include/asm/mcsafe_test.h
create mode 100644 arch/x86/lib/copy_mc.c
create mode 100644 arch/x86/lib/copy_mc_64.S
create mode 100644 tools/arch/x86/include/asm/copy_safe_test.h
delete mode 100644 tools/arch/x86/include/asm/mcsafe_test.h
delete mode 100644 tools/perf/bench/mem-memcpy-x86-64-lib.c
rename tools/testing/selftests/powerpc/copyloops/{memcpy_mcsafe_64.S => copy_mc.S} (100%)
base-commit: bba413deb1065f1291cb1f366247513f11215520
When reserved transaction handle is unused, we subtract its reserved
credits in __jbd2_journal_unreserve_handle() called from
jbd2_journal_stop(). However this function forgets to remove reserved
credits from transaction->t_outstanding_credits and thus the transaction
space that was reserved remains effectively leaked. The leaked
transaction space can be quite significant in some cases and leads to
unnecessarily small transactions and thus reducing throughput of the
journalling machinery. E.g. fsmark workload creating lots of 4k files
was observed to have about 20% lower throughput due to this when ext4 is
mounted with dioread_nolock mount option.
Subtract reserved credits from t_outstanding_credits as well.
CC: stable(a)vger.kernel.org
Fixes: 8f7d89f36829 ("jbd2: transaction reservation support")
Signed-off-by: Jan Kara <jack(a)suse.cz>
---
fs/jbd2/transaction.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 3dccc23cf010..b49a103cff1f 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -541,17 +541,24 @@ handle_t *jbd2_journal_start(journal_t *journal, int nblocks)
}
EXPORT_SYMBOL(jbd2_journal_start);
-static void __jbd2_journal_unreserve_handle(handle_t *handle)
+static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t)
{
journal_t *journal = handle->h_journal;
WARN_ON(!handle->h_reserved);
sub_reserved_credits(journal, handle->h_total_credits);
+ if (t)
+ atomic_sub(handle->h_total_credits, &t->t_outstanding_credits);
}
void jbd2_journal_free_reserved(handle_t *handle)
{
- __jbd2_journal_unreserve_handle(handle);
+ journal_t *journal = handle->h_journal;
+
+ /* Get j_state_lock to pin running transaction if it exists */
+ read_lock(&journal->j_state_lock);
+ __jbd2_journal_unreserve_handle(handle, journal->j_running_transaction);
+ read_unlock(&journal->j_state_lock);
jbd2_free_handle(handle);
}
EXPORT_SYMBOL(jbd2_journal_free_reserved);
@@ -721,8 +728,10 @@ static void stop_this_handle(handle_t *handle)
}
atomic_sub(handle->h_total_credits,
&transaction->t_outstanding_credits);
- if (handle->h_rsv_handle)
- __jbd2_journal_unreserve_handle(handle->h_rsv_handle);
+ if (handle->h_rsv_handle) {
+ __jbd2_journal_unreserve_handle(handle->h_rsv_handle,
+ transaction);
+ }
if (atomic_dec_and_test(&transaction->t_updates))
wake_up(&journal->j_wait_updates);
--
2.16.4
When using mmap() on a prime imported buffer allocated by a
different driver (such as imx-drm) the later munmap() does
not correctly decrement the refcount of the original enaviv_gem_object,
leading to a leak.
Signed-off-by: Martin Fuzzey <martin.fuzzey(a)flowbird.group>
Cc: stable(a)vger.kernel.org
---
drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c b/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
index f24dd21..28a01b8 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
@@ -93,7 +93,25 @@ static void *etnaviv_gem_prime_vmap_impl(struct etnaviv_gem_object *etnaviv_obj)
static int etnaviv_gem_prime_mmap_obj(struct etnaviv_gem_object *etnaviv_obj,
struct vm_area_struct *vma)
{
- return dma_buf_mmap(etnaviv_obj->base.dma_buf, vma, 0);
+ int ret;
+
+ ret = dma_buf_mmap(etnaviv_obj->base.dma_buf, vma, 0);
+
+ /* drm_gem_mmap_obj() has already been called before this function
+ * and has incremented our refcount, expecting it to be decremented
+ * on unmap() via drm_gem_vm_close().
+ * However dma_buf_mmap() invokes drm_gem_cma_prime_mmap()
+ * that ends up updating the vma->vma_private_data to point to the
+ * dma_buf's gem object.
+ * Hence our gem object here will not have its refcount decremented
+ * when userspace does unmap().
+ * So decrement the refcount here to avoid a memory leak if the dma
+ * buf mapping was successful.
+ */
+ if (!ret)
+ drm_gem_object_put_unlocked(&etnaviv_obj->base);
+
+ return ret;
}
static const struct etnaviv_gem_ops etnaviv_gem_prime_ops = {
--
1.9.1
Hi
[This is an automated email]
This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: 4.4+
The bot has tested the following trees: v5.6.13, v5.4.41, v4.19.123, v4.14.180, v4.9.223, v4.4.223.
v5.6.13: Failed to apply! Possible dependencies:
0024652895e3 ("btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_root")
02162a0265eb ("btrfs: hold a ref on the root in __btrfs_run_defrag_inode")
04734e844894 ("btrfs: hold a ref on the root in btrfs_ioctl_get_subvol_info")
0b530bc5e11f ("btrfs: hold a ref on the root in build_backref_tree")
0d4b0463011d ("btrfs: export and rename free_fs_info")
2a2b5d620266 ("btrfs: hold ref on root in btrfs_ioctl_default_subvol")
3ca35e839e94 ("btrfs: hold a ref on the root in search_ioctl")
3d7babdcf2cc ("btrfs: hold a ref on the root in find_data_references")
41a2ee75aab0 ("btrfs: introduce per-inode file extent tree")
442b1ac5244e ("btrfs: hold a ref on the root in record_reloc_root_in_trans")
4c78e9f59632 ("btrfs: hold a ref on the root in open_ctree")
76deacf02387 ("btrfs: hold a ref on the root in create_reloc_inode")
81f096edf047 ("btrfs: use btrfs_put_fs_root to free roots always")
8727002f7909 ("btrfs: hold a ref on the root in fixup_tree_root_location")
88234012beaa ("btrfs: hold a ref on the root in btrfs_search_path_in_tree")
9326f76f4bc4 ("btrfs: hold a ref on the root in resolve_indirect_ref")
9f583209f20a ("btrfs: push grab_fs_root into read_fs_root")
ab9737bd7597 ("btrfs: hold a ref on the root in merge_reloc_roots")
b8a49ae1913f ("btrfs: hold a ref on the root in btrfs_search_path_in_tree_user")
bc44d7c4b2b1 ("btrfs: push btrfs_grab_fs_root into btrfs_get_fs_root")
bdf70b9e75f5 ("btrfs: hold a root ref in btrfs_get_dentry")
db2c2ca2db44 ("btrfs: hold a ref on the root in prepare_to_merge")
fc92f79856aa ("btrfs: hold a ref on the root in create_subvol")
v5.4.41: Failed to apply! Possible dependencies:
0024652895e3 ("btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_root")
0d4b0463011d ("btrfs: export and rename free_fs_info")
33ca832fefa5 ("btrfs: separate out the extent leak code")
41a2ee75aab0 ("btrfs: introduce per-inode file extent tree")
6f0d04f8e72e ("btrfs: separate out the extent io init function")
81f096edf047 ("btrfs: use btrfs_put_fs_root to free roots always")
9326f76f4bc4 ("btrfs: hold a ref on the root in resolve_indirect_ref")
9c7d3a548331 ("btrfs: move extent_io_tree defs to their own header")
v4.19.123: Failed to apply! Possible dependencies:
370a11b8114b ("btrfs: qgroup: Introduce per-root swapped blocks infrastructure")
43eb5f297584 ("btrfs: Introduce extent_io_tree::owner to distinguish different io_trees")
57ec5fb478a3 ("btrfs: tests: move testing members of struct btrfs_root to the end")
7b4397386fbd ("btrfs: switch extent_io_tree::track_uptodate to bool")
c258d6e36442 ("btrfs: Introduce fs_info to extent_io_tree")
e06a1fc99cc7 ("btrfs: Remove extent_io_ops::set_bit_hook extent_io callback")
eede2bf34f4f ("Btrfs: prevent ioctls from interfering with a swap file")
v4.14.180: Failed to apply! Possible dependencies:
370a11b8114b ("btrfs: qgroup: Introduce per-root swapped blocks infrastructure")
429d6275d501 ("btrfs: qgroup: Fix wrong qgroup reservation update for relationship modification")
57ec5fb478a3 ("btrfs: tests: move testing members of struct btrfs_root to the end")
64cfaef6362f ("btrfs: qgroup: Introduce function to convert META_PREALLOC into META_PERTRANS")
64ee4e751a1c ("btrfs: qgroup: Update trace events to use new separate rsv types")
733e03a0b26a ("btrfs: qgroup: Split meta rsv type into meta_prealloc and meta_pertrans")
8287475a2055 ("btrfs: qgroup: Use root::qgroup_meta_rsv_* to record qgroup meta reserved space")
d4e5c92055d8 ("btrfs: qgroup: Skeleton to support separate qgroup reservation type")
dba213242fbc ("btrfs: qgroup: Make qgroup_reserve and its callers to use separate reservation type")
e1211d0e896b ("btrfs: qgroup: Don't use root->qgroup_meta_rsv for qgroup")
eede2bf34f4f ("Btrfs: prevent ioctls from interfering with a swap file")
f59c0347d4be ("btrfs: qgroup: Introduce helpers to update and access new qgroup rsv")
fd708b81d972 ("Btrfs: add a extent ref verify tool")
v4.9.223: Failed to apply! Possible dependencies:
0c476a5d7f63 ("btrfs: Ensure proper sector alignment for btrfs_free_reserved_data_space")
370a11b8114b ("btrfs: qgroup: Introduce per-root swapped blocks infrastructure")
4989d277eb4b ("btrfs: refactor __btrfs_lookup_bio_sums to use bio_for_each_segment_all")
62d1f9fe97dd ("btrfs: remove trivial helper btrfs_find_tree_block")
da17066c4047 ("btrfs: pull node/sector/stripe sizes out of root and into fs_info")
eede2bf34f4f ("Btrfs: prevent ioctls from interfering with a swap file")
fd708b81d972 ("Btrfs: add a extent ref verify tool")
v4.4.223: Failed to apply! Possible dependencies:
2f3165ecf103 ("btrfs: don't force mounts to wait for cleaner_kthread to delete one or more subvolumes")
370a11b8114b ("btrfs: qgroup: Introduce per-root swapped blocks infrastructure")
511711af91f2 ("btrfs: don't run delayed references while we are creating the free space tree")
70f6d82ec73c ("Btrfs: add free space tree mount option")
87241c2e6845 ("Btrfs: use root when checking need_async_flush")
90c711ab380d ("btrfs: avoid blocking open_ctree from cleaner_kthread")
9e7cc91a6d18 ("btrfs: fix fsfreeze hang caused by delayed iputs deal")
a5ed91828518 ("Btrfs: implement the free space B-tree")
afcdd129e05a ("Btrfs: add a flags field to btrfs_fs_info")
d38b349c39a9 ("Btrfs: don't bother kicking async if there's nothing to reclaim")
eede2bf34f4f ("Btrfs: prevent ioctls from interfering with a swap file")
f376df2b7da3 ("Btrfs: add tracepoints for flush events")
NOTE: The patch will not be queued to stable trees until it is upstream.
How should we proceed with this patch?
--
Thanks
Sasha
From: Herbert Xu <herbert(a)gondor.apana.org.au>
[ Upstream commit 6fc4dbcf0276279d488c5fbbfabe94734134f4fa ]
The function padata_reorder will use a timer when it cannot progress
while completed jobs are outstanding (pd->reorder_objects > 0). This
is suboptimal as if we do end up using the timer then it would have
introduced a gratuitous delay of one second.
In fact we can easily distinguish between whether completed jobs
are outstanding and whether we can make progress. All we have to
do is look at the next pqueue list.
This patch does that by replacing pd->processed with pd->cpu so
that the next pqueue is more accessible.
A work queue is used instead of the original try_again to avoid
hogging the CPU.
Note that we don't bother removing the work queue in
padata_flush_queues because the whole premise is broken. You
cannot flush async crypto requests so it makes no sense to even
try. A subsequent patch will fix it by replacing it with a ref
counting scheme.
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
[dj: - adjust context
- corrected setup_timer -> timer_setup to delete hunk
- skip padata_flush_queues() hunk, function already removed
in 4.19]
Signed-off-by: Daniel Jordan <daniel.m.jordan(a)oracle.com>
---
include/linux/padata.h | 13 ++----
kernel/padata.c | 95 ++++++++----------------------------------
2 files changed, 22 insertions(+), 86 deletions(-)
diff --git a/include/linux/padata.h b/include/linux/padata.h
index 5d13d25da2c8..d803397a28f7 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -24,7 +24,6 @@
#include <linux/workqueue.h>
#include <linux/spinlock.h>
#include <linux/list.h>
-#include <linux/timer.h>
#include <linux/notifier.h>
#include <linux/kobject.h>
@@ -85,18 +84,14 @@ struct padata_serial_queue {
* @serial: List to wait for serialization after reordering.
* @pwork: work struct for parallelization.
* @swork: work struct for serialization.
- * @pd: Backpointer to the internal control structure.
* @work: work struct for parallelization.
- * @reorder_work: work struct for reordering.
* @num_obj: Number of objects that are processed by this cpu.
* @cpu_index: Index of the cpu.
*/
struct padata_parallel_queue {
struct padata_list parallel;
struct padata_list reorder;
- struct parallel_data *pd;
struct work_struct work;
- struct work_struct reorder_work;
atomic_t num_obj;
int cpu_index;
};
@@ -122,10 +117,10 @@ struct padata_cpumask {
* @reorder_objects: Number of objects waiting in the reorder queues.
* @refcnt: Number of objects holding a reference on this parallel_data.
* @max_seq_nr: Maximal used sequence number.
+ * @cpu: Next CPU to be processed.
* @cpumask: The cpumasks in use for parallel and serial workers.
+ * @reorder_work: work struct for reordering.
* @lock: Reorder lock.
- * @processed: Number of already processed objects.
- * @timer: Reorder timer.
*/
struct parallel_data {
struct padata_instance *pinst;
@@ -134,10 +129,10 @@ struct parallel_data {
atomic_t reorder_objects;
atomic_t refcnt;
atomic_t seq_nr;
+ int cpu;
struct padata_cpumask cpumask;
+ struct work_struct reorder_work;
spinlock_t lock ____cacheline_aligned;
- unsigned int processed;
- struct timer_list timer;
};
/**
diff --git a/kernel/padata.c b/kernel/padata.c
index c280cb153915..47dc31ce15ac 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -167,23 +167,12 @@ EXPORT_SYMBOL(padata_do_parallel);
*/
static struct padata_priv *padata_get_next(struct parallel_data *pd)
{
- int cpu, num_cpus;
- unsigned int next_nr, next_index;
struct padata_parallel_queue *next_queue;
struct padata_priv *padata;
struct padata_list *reorder;
+ int cpu = pd->cpu;
- num_cpus = cpumask_weight(pd->cpumask.pcpu);
-
- /*
- * Calculate the percpu reorder queue and the sequence
- * number of the next object.
- */
- next_nr = pd->processed;
- next_index = next_nr % num_cpus;
- cpu = padata_index_to_cpu(pd, next_index);
next_queue = per_cpu_ptr(pd->pqueue, cpu);
-
reorder = &next_queue->reorder;
spin_lock(&reorder->lock);
@@ -194,7 +183,8 @@ static struct padata_priv *padata_get_next(struct parallel_data *pd)
list_del_init(&padata->list);
atomic_dec(&pd->reorder_objects);
- pd->processed++;
+ pd->cpu = cpumask_next_wrap(cpu, pd->cpumask.pcpu, -1,
+ false);
spin_unlock(&reorder->lock);
goto out;
@@ -217,6 +207,7 @@ static void padata_reorder(struct parallel_data *pd)
struct padata_priv *padata;
struct padata_serial_queue *squeue;
struct padata_instance *pinst = pd->pinst;
+ struct padata_parallel_queue *next_queue;
/*
* We need to ensure that only one cpu can work on dequeueing of
@@ -248,7 +239,6 @@ static void padata_reorder(struct parallel_data *pd)
* so exit immediately.
*/
if (PTR_ERR(padata) == -ENODATA) {
- del_timer(&pd->timer);
spin_unlock_bh(&pd->lock);
return;
}
@@ -267,70 +257,29 @@ static void padata_reorder(struct parallel_data *pd)
/*
* The next object that needs serialization might have arrived to
- * the reorder queues in the meantime, we will be called again
- * from the timer function if no one else cares for it.
+ * the reorder queues in the meantime.
*
- * Ensure reorder_objects is read after pd->lock is dropped so we see
- * an increment from another task in padata_do_serial. Pairs with
+ * Ensure reorder queue is read after pd->lock is dropped so we see
+ * new objects from another task in padata_do_serial. Pairs with
* smp_mb__after_atomic in padata_do_serial.
*/
smp_mb();
- if (atomic_read(&pd->reorder_objects)
- && !(pinst->flags & PADATA_RESET))
- mod_timer(&pd->timer, jiffies + HZ);
- else
- del_timer(&pd->timer);
- return;
+ next_queue = per_cpu_ptr(pd->pqueue, pd->cpu);
+ if (!list_empty(&next_queue->reorder.list))
+ queue_work(pinst->wq, &pd->reorder_work);
}
static void invoke_padata_reorder(struct work_struct *work)
{
- struct padata_parallel_queue *pqueue;
struct parallel_data *pd;
local_bh_disable();
- pqueue = container_of(work, struct padata_parallel_queue, reorder_work);
- pd = pqueue->pd;
+ pd = container_of(work, struct parallel_data, reorder_work);
padata_reorder(pd);
local_bh_enable();
}
-static void padata_reorder_timer(struct timer_list *t)
-{
- struct parallel_data *pd = from_timer(pd, t, timer);
- unsigned int weight;
- int target_cpu, cpu;
-
- cpu = get_cpu();
-
- /* We don't lock pd here to not interfere with parallel processing
- * padata_reorder() calls on other CPUs. We just need any CPU out of
- * the cpumask.pcpu set. It would be nice if it's the right one but
- * it doesn't matter if we're off to the next one by using an outdated
- * pd->processed value.
- */
- weight = cpumask_weight(pd->cpumask.pcpu);
- target_cpu = padata_index_to_cpu(pd, pd->processed % weight);
-
- /* ensure to call the reorder callback on the correct CPU */
- if (cpu != target_cpu) {
- struct padata_parallel_queue *pqueue;
- struct padata_instance *pinst;
-
- /* The timer function is serialized wrt itself -- no locking
- * needed.
- */
- pinst = pd->pinst;
- pqueue = per_cpu_ptr(pd->pqueue, target_cpu);
- queue_work_on(target_cpu, pinst->wq, &pqueue->reorder_work);
- } else {
- padata_reorder(pd);
- }
-
- put_cpu();
-}
-
static void padata_serial_worker(struct work_struct *serial_work)
{
struct padata_serial_queue *squeue;
@@ -384,9 +333,8 @@ void padata_do_serial(struct padata_priv *padata)
cpu = get_cpu();
- /* We need to run on the same CPU padata_do_parallel(.., padata, ..)
- * was called on -- or, at least, enqueue the padata object into the
- * correct per-cpu queue.
+ /* We need to enqueue the padata object into the correct
+ * per-cpu queue.
*/
if (cpu != padata->cpu) {
reorder_via_wq = 1;
@@ -396,12 +344,12 @@ void padata_do_serial(struct padata_priv *padata)
pqueue = per_cpu_ptr(pd->pqueue, cpu);
spin_lock(&pqueue->reorder.lock);
- atomic_inc(&pd->reorder_objects);
list_add_tail(&padata->list, &pqueue->reorder.list);
+ atomic_inc(&pd->reorder_objects);
spin_unlock(&pqueue->reorder.lock);
/*
- * Ensure the atomic_inc of reorder_objects above is ordered correctly
+ * Ensure the addition to the reorder list is ordered correctly
* with the trylock of pd->lock in padata_reorder. Pairs with smp_mb
* in padata_reorder.
*/
@@ -409,13 +357,7 @@ void padata_do_serial(struct padata_priv *padata)
put_cpu();
- /* If we're running on the wrong CPU, call padata_reorder() via a
- * kernel worker.
- */
- if (reorder_via_wq)
- queue_work_on(cpu, pd->pinst->wq, &pqueue->reorder_work);
- else
- padata_reorder(pd);
+ padata_reorder(pd);
}
EXPORT_SYMBOL(padata_do_serial);
@@ -471,14 +413,12 @@ static void padata_init_pqueues(struct parallel_data *pd)
continue;
}
- pqueue->pd = pd;
pqueue->cpu_index = cpu_index;
cpu_index++;
__padata_list_init(&pqueue->reorder);
__padata_list_init(&pqueue->parallel);
INIT_WORK(&pqueue->work, padata_parallel_worker);
- INIT_WORK(&pqueue->reorder_work, invoke_padata_reorder);
atomic_set(&pqueue->num_obj, 0);
}
}
@@ -506,12 +446,13 @@ static struct parallel_data *padata_alloc_pd(struct padata_instance *pinst,
padata_init_pqueues(pd);
padata_init_squeues(pd);
- timer_setup(&pd->timer, padata_reorder_timer, 0);
atomic_set(&pd->seq_nr, -1);
atomic_set(&pd->reorder_objects, 0);
atomic_set(&pd->refcnt, 1);
pd->pinst = pinst;
spin_lock_init(&pd->lock);
+ pd->cpu = cpumask_first(pcpumask);
+ INIT_WORK(&pd->reorder_work, invoke_padata_reorder);
return pd;
--
2.26.2
I've backported fixes for I²C and media controller devices, dealing
with the lifetime of related cdev and struct device instances and some
similar race conditions. Fixing the lifetime issue for watchdog
devices looks impractical for 4.4, as it depends on a big refactoring
in 4.5.
All but one of these are already included in or queued for the later
stable branches. You dropped the I²C lifetime fix for 4.9, but I hope
my previous replies persuaded you that it is valid.
Ben.
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom
From: Mathias Krause <minipli(a)googlemail.com>
[ Upstream commit 1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 ]
The parallel queue per-cpu data structure gets initialized only for CPUs
in the 'pcpu' CPU mask set. This is not sufficient as the reorder timer
may run on a different CPU and might wrongly decide it's the target CPU
for the next reorder item as per-cpu memory gets memset(0) and we might
be waiting for the first CPU in cpumask.pcpu, i.e. cpu_index 0.
Make the '__this_cpu_read(pd->pqueue->cpu_index) == next_queue->cpu_index'
compare in padata_get_next() fail in this case by initializing the
cpu_index member of all per-cpu parallel queues. Use -1 for unused ones.
Signed-off-by: Mathias Krause <minipli(a)googlemail.com>
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
Signed-off-by: Daniel Jordan <daniel.m.jordan(a)oracle.com>
---
kernel/padata.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/kernel/padata.c b/kernel/padata.c
index 693536efccf9..52a1d3fd13b5 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -462,8 +462,14 @@ static void padata_init_pqueues(struct parallel_data *pd)
struct padata_parallel_queue *pqueue;
cpu_index = 0;
- for_each_cpu(cpu, pd->cpumask.pcpu) {
+ for_each_possible_cpu(cpu) {
pqueue = per_cpu_ptr(pd->pqueue, cpu);
+
+ if (!cpumask_test_cpu(cpu, pd->cpumask.pcpu)) {
+ pqueue->cpu_index = -1;
+ continue;
+ }
+
pqueue->pd = pd;
pqueue->cpu_index = cpu_index;
cpu_index++;
--
2.26.2
From: Mathias Krause <minipli(a)googlemail.com>
[ Upstream commit 1bd845bcb41d5b7f83745e0cb99273eb376f2ec5 ]
The parallel queue per-cpu data structure gets initialized only for CPUs
in the 'pcpu' CPU mask set. This is not sufficient as the reorder timer
may run on a different CPU and might wrongly decide it's the target CPU
for the next reorder item as per-cpu memory gets memset(0) and we might
be waiting for the first CPU in cpumask.pcpu, i.e. cpu_index 0.
Make the '__this_cpu_read(pd->pqueue->cpu_index) == next_queue->cpu_index'
compare in padata_get_next() fail in this case by initializing the
cpu_index member of all per-cpu parallel queues. Use -1 for unused ones.
Signed-off-by: Mathias Krause <minipli(a)googlemail.com>
Signed-off-by: Herbert Xu <herbert(a)gondor.apana.org.au>
Signed-off-by: Daniel Jordan <daniel.m.jordan(a)oracle.com>
---
kernel/padata.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/kernel/padata.c b/kernel/padata.c
index 40a0ebb8ea51..858e82179744 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -462,8 +462,14 @@ static void padata_init_pqueues(struct parallel_data *pd)
struct padata_parallel_queue *pqueue;
cpu_index = 0;
- for_each_cpu(cpu, pd->cpumask.pcpu) {
+ for_each_possible_cpu(cpu) {
pqueue = per_cpu_ptr(pd->pqueue, cpu);
+
+ if (!cpumask_test_cpu(cpu, pd->cpumask.pcpu)) {
+ pqueue->cpu_index = -1;
+ continue;
+ }
+
pqueue->pd = pd;
pqueue->cpu_index = cpu_index;
cpu_index++;
--
2.26.2
The patch titled
Subject: mm: ptdump: expand type of 'val' in note_page()
has been added to the -mm tree. Its filename is
mm-ptdump-expand-type-of-val-in-note_page.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/mm-ptdump-expand-type-of-val-in-no…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/mm-ptdump-expand-type-of-val-in-no…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Steven Price <steven.price(a)arm.com>
Subject: mm: ptdump: expand type of 'val' in note_page()
The page table entry is passed in the 'val' argument to note_page(),
however this was previously an "unsigned long" which is fine on 64-bit
platforms. But for 32 bit x86 it is not always big enough to contain a
page table entry which may be 64 bits.
Change the type to u64 to ensure that it is always big enough.
Link: http://lkml.kernel.org/r/20200521152308.33096-3-steven.price@arm.com
Signed-off-by: Steven Price <steven.price(a)arm.com>
Reported-by: Jan Beulich <jbeulich(a)suse.com>
Cc: Andy Lutomirski <luto(a)kernel.org>
Cc: Borislav Petkov <bp(a)alien8.de>
Cc: Dave Hansen <dave.hansen(a)linux.intel.com>
Cc: Ingo Molnar <mingo(a)redhat.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/arm64/mm/dump.c | 2 +-
arch/x86/mm/dump_pagetables.c | 2 +-
include/linux/ptdump.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- a/arch/arm64/mm/dump.c~mm-ptdump-expand-type-of-val-in-note_page
+++ a/arch/arm64/mm/dump.c
@@ -247,7 +247,7 @@ static void note_prot_wx(struct pg_state
}
static void note_page(struct ptdump_state *pt_st, unsigned long addr, int level,
- unsigned long val)
+ u64 val)
{
struct pg_state *st = container_of(pt_st, struct pg_state, ptdump);
static const char units[] = "KMGTPE";
--- a/arch/x86/mm/dump_pagetables.c~mm-ptdump-expand-type-of-val-in-note_page
+++ a/arch/x86/mm/dump_pagetables.c
@@ -273,7 +273,7 @@ static void effective_prot(struct ptdump
* print what we collected so far.
*/
static void note_page(struct ptdump_state *pt_st, unsigned long addr, int level,
- unsigned long val)
+ u64 val)
{
struct pg_state *st = container_of(pt_st, struct pg_state, ptdump);
pgprotval_t new_prot, new_eff;
--- a/include/linux/ptdump.h~mm-ptdump-expand-type-of-val-in-note_page
+++ a/include/linux/ptdump.h
@@ -13,7 +13,7 @@ struct ptdump_range {
struct ptdump_state {
/* level is 0:PGD to 4:PTE, or -1 if unknown */
void (*note_page)(struct ptdump_state *st, unsigned long addr,
- int level, unsigned long val);
+ int level, u64 val);
void (*effective_prot)(struct ptdump_state *st, int level, u64 val);
const struct ptdump_range *range;
};
_
Patches currently in -mm which might be from steven.price(a)arm.com are
x86-mm-ptdump-calculate-effective-permissions-correctly.patch
mm-ptdump-expand-type-of-val-in-note_page.patch
The patch titled
Subject: x86: mm: ptdump: calculate effective permissions correctly
has been added to the -mm tree. Its filename is
x86-mm-ptdump-calculate-effective-permissions-correctly.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/x86-mm-ptdump-calculate-effective-…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/x86-mm-ptdump-calculate-effective-…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Steven Price <steven.price(a)arm.com>
Subject: x86: mm: ptdump: calculate effective permissions correctly
Patch series "Fix W+X debug feature on x86"
Jan alerted me[1] that the W+X detection debug feature was broken in x86
by my change[2] to switch x86 to use the generic ptdump infrastructure.
Fundamentally the approach of trying to move the calculation of effective
permissions into note_page() was broken because note_page() is only called
for 'leaf' entries and the effective permissions are passed down via the
internal nodes of the page tree. The solution I've taken here is to
create a new (optional) callback which is called for all nodes of the page
tree and therefore can calculate the effective permissions.
Secondly on some configurations (32 bit with PAE) "unsigned long" is not
large enough to store the table entries. The fix here is simple - let's
just use a u64.
[1] https://lore.kernel.org/lkml/d573dc7e-e742-84de-473d-f971142fa319@suse.com/
[2] 2ae27137b2db ("x86: mm: convert dump_pagetables to use walk_page_range")
This patch (of 2):
By switching the x86 page table dump code to use the generic code the
effective permissions are no longer calculated correctly because the
note_page() function is only called for *leaf* entries. To calculate the
actual effective permissions it is necessary to observe the full hierarchy
of the page tree.
Introduce a new callback for ptdump which is called for every entry and
can therefore update the prot_levels array correctly. note_page() can
then simply access the appropriate element in the array.
Link: http://lkml.kernel.org/r/20200521152308.33096-1-steven.price@arm.com
Link: http://lkml.kernel.org/r/20200521152308.33096-2-steven.price@arm.com
Fixes: 2ae27137b2db ("x86: mm: convert dump_pagetables to use walk_page_range")
Signed-off-by: Steven Price <steven.price(a)arm.com>
Reported-by: Jan Beulich <jbeulich(a)suse.com>
Cc: Andy Lutomirski <luto(a)kernel.org>
Cc: Borislav Petkov <bp(a)alien8.de>
Cc: Dave Hansen <dave.hansen(a)linux.intel.com>
Cc: Ingo Molnar <mingo(a)redhat.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/x86/mm/dump_pagetables.c | 31 +++++++++++++++++++------------
include/linux/ptdump.h | 1 +
mm/ptdump.c | 17 ++++++++++++++++-
3 files changed, 36 insertions(+), 13 deletions(-)
--- a/arch/x86/mm/dump_pagetables.c~x86-mm-ptdump-calculate-effective-permissions-correctly
+++ a/arch/x86/mm/dump_pagetables.c
@@ -249,10 +249,22 @@ static void note_wx(struct pg_state *st,
(void *)st->start_address);
}
-static inline pgprotval_t effective_prot(pgprotval_t prot1, pgprotval_t prot2)
+static void effective_prot(struct ptdump_state *pt_st, int level, u64 val)
{
- return (prot1 & prot2 & (_PAGE_USER | _PAGE_RW)) |
- ((prot1 | prot2) & _PAGE_NX);
+ struct pg_state *st = container_of(pt_st, struct pg_state, ptdump);
+ pgprotval_t prot = val & PTE_FLAGS_MASK;
+ pgprotval_t effective;
+
+ if (level > 0) {
+ pgprotval_t higher_prot = st->prot_levels[level - 1];
+
+ effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) |
+ ((higher_prot | prot) & _PAGE_NX);
+ } else {
+ effective = prot;
+ }
+
+ st->prot_levels[level] = effective;
}
/*
@@ -270,16 +282,10 @@ static void note_page(struct ptdump_stat
struct seq_file *m = st->seq;
new_prot = val & PTE_FLAGS_MASK;
+ new_eff = st->prot_levels[level];
- if (level > 0) {
- new_eff = effective_prot(st->prot_levels[level - 1],
- new_prot);
- } else {
- new_eff = new_prot;
- }
-
- if (level >= 0)
- st->prot_levels[level] = new_eff;
+ if (!val)
+ new_eff = 0;
/*
* If we have a "break" in the series, we need to flush the state that
@@ -374,6 +380,7 @@ static void ptdump_walk_pgd_level_core(s
struct pg_state st = {
.ptdump = {
.note_page = note_page,
+ .effective_prot = effective_prot,
.range = ptdump_ranges
},
.level = -1,
--- a/include/linux/ptdump.h~x86-mm-ptdump-calculate-effective-permissions-correctly
+++ a/include/linux/ptdump.h
@@ -14,6 +14,7 @@ struct ptdump_state {
/* level is 0:PGD to 4:PTE, or -1 if unknown */
void (*note_page)(struct ptdump_state *st, unsigned long addr,
int level, unsigned long val);
+ void (*effective_prot)(struct ptdump_state *st, int level, u64 val);
const struct ptdump_range *range;
};
--- a/mm/ptdump.c~x86-mm-ptdump-calculate-effective-permissions-correctly
+++ a/mm/ptdump.c
@@ -36,6 +36,9 @@ static int ptdump_pgd_entry(pgd_t *pgd,
return note_kasan_page_table(walk, addr);
#endif
+ if (st->effective_prot)
+ st->effective_prot(st, 0, pgd_val(val));
+
if (pgd_leaf(val))
st->note_page(st, addr, 0, pgd_val(val));
@@ -53,6 +56,9 @@ static int ptdump_p4d_entry(p4d_t *p4d,
return note_kasan_page_table(walk, addr);
#endif
+ if (st->effective_prot)
+ st->effective_prot(st, 1, p4d_val(val));
+
if (p4d_leaf(val))
st->note_page(st, addr, 1, p4d_val(val));
@@ -70,6 +76,9 @@ static int ptdump_pud_entry(pud_t *pud,
return note_kasan_page_table(walk, addr);
#endif
+ if (st->effective_prot)
+ st->effective_prot(st, 2, pud_val(val));
+
if (pud_leaf(val))
st->note_page(st, addr, 2, pud_val(val));
@@ -87,6 +96,8 @@ static int ptdump_pmd_entry(pmd_t *pmd,
return note_kasan_page_table(walk, addr);
#endif
+ if (st->effective_prot)
+ st->effective_prot(st, 3, pmd_val(val));
if (pmd_leaf(val))
st->note_page(st, addr, 3, pmd_val(val));
@@ -97,8 +108,12 @@ static int ptdump_pte_entry(pte_t *pte,
unsigned long next, struct mm_walk *walk)
{
struct ptdump_state *st = walk->private;
+ pte_t val = READ_ONCE(*pte);
+
+ if (st->effective_prot)
+ st->effective_prot(st, 4, pte_val(val));
- st->note_page(st, addr, 4, pte_val(READ_ONCE(*pte)));
+ st->note_page(st, addr, 4, pte_val(val));
return 0;
}
_
Patches currently in -mm which might be from steven.price(a)arm.com are
x86-mm-ptdump-calculate-effective-permissions-correctly.patch
mm-ptdump-expand-type-of-val-in-note_page.patch
I hope you are doing great?
This is Felix from Toronto-Canada. I have a lucrative business
offer that will benefit us both immensely within a very short
period of time. However, I need your initial approval of interest
prior to further and complete details regarding the deal.
Thanks,
Felix.
The ABI is broken and we cannot support it properly. Turn it off.
If this causes a meaningful performance regression for someone, KVM
can introduce an improved ABI that is supportable.
Cc: stable(a)vger.kernel.org
Signed-off-by: Andy Lutomirski <luto(a)kernel.org>
---
arch/x86/kernel/kvm.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/kvm.c b/arch/x86/kernel/kvm.c
index 93ab0cbd304e..e6f2aefa298b 100644
--- a/arch/x86/kernel/kvm.c
+++ b/arch/x86/kernel/kvm.c
@@ -318,11 +318,26 @@ static void kvm_guest_cpu_init(void)
pa = slow_virt_to_phys(this_cpu_ptr(&apf_reason));
-#ifdef CONFIG_PREEMPTION
- pa |= KVM_ASYNC_PF_SEND_ALWAYS;
-#endif
pa |= KVM_ASYNC_PF_ENABLED;
+ /*
+ * We do not set KVM_ASYNC_PF_SEND_ALWAYS. With the current
+ * KVM paravirt ABI, the following scenario is possible:
+ *
+ * #PF: async page fault (KVM_PV_REASON_PAGE_NOT_PRESENT)
+ * NMI before CR2 or KVM_PF_REASON_PAGE_NOT_PRESENT
+ * NMI accesses user memory, e.g. due to perf
+ * #PF: normal page fault
+ * #PF reads CR2 and apf_reason -- apf_reason should be 0
+ *
+ * outer #PF reads CR2 and apf_reason -- apf_reason should be
+ * KVM_PV_REASON_PAGE_NOT_PRESENT
+ *
+ * There is no possible way that both reads of CR2 and
+ * apf_reason get the correct values. Fixing this would
+ * require paravirt ABI changes.
+ */
+
if (kvm_para_has_feature(KVM_FEATURE_ASYNC_PF_VMEXIT))
pa |= KVM_ASYNC_PF_DELIVERY_AS_PF_VMEXIT;
--
2.24.1
I noticed that commit 07928d9bfc81 "padata: Remove broken queue
flushing" has been backported to most stable branches, but commit
6fc4dbcf0276 "padata: Replace delayed timer with immediate workqueue in
padata_reorder" has not.
Is this correct? What prevents the parallel_data ref-count from
dropping to 0 while the timer is scheduled?
Ben.
--
Ben Hutchings
Larkinson's Law: All laws are basically false.
This is a note to let you know that I've just added the patch titled
kobject: Make sure the parent does not get released before its
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 4ef12f7198023c09ad6d25b652bd8748c965c7fa Mon Sep 17 00:00:00 2001
From: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Date: Wed, 13 May 2020 18:18:40 +0300
Subject: kobject: Make sure the parent does not get released before its
children
In the function kobject_cleanup(), kobject_del(kobj) is
called before the kobj->release(). That makes it possible to
release the parent of the kobject before the kobject itself.
To fix that, adding function __kboject_del() that does
everything that kobject_del() does except release the parent
reference. kobject_cleanup() then calls __kobject_del()
instead of kobject_del(), and separately decrements the
reference count of the parent kobject after kobj->release()
has been called.
Reported-by: Naresh Kamboju <naresh.kamboju(a)linaro.org>
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
Fixes: 7589238a8cf3 ("Revert "software node: Simplify software_node_release() function"")
Suggested-by: "Rafael J. Wysocki" <rafael(a)kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus(a)linux.intel.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Reviewed-by: Brendan Higgins <brendanhiggins(a)google.com>
Tested-by: Brendan Higgins <brendanhiggins(a)google.com>
Acked-by: Randy Dunlap <rdunlap(a)infradead.org>
Link: https://lore.kernel.org/r/20200513151840.36400-1-heikki.krogerus@linux.inte…
Cc: stable <stable(a)vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
lib/kobject.c | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/lib/kobject.c b/lib/kobject.c
index 83198cb37d8d..2bd631460e18 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -599,14 +599,7 @@ int kobject_move(struct kobject *kobj, struct kobject *new_parent)
}
EXPORT_SYMBOL_GPL(kobject_move);
-/**
- * kobject_del() - Unlink kobject from hierarchy.
- * @kobj: object.
- *
- * This is the function that should be called to delete an object
- * successfully added via kobject_add().
- */
-void kobject_del(struct kobject *kobj)
+static void __kobject_del(struct kobject *kobj)
{
struct kernfs_node *sd;
const struct kobj_type *ktype;
@@ -625,9 +618,23 @@ void kobject_del(struct kobject *kobj)
kobj->state_in_sysfs = 0;
kobj_kset_leave(kobj);
- kobject_put(kobj->parent);
kobj->parent = NULL;
}
+
+/**
+ * kobject_del() - Unlink kobject from hierarchy.
+ * @kobj: object.
+ *
+ * This is the function that should be called to delete an object
+ * successfully added via kobject_add().
+ */
+void kobject_del(struct kobject *kobj)
+{
+ struct kobject *parent = kobj->parent;
+
+ __kobject_del(kobj);
+ kobject_put(parent);
+}
EXPORT_SYMBOL(kobject_del);
/**
@@ -663,6 +670,7 @@ EXPORT_SYMBOL(kobject_get_unless_zero);
*/
static void kobject_cleanup(struct kobject *kobj)
{
+ struct kobject *parent = kobj->parent;
struct kobj_type *t = get_ktype(kobj);
const char *name = kobj->name;
@@ -684,7 +692,7 @@ static void kobject_cleanup(struct kobject *kobj)
if (kobj->state_in_sysfs) {
pr_debug("kobject: '%s' (%p): auto cleanup kobject_del\n",
kobject_name(kobj), kobj);
- kobject_del(kobj);
+ __kobject_del(kobj);
}
if (t && t->release) {
@@ -698,6 +706,8 @@ static void kobject_cleanup(struct kobject *kobj)
pr_debug("kobject: '%s': free name\n", name);
kfree_const(name);
}
+
+ kobject_put(parent);
}
#ifdef CONFIG_DEBUG_KOBJECT_RELEASE
--
2.26.2
This is a note to let you know that I've just added the patch titled
driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device links
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-linus branch.
The patch will show up in the next release of the linux-next tree
(usually sometime within the next 24 hours during the week.)
The patch will hopefully also be merged in Linus's tree for the
next -rc kernel release.
If you have any questions about this process, please let me know.
>From 44e960490ddf868fc9135151c4a658936e771dc2 Mon Sep 17 00:00:00 2001
From: Saravana Kannan <saravanak(a)google.com>
Date: Tue, 19 May 2020 21:36:26 -0700
Subject: driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device links
Commit 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link
implementation") didn't completely fix STATELESS + SYNC_STATE_ONLY
handling.
What looks like an optimization in that commit is actually a bug that
causes an if condition to always take the else path. This prevents
reordering of devices in the dpm_list when a DL_FLAG_STATELESS device
link is create on top of an existing DL_FLAG_SYNC_STATE_ONLY device
link.
Fixes: 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link implementation")
Signed-off-by: Saravana Kannan <saravanak(a)google.com>
Cc: stable <stable(a)vger.kernel.org>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki(a)intel.com>
Link: https://lore.kernel.org/r/20200520043626.181820-1-saravanak@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/base/core.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index 4e0e430315d9..0cad34f1eede 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -360,12 +360,14 @@ struct device_link *device_link_add(struct device *consumer,
if (flags & DL_FLAG_STATELESS) {
kref_get(&link->kref);
- link->flags |= DL_FLAG_STATELESS;
if (link->flags & DL_FLAG_SYNC_STATE_ONLY &&
- !(link->flags & DL_FLAG_STATELESS))
+ !(link->flags & DL_FLAG_STATELESS)) {
+ link->flags |= DL_FLAG_STATELESS;
goto reorder;
- else
+ } else {
+ link->flags |= DL_FLAG_STATELESS;
goto out;
+ }
}
/*
--
2.26.2
From: Alexander Duyck <alexander.h.duyck(a)linux.intel.com>
We are seeing a deadlock in e1000 down when NAPI is being disabled. Looking
over the kernel function trace of the system it appears that the interface
is being closed and then a reset is hitting which deadlocks the interface
as the NAPI interface is already disabled.
To prevent this from happening I am disabling the reset task when
__E1000_DOWN is already set. In addition code has been added so that we set
the __E1000_DOWN while holding the __E1000_RESET flag in e1000_close in
order to guarantee that the reset task will not run after we have started
the close call.
CC: stable <stable(a)vger.kernel.org>
Signed-off-by: Alexander Duyck <alexander.h.duyck(a)linux.intel.com>
Tested-by: Maxim Zhukov <mussitantesmortem(a)gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher(a)intel.com>
---
drivers/net/ethernet/intel/e1000/e1000_main.c | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ethernet/intel/e1000/e1000_main.c b/drivers/net/ethernet/intel/e1000/e1000_main.c
index 05bc6e216bca..d9fa4600f745 100644
--- a/drivers/net/ethernet/intel/e1000/e1000_main.c
+++ b/drivers/net/ethernet/intel/e1000/e1000_main.c
@@ -542,8 +542,13 @@ void e1000_reinit_locked(struct e1000_adapter *adapter)
WARN_ON(in_interrupt());
while (test_and_set_bit(__E1000_RESETTING, &adapter->flags))
msleep(1);
- e1000_down(adapter);
- e1000_up(adapter);
+
+ /* only run the task if not already down */
+ if (!test_bit(__E1000_DOWN, &adapter->flags)) {
+ e1000_down(adapter);
+ e1000_up(adapter);
+ }
+
clear_bit(__E1000_RESETTING, &adapter->flags);
}
@@ -1433,10 +1438,15 @@ int e1000_close(struct net_device *netdev)
struct e1000_hw *hw = &adapter->hw;
int count = E1000_CHECK_RESET_COUNT;
- while (test_bit(__E1000_RESETTING, &adapter->flags) && count--)
+ while (test_and_set_bit(__E1000_RESETTING, &adapter->flags) && count--)
usleep_range(10000, 20000);
- WARN_ON(test_bit(__E1000_RESETTING, &adapter->flags));
+ WARN_ON(count < 0);
+
+ /* signal that we're down so that the reset task will no longer run */
+ set_bit(__E1000_DOWN, &adapter->flags);
+ clear_bit(__E1000_RESETTING, &adapter->flags);
+
e1000_down(adapter);
e1000_power_down_phy(adapter);
e1000_free_irq(adapter);
--
2.26.2
Please pick this fix for 4.19 and 5.4 stable branches:
commit d80b64ff297e40c2b6f7d7abc1b3eba70d22a068
Author: Miaohe Lin <linmiaohe(a)huawei.com>
Date: Sat Jan 4 16:56:49 2020 +0800
KVM: SVM: Fix potential memory leak in svm_cpu_init()
It applies cleanly to both.
Ben.
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom
Please queue up the attached backport of commit 2351c88f8296 "watchdog:
Fix the race between the release of watchdog_core_data and cdev" for
4.14.
Ben.
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom
Here are some fixes that required backporting for 4.14. All of them
are already present in later stable branches.
Ben.
--
Ben Hutchings, Software Developer Codethink Ltd
https://www.codethink.co.uk/ Dale House, 35 Dale Street
Manchester, M1 2HF, United Kingdom
The patch titled
Subject: z3fold: fix use-after-free when freeing handles
has been added to the -mm tree. Its filename is
z3fold-fix-use-after-free-when-freeing-handles.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/z3fold-fix-use-after-free-when-fre…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/z3fold-fix-use-after-free-when-fre…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Uladzislau Rezki <uladzislau.rezki(a)sony.com>
Subject: z3fold: fix use-after-free when freeing handles
free_handle() for a foreign handle may race with inter-page compaction,
what can lead to memory corruption. To avoid that, take write lock not
read lock in free_handle to be synchronized with __release_z3fold_page().
For example KASAN can detect it:
[ 33.723357] ==================================================================
[ 33.723401] BUG: KASAN: use-after-free in LZ4_decompress_safe+0x2c4/0x3b8
[ 33.723418] Read of size 1 at addr ffffffc976695ca3 by task GoogleApiHandle/4121
[ 33.723428]
[ 33.723449] CPU: 0 PID: 4121 Comm: GoogleApiHandle Tainted: P S OE 4.19.81-perf+ #162
[ 33.723461] Hardware name: Sony Mobile Communications. PDX-203(KONA) (DT)
[ 33.723473] Call trace:
[ 33.723495] dump_backtrace+0x0/0x288
[ 33.723512] show_stack+0x14/0x20
[ 33.723533] dump_stack+0xe4/0x124
[ 33.723551] print_address_description+0x80/0x2e0
[ 33.723566] kasan_report+0x268/0x2d0
[ 33.723584] __asan_load1+0x4c/0x58
[ 33.723601] LZ4_decompress_safe+0x2c4/0x3b8
[ 33.723619] lz4_decompress_crypto+0x3c/0x70
[ 33.723636] crypto_decompress+0x58/0x70
[ 33.723656] zcomp_decompress+0xd4/0x120
...
Apart from that, initialize zhdr->mapped_count in init_z3fold_page() and
remove "newpage" variable because it is not used anywhere.
Link: http://lkml.kernel.org/r/20200520082100.28876-1-vitaly.wool@konsulko.com
Signed-off-by: Uladzislau Rezki <uladzislau.rezki(a)sony.com>
Signed-off-by: Vitaly Wool <vitaly.wool(a)konsulko.com>
Cc: Qian Cai <cai(a)lca.pw>
Cc: Raymond Jennings <shentino(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
mm/z3fold.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
--- a/mm/z3fold.c~z3fold-fix-use-after-free-when-freeing-handles
+++ a/mm/z3fold.c
@@ -318,16 +318,16 @@ static inline void free_handle(unsigned
slots = handle_to_slots(handle);
write_lock(&slots->lock);
*(unsigned long *)handle = 0;
- write_unlock(&slots->lock);
- if (zhdr->slots == slots)
+ if (zhdr->slots == slots) {
+ write_unlock(&slots->lock);
return; /* simple case, nothing else to do */
+ }
/* we are freeing a foreign handle if we are here */
zhdr->foreign_handles--;
is_free = true;
- read_lock(&slots->lock);
if (!test_bit(HANDLES_ORPHANED, &slots->pool)) {
- read_unlock(&slots->lock);
+ write_unlock(&slots->lock);
return;
}
for (i = 0; i <= BUDDY_MASK; i++) {
@@ -336,7 +336,7 @@ static inline void free_handle(unsigned
break;
}
}
- read_unlock(&slots->lock);
+ write_unlock(&slots->lock);
if (is_free) {
struct z3fold_pool *pool = slots_to_pool(slots);
@@ -422,6 +422,7 @@ static struct z3fold_header *init_z3fold
zhdr->start_middle = 0;
zhdr->cpu = -1;
zhdr->foreign_handles = 0;
+ zhdr->mapped_count = 0;
zhdr->slots = slots;
zhdr->pool = pool;
INIT_LIST_HEAD(&zhdr->buddy);
_
Patches currently in -mm which might be from uladzislau.rezki(a)sony.com are
z3fold-fix-use-after-free-when-freeing-handles.patch
From: Masahiro Yamada <masahiroy(a)kernel.org>
[ Upstream commit b5154bf63e5577faaaca1d942df274f7de91dd2a ]
'make dtbs_check' checks the shecma in addition to building *.dtb files,
in other words, 'make dtbs_check' is a super-set of 'make dtbs'.
So, you do not have to do 'make dtbs dtbs_check', but I want to keep
the build system as robust as possible in any use.
Currently, 'dtbs' and 'dtbs_check' are independent of each other.
In parallel building, two threads descend into arch/*/boot/dts/,
one for dtbs and the other for dtbs_check, then end up with building
the same DTB simultaneously.
This commit fixes the concurrency issue. Otherwise, I see build errors
like follows:
$ make ARCH=arm64 defconfig
$ make -j16 ARCH=arm64 DT_SCHEMA_FILES=Documentation/devicetree/bindings/arm/psci.yaml dtbs dtbs_check
<snip>
DTC arch/arm64/boot/dts/qcom/sdm845-cheza-r2.dtb
DTC arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtb
DTC arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dtb
DTC arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dtb
DTC arch/arm64/boot/dts/freescale/imx8mn-evk.dtb
DTC arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dtb
DTC arch/arm64/boot/dts/zte/zx296718-pcbox.dtb
DTC arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dt.yaml
DTC arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p230.dtb
DTC arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dtb
DTC arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dtb
DTC arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-inx.dtb
DTC arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dtb
CHECK arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dt.yaml
fixdep: error opening file: arch/arm64/boot/dts/allwinner/.sun50i-h6-orangepi-lite2.dtb.d: No such file or directory
make[2]: *** [scripts/Makefile.lib:296: arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dtb] Error 2
make[2]: *** Deleting file 'arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-lite2.dtb'
make[2]: *** Waiting for unfinished jobs....
DTC arch/arm64/boot/dts/rockchip/rk3399-gru-scarlet-kd.dtb
DTC arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dtb
DTC arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dtb
DTC arch/arm64/boot/dts/freescale/imx8mn-ddr4-evk.dtb
fixdep: parse error; no targets found
make[2]: *** [scripts/Makefile.lib:296: arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dtb] Error 1
make[2]: *** Deleting file 'arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-one-plus.dtb'
make[1]: *** [scripts/Makefile.build:505: arch/arm64/boot/dts/allwinner] Error 2
make[1]: *** Waiting for unfinished jobs....
DTC arch/arm64/boot/dts/renesas/r8a77951-salvator-xs.dtb
Signed-off-by: Masahiro Yamada <masahiroy(a)kernel.org>
Reviewed-by: Rob Herring <robh(a)kernel.org>
Signed-off-by: Sasha Levin <sashal(a)kernel.org>
---
Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index d252219666fdd..6a8f0b278f1bb 100644
--- a/Makefile
+++ b/Makefile
@@ -1240,11 +1240,15 @@ ifneq ($(dtstree),)
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@
PHONY += dtbs dtbs_install dtbs_check
-dtbs dtbs_check: include/config/kernel.release scripts_dtc
+dtbs: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)
+ifneq ($(filter dtbs_check, $(MAKECMDGOALS)),)
+dtbs: dt_binding_check
+endif
+
dtbs_check: export CHECK_DTBS=1
-dtbs_check: dt_binding_check
+dtbs_check: dtbs
dtbs_install:
$(Q)$(MAKE) $(dtbinst)=$(dtstree)
--
2.20.1
The patch titled
Subject: sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
has been added to the -mm tree. Its filename is
sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/sparc32-use-pud-rather-than-pgd-to…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/sparc32-use-pud-rather-than-pgd-to…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Mike Rapoport <rppt(a)linux.ibm.com>
Subject: sparc32: use PUD rather than PGD to get PMD in srmmu_nocache_init()
The kbuild test robot reported the following warning:
arch/sparc/mm/srmmu.c: In function 'srmmu_nocache_init':
>> arch/sparc/mm/srmmu.c:300:9: error: variable 'pud' set but not used
>> [-Werror=unused-but-set-variable]
300 | pud_t *pud;
This warning is caused by misprint in the page table traversal in
srmmu_nocache_init() function which accessed a PMD entry using PGD rather
than PUD.
Since sparc32 has only 3 page table levels, the PGD and PUD are essentially
the same and usage of __nocache_fix() removed the type checking.
Use PUD for the consistency and to silence the compiler warning.
Link: http://lkml.kernel.org/r/20200520132005.GM1059226@linux.ibm.com
Fixes: 7235db268a2777bc38 ("sparc32: use pgtable-nopud instead of 4level-fixup")
Signed-off-by: Mike Rapoport <rppt(a)linux.ibm.com>
Reported-by: kbuild test robot <lkp(a)intel.com>
Cc: David S. Miller <davem(a)davemloft.net>
Cc: Anatoly Pugachev <matorola(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sparc/mm/srmmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/sparc/mm/srmmu.c~sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init
+++ a/arch/sparc/mm/srmmu.c
@@ -333,7 +333,7 @@ static void __init srmmu_nocache_init(vo
pgd = pgd_offset_k(vaddr);
p4d = p4d_offset(__nocache_fix(pgd), vaddr);
pud = pud_offset(__nocache_fix(p4d), vaddr);
- pmd = pmd_offset(__nocache_fix(pgd), vaddr);
+ pmd = pmd_offset(__nocache_fix(pud), vaddr);
pte = pte_offset_kernel(__nocache_fix(pmd), vaddr);
pteval = ((paddr >> 4) | SRMMU_ET_PTE | SRMMU_PRIV);
_
Patches currently in -mm which might be from rppt(a)linux.ibm.com are
sparc32-use-pud-rather-than-pgd-to-get-pmd-in-srmmu_nocache_init.patch
mm-memblock-replace-dereferences-of-memblock_regionnid-with-api-calls.patch
mm-make-early_pfn_to_nid-and-related-defintions-close-to-each-other.patch
mm-remove-config_have_memblock_node_map-option.patch
mm-free_area_init-use-maximal-zone-pfns-rather-than-zone-sizes.patch
mm-use-free_area_init-instead-of-free_area_init_nodes.patch
alpha-simplify-detection-of-memory-zone-boundaries.patch
arm-simplify-detection-of-memory-zone-boundaries.patch
arm64-simplify-detection-of-memory-zone-boundaries-for-uma-configs.patch
csky-simplify-detection-of-memory-zone-boundaries.patch
m68k-mm-simplify-detection-of-memory-zone-boundaries.patch
parisc-simplify-detection-of-memory-zone-boundaries.patch
sparc32-simplify-detection-of-memory-zone-boundaries.patch
unicore32-simplify-detection-of-memory-zone-boundaries.patch
xtensa-simplify-detection-of-memory-zone-boundaries.patch
mm-remove-early_pfn_in_nid-and-config_nodes_span_other_nodes.patch
mm-free_area_init-allow-defining-max_zone_pfn-in-descending-order.patch
mm-free_area_init-allow-defining-max_zone_pfn-in-descending-order-fix-2.patch
mm-rename-free_area_init_node-to-free_area_init_memoryless_node.patch
mm-clean-up-free_area_init_node-and-its-helpers.patch
mm-simplify-find_min_pfn_with_active_regions.patch
docs-vm-update-memory-models-documentation.patch
h8300-remove-usage-of-__arch_use_5level_hack.patch
arm-add-support-for-folded-p4d-page-tables.patch
arm-add-support-for-folded-p4d-page-tables-fix.patch
arm64-add-support-for-folded-p4d-page-tables.patch
hexagon-remove-__arch_use_5level_hack.patch
ia64-add-support-for-folded-p4d-page-tables.patch
nios2-add-support-for-folded-p4d-page-tables.patch
openrisc-add-support-for-folded-p4d-page-tables.patch
powerpc-add-support-for-folded-p4d-page-tables.patch
powerpc-add-support-for-folded-p4d-page-tables-fix.patch
powerpc-add-support-for-folded-p4d-page-tables-fix-2.patch
sh-drop-__pxd_offset-macros-that-duplicate-pxd_index-ones.patch
sh-add-support-for-folded-p4d-page-tables.patch
unicore32-remove-__arch_use_5level_hack.patch
asm-generic-remove-pgtable-nop4d-hackh.patch
mm-remove-__arch_has_5level_hack-and-include-asm-generic-5level-fixuph.patch
mm-dont-include-asm-pgtableh-if-linux-mmh-is-already-included.patch
mm-introduce-include-linux-pgtableh.patch
mm-reorder-includes-after-introduction-of-linux-pgtableh.patch
csky-replace-definitions-of-__pxd_offset-with-pxd_index.patch
m68k-mm-motorola-move-comment-about-page-table-allocation-funcitons.patch
m68k-mm-move-cachenocahe_page-definitions-close-to-their-user.patch
x86-mm-simplify-init_trampoline-and-surrounding-logic.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte-fix.patch
mm-pgtable-add-shortcuts-for-accessing-kernel-pmd-and-pte-fix-2.patch
mm-consolidate-pte_index-and-pte_offset_-definitions.patch
mm-consolidate-pmd_index-and-pmd_offset-definitions.patch
mm-consolidate-pud_index-and-pud_offset-definitions.patch
mm-consolidate-pgd_index-and-pgd_offset_k-definitions.patch
Until this commit the mainline kernel version (this version) of the
vboxguest module contained a bug where it defined
VBGL_IOCTL_VMMDEV_REQUEST_BIG and VBGL_IOCTL_LOG using
_IOC(_IOC_READ | _IOC_WRITE, 'V', ...) instead of
_IO(V, ...) as the out of tree VirtualBox upstream version does.
Since the VirtualBox userspace bits are always built against VirtualBox
upstream's headers, this means that so far the mainline kernel version
of the vboxguest module has been failing these 2 ioctls with -ENOTTY.
I guess that VBGL_IOCTL_VMMDEV_REQUEST_BIG is never used causing us to
not hit that one and sofar the vboxguest driver has failed to actually
log any log messages passed it through VBGL_IOCTL_LOG.
This commit changes the VBGL_IOCTL_VMMDEV_REQUEST_BIG and VBGL_IOCTL_LOG
defines to match the out of tree VirtualBox upstream vboxguest version,
while keeping compatibility with the old wrong request defines so as
to not break the kernel ABI in case someone has been using the old
request defines.
Fixes: f6ddd094f579 ("virt: Add vboxguest driver for Virtual Box Guest integration UAPI")
Cc: stable(a)vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede(a)redhat.com>
---
drivers/virt/vboxguest/vboxguest_core.c | 4 +++-
drivers/virt/vboxguest/vboxguest_core.h | 15 +++++++++++++++
drivers/virt/vboxguest/vboxguest_linux.c | 3 ++-
include/uapi/linux/vboxguest.h | 4 ++--
4 files changed, 22 insertions(+), 4 deletions(-)
diff --git a/drivers/virt/vboxguest/vboxguest_core.c b/drivers/virt/vboxguest/vboxguest_core.c
index b690a8a4bf9e..8fab04e76c14 100644
--- a/drivers/virt/vboxguest/vboxguest_core.c
+++ b/drivers/virt/vboxguest/vboxguest_core.c
@@ -1520,7 +1520,8 @@ int vbg_core_ioctl(struct vbg_session *session, unsigned int req, void *data)
/* For VMMDEV_REQUEST hdr->type != VBG_IOCTL_HDR_TYPE_DEFAULT */
if (req_no_size == VBG_IOCTL_VMMDEV_REQUEST(0) ||
- req == VBG_IOCTL_VMMDEV_REQUEST_BIG)
+ req == VBG_IOCTL_VMMDEV_REQUEST_BIG ||
+ req == VBG_IOCTL_VMMDEV_REQUEST_BIG_ALT)
return vbg_ioctl_vmmrequest(gdev, session, data);
if (hdr->type != VBG_IOCTL_HDR_TYPE_DEFAULT)
@@ -1558,6 +1559,7 @@ int vbg_core_ioctl(struct vbg_session *session, unsigned int req, void *data)
case VBG_IOCTL_HGCM_CALL(0):
return vbg_ioctl_hgcm_call(gdev, session, f32bit, data);
case VBG_IOCTL_LOG(0):
+ case VBG_IOCTL_LOG_ALT(0):
return vbg_ioctl_log(data);
}
diff --git a/drivers/virt/vboxguest/vboxguest_core.h b/drivers/virt/vboxguest/vboxguest_core.h
index 4188c12b839f..77c3a9c8255d 100644
--- a/drivers/virt/vboxguest/vboxguest_core.h
+++ b/drivers/virt/vboxguest/vboxguest_core.h
@@ -15,6 +15,21 @@
#include <linux/vboxguest.h>
#include "vmmdev.h"
+/*
+ * The mainline kernel version (this version) of the vboxguest module
+ * contained a bug where it defined VBGL_IOCTL_VMMDEV_REQUEST_BIG and
+ * VBGL_IOCTL_LOG using _IOC(_IOC_READ | _IOC_WRITE, 'V', ...) instead
+ * of _IO(V, ...) as the out of tree VirtualBox upstream version does.
+ *
+ * These _ALT definitions keep compatibility with the wrong defines the
+ * mainline kernel version used for a while.
+ * Note the VirtualBox userspace bits have always been built against
+ * VirtualBox upstream's headers, so this is likely not necessary. But
+ * we must never break our ABI so we keep these around to be 100% sure.
+ */
+#define VBG_IOCTL_VMMDEV_REQUEST_BIG_ALT _IOC(_IOC_READ | _IOC_WRITE, 'V', 3, 0)
+#define VBG_IOCTL_LOG_ALT(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 9, s)
+
struct vbg_session;
/** VBox guest memory balloon. */
diff --git a/drivers/virt/vboxguest/vboxguest_linux.c b/drivers/virt/vboxguest/vboxguest_linux.c
index 6e8c0f1c1056..32c2c52f7e84 100644
--- a/drivers/virt/vboxguest/vboxguest_linux.c
+++ b/drivers/virt/vboxguest/vboxguest_linux.c
@@ -131,7 +131,8 @@ static long vbg_misc_device_ioctl(struct file *filp, unsigned int req,
* the need for a bounce-buffer and another copy later on.
*/
is_vmmdev_req = (req & ~IOCSIZE_MASK) == VBG_IOCTL_VMMDEV_REQUEST(0) ||
- req == VBG_IOCTL_VMMDEV_REQUEST_BIG;
+ req == VBG_IOCTL_VMMDEV_REQUEST_BIG ||
+ req == VBG_IOCTL_VMMDEV_REQUEST_BIG_ALT;
if (is_vmmdev_req)
buf = vbg_req_alloc(size, VBG_IOCTL_HDR_TYPE_DEFAULT,
diff --git a/include/uapi/linux/vboxguest.h b/include/uapi/linux/vboxguest.h
index 9cec58a6a5ea..f79d7abe27db 100644
--- a/include/uapi/linux/vboxguest.h
+++ b/include/uapi/linux/vboxguest.h
@@ -103,7 +103,7 @@ VMMDEV_ASSERT_SIZE(vbg_ioctl_driver_version_info, 24 + 20);
/* IOCTL to perform a VMM Device request larger then 1KB. */
-#define VBG_IOCTL_VMMDEV_REQUEST_BIG _IOC(_IOC_READ | _IOC_WRITE, 'V', 3, 0)
+#define VBG_IOCTL_VMMDEV_REQUEST_BIG _IO('V', 3)
/** VBG_IOCTL_HGCM_CONNECT data structure. */
@@ -198,7 +198,7 @@ struct vbg_ioctl_log {
} u;
};
-#define VBG_IOCTL_LOG(s) _IOC(_IOC_READ | _IOC_WRITE, 'V', 9, s)
+#define VBG_IOCTL_LOG(s) _IO('V', 9)
/** VBG_IOCTL_WAIT_FOR_EVENTS data structure. */
--
2.26.2
Hi Greg and everyone,
On all kernels, SEV enabled guests hit might_sleep() warnings when a
driver (nvme in this case) allocates through the DMA API in a
non-blockable context:
BUG: sleeping function called from invalid context at mm/vmalloc.c:1710
in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3383, name: fio
2 locks held by fio/3383:
#0: ffff93b6a8568348 (&sb->s_type->i_mutex_key#16){+.+.}, at: ext4_file_write_iter+0xa2/0x5d0
#1: ffffffffa52a61a0 (rcu_read_lock){....}, at: hctx_lock+0x1a/0xe0
CPU: 0 PID: 3383 Comm: fio Tainted: G W 5.5.10 #14
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
dump_stack+0x98/0xd5
___might_sleep+0x175/0x260
__might_sleep+0x4a/0x80
_vm_unmap_aliases+0x45/0x250
vm_unmap_aliases+0x19/0x20
__set_memory_enc_dec+0xa4/0x130
set_memory_decrypted+0x10/0x20
dma_direct_alloc_pages+0x148/0x150
dma_direct_alloc+0xe/0x10
dma_alloc_attrs+0x86/0xc0
dma_pool_alloc+0x16f/0x2b0
nvme_queue_rq+0x878/0xc30 [nvme]
__blk_mq_try_issue_directly+0x135/0x200
blk_mq_request_issue_directly+0x4f/0x80
blk_mq_try_issue_list_directly+0x46/0xb0
blk_mq_sched_insert_requests+0x19b/0x2b0
blk_mq_flush_plug_list+0x22f/0x3b0
blk_flush_plug_list+0xd1/0x100
blk_finish_plug+0x2c/0x40
iomap_dio_rw+0x427/0x490
ext4_file_write_iter+0x181/0x5d0
aio_write+0x109/0x1b0
io_submit_one+0x7d0/0xfa0
__x64_sys_io_submit+0xa2/0x280
do_syscall_64+0x5f/0x250
entry_SYSCALL_64_after_hwframe+0x49/0xbe
There is a series of patches in Christoph's dma-mapping.git repo in the
for-next branch on track for 5.8:
1d659236fb43 dma-pool: scale the default DMA coherent pool size with memory capacity
82fef0ad811f x86/mm: unencrypted non-blocking DMA allocations use coherent pools
2edc5bb3c5cc dma-pool: add pool sizes to debugfs
76a19940bd62 dma-direct: atomic allocations must come from atomic coherent pools
54adadf9b085 dma-pool: dynamically expanding atomic pools
c84dc6e68a1d dma-pool: add additional coherent pools to map to gfp mask
e860c299ac0d dma-remap: separate DMA atomic pools from direct remap code
We'd like to prepare backports to LTS kernels so that our guest images are
not modified by us and don't exhibit this issue.
They are bigger than we'd like:
arch/x86/Kconfig | 1 +
drivers/iommu/dma-iommu.c | 5 +-
include/linux/dma-direct.h | 2 +
include/linux/dma-mapping.h | 6 +-
kernel/dma/Kconfig | 6 +-
kernel/dma/Makefile | 1 +
kernel/dma/direct.c | 56 ++++++--
kernel/dma/pool.c | 264 ++++++++++++++++++++++++++++++++++++
kernel/dma/remap.c | 121 +----------------
9 files changed, 324 insertions(+), 138 deletions(-)
create mode 100644 kernel/dma/pool.c
But they apply relatively cleanly to more modern kernels like 5.4. We'd
like to backport these all the way to 4.19, however, otherwise guests
encounter these bugs.
The changes to kernel/dma/remap.c, for example, simply moves code to the
new pool.c. But that original code is actually in arch/arm64 in 4.19 and
was moved in 5.0:
commit 0c3b3171ceccb8830c2bb5adff1b4e9b204c1450
Author: Christoph Hellwig <hch(a)lst.de>
Date: Sun Nov 4 20:29:28 2018 +0100
dma-mapping: move the arm64 noncoherent alloc/free support to common code
commit f0edfea8ef93ed6cc5f747c46c85c8e53e0798a0
Author: Christoph Hellwig <hch(a)lst.de>
Date: Fri Aug 24 10:31:08 2018 +0200
dma-mapping: move the remap helpers to a separate file
And there are most certainly more dependencies to get a cleanly applying
series to 4.19.123. So the backports could be quite extensive.
Peter Gonda <pgonda(a)google.com> is currently handling these and we're
looking for advice: should we compile a full list of required backports
that would be needed to get a series that would only consist of minor
conflicts or is this going to be a non-starter?
Thanks!
Hi,
please apply upstream commit 629823b87240 ("igb: use igb_adapter->io_addr
instead of e1000_hw->hw_addr") to v4.4.y and to v4.9.y. The problem solved
with this commit has been observed in chromeos-4.4.
Thanks,
Guenter
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-4.19.y/kernel/v4.19.124/p…
-------------------------------------------------------------------------------
stable/linux-4.19.y boot: 89 boots: 3 failed, 83 passed with 3 untried/unknown (v4.19.124)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-4.19.y/kernel/v4.19.1…
Full Build Summary: https://kernelci.org/build/stable/branch/linux-4.19.y/kernel/v4.19.124/
Tree: stable
Branch: linux-4.19.y
Git Describe: v4.19.124
Git Commit: 1bab61d3e8cd96f2badf515dcb06e4e1029bc017
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 56 unique boards, 18 SoC families, 18 builds out of 206
Boot Regressions Detected:
arm:
multi_v7_defconfig:
gcc-8:
omap3-beagle-xm:
lab-baylibre: new failure (last pass: v4.19.123)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.19.123)
arm64:
defconfig:
gcc-8:
meson-gxl-s905x-khadas-vim:
lab-baylibre: new failure (last pass: v4.19.123)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
omap3-beagle-xm: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxl-s905x-khadas-vim: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-4.14.y/kernel/v4.14.181/p…
-------------------------------------------------------------------------------
stable/linux-4.14.y boot: 47 boots: 2 failed, 45 passed (v4.14.181)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-4.14.y/kernel/v4.14.1…
Full Build Summary: https://kernelci.org/build/stable/branch/linux-4.14.y/kernel/v4.14.181/
Tree: stable
Branch: linux-4.14.y
Git Describe: v4.14.181
Git Commit: a41ba30d9df20fe141c92aacbb56b6b077f19716
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 30 unique boards, 12 SoC families, 8 builds out of 201
Boot Regressions Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 117 days (last pass: v4.14.166 - first fail: v4.14.167)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxm-q200: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-5.6.y/kernel/v5.6.14/plan…
-------------------------------------------------------------------------------
stable/linux-5.6.y boot: 82 boots: 1 failed, 78 passed with 3 untried/unknown (v5.6.14)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-5.6.y/kernel/v5.6.14/
Full Build Summary: https://kernelci.org/build/stable/branch/linux-5.6.y/kernel/v5.6.14/
Tree: stable
Branch: linux-5.6.y
Git Describe: v5.6.14
Git Commit: e3ac9117b18596b7363d5b7904ab03a7d782b40c
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 56 unique boards, 16 SoC families, 13 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: new failure (last pass: v5.6.13)
arm:
sunxi_defconfig:
gcc-8:
sun8i-a83t-bananapi-m3:
lab-clabbe: new failure (last pass: v5.6.13)
arm64:
defconfig:
gcc-8:
meson-gxl-s805x-libretech-ac:
lab-baylibre: new failure (last pass: v5.6.12)
sun50i-h6-orangepi-3:
lab-clabbe: new failure (last pass: v5.6.12)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-5.4.y/kernel/v5.4.42/plan…
-------------------------------------------------------------------------------
stable/linux-5.4.y boot: 84 boots: 1 failed, 81 passed with 2 untried/unknown (v5.4.42)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-5.4.y/kernel/v5.4.42/
Full Build Summary: https://kernelci.org/build/stable/branch/linux-5.4.y/kernel/v5.4.42/
Tree: stable
Branch: linux-5.4.y
Git Describe: v5.4.42
Git Commit: 1cdaf895c99d319c0007d0b62818cf85fc4b087f
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 58 unique boards, 17 SoC families, 13 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: failing since 5 days (last pass: v5.4.40 - first fail: v5.4.41)
arm64:
defconfig:
gcc-8:
meson-g12b-a311d-khadas-vim3:
lab-baylibre: new failure (last pass: v5.4.41)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
---
For more info write to <info(a)kernelci.org>
Potentially, hvc_open() can be called in parallel when two tasks calls
open() on /dev/hvcX. In such a scenario, if the hp->ops->notifier_add()
callback in the function fails, where it sets the tty->driver_data to
NULL, the parallel hvc_open() can see this NULL and cause a memory abort.
Hence, do a NULL check at the beginning, before proceeding ahead.
The issue can be easily reproduced by launching two tasks simultaneously
that does an open() call on /dev/hvcX.
For example:
$ cat /dev/hvc0 & cat /dev/hvc0 &
Cc: stable(a)vger.kernel.org
Signed-off-by: Raghavendra Rao Ananta <rananta(a)codeaurora.org>
---
drivers/tty/hvc/hvc_console.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c
index 436cc51c92c3..80709f754cc8 100644
--- a/drivers/tty/hvc/hvc_console.c
+++ b/drivers/tty/hvc/hvc_console.c
@@ -350,6 +350,9 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
unsigned long flags;
int rc = 0;
+ if (!hp)
+ return -ENODEV;
+
spin_lock_irqsave(&hp->port.lock, flags);
/* Check and then increment for fast path open. */
if (hp->port.count++ > 0) {
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-4.9.y/kernel/v4.9.224/pla…
-------------------------------------------------------------------------------
stable/linux-4.9.y boot: 39 boots: 1 failed, 37 passed with 1 untried/unknown (v4.9.224)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-4.9.y/kernel/v4.9.224/
Full Build Summary: https://kernelci.org/build/stable/branch/linux-4.9.y/kernel/v4.9.224/
Tree: stable
Branch: linux-4.9.y
Git Describe: v4.9.224
Git Commit: e4ebe4fae299b559e683eb31a2dc950507842bf7
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 22 unique boards, 10 SoC families, 10 builds out of 197
Boot Regressions Detected:
arm:
sunxi_defconfig:
gcc-8:
sun4i-a10-olinuxino-lime:
lab-baylibre: new failure (last pass: v4.9.223)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable/branch/linux-4.4.y/kernel/v4.4.224/pla…
-------------------------------------------------------------------------------
stable/linux-4.4.y boot: 30 boots: 3 failed, 27 passed (v4.4.224)
Full Boot Summary: https://kernelci.org/boot/all/job/stable/branch/linux-4.4.y/kernel/v4.4.224/
Full Build Summary: https://kernelci.org/build/stable/branch/linux-4.4.y/kernel/v4.4.224/
Tree: stable
Branch: linux-4.4.y
Git Describe: v4.4.224
Git Commit: d72237c1e00f85e5df1c040280d50561c8a28329
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tested: 16 unique boards, 8 SoC families, 9 builds out of 190
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
---
For more info write to <info(a)kernelci.org>
From: Chris Wilson <chris(a)chris-wilson.co.uk>
If we park/unpark faster than we can respond to RPS events, we never
will process a downclock event after expiring a waitboost, and thus we
will forever restart the GPU at max clocks even if the workload switches
and doesn't justify full power.
Closes: https://gitlab.freedesktop.org/drm/intel/issues/1500
Fixes: 3e7abf814193 ("drm/i915: Extract GT render power state management")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti(a)intel.com>
Cc: Lyude Paul <lyude(a)redhat.com>
Reviewed-by: Andi Shyti <andi.shyti(a)intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200322163225.28791-1-chris@…
Cc: <stable(a)vger.kernel.org> # v5.5+
(cherry picked from commit 21abf0bf168dffff1192e0f072af1dc74ae1ff0e)
---
drivers/gpu/drm/i915/gt/intel_rps.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_rps.c b/drivers/gpu/drm/i915/gt/intel_rps.c
index 6beaa2b4e8f7..32ccb4efb0d9 100644
--- a/drivers/gpu/drm/i915/gt/intel_rps.c
+++ b/drivers/gpu/drm/i915/gt/intel_rps.c
@@ -768,6 +768,19 @@ void intel_rps_park(struct intel_rps *rps)
intel_uncore_forcewake_get(rps_to_uncore(rps), FORCEWAKE_MEDIA);
rps_set(rps, rps->idle_freq, false);
intel_uncore_forcewake_put(rps_to_uncore(rps), FORCEWAKE_MEDIA);
+
+ /*
+ * Since we will try and restart from the previously requested
+ * frequency on unparking, treat this idle point as a downclock
+ * interrupt and reduce the frequency for resume. If we park/unpark
+ * more frequently than the rps worker can run, we will not respond
+ * to any EI and never see a change in frequency.
+ *
+ * (Note we accommodate Cherryview's limitation of only using an
+ * even bin by applying it to all.)
+ */
+ rps->cur_freq =
+ max_t(int, round_down(rps->cur_freq - 1, 2), rps->min_freq);
}
void intel_rps_boost(struct i915_request *rq)
From: Chris Wilson <chris(a)chris-wilson.co.uk>
If we use a non-forcewaked write to PMINTRMSK, it does not take effect
until much later, if at all, causing a loss of RPS interrupts and no GPU
reclocking, leaving the GPU running at the wrong frequency for long
periods of time.
Reported-by: Francisco Jerez <currojerez(a)riseup.net>
Suggested-by: Francisco Jerez <currojerez(a)riseup.net>
Fixes: 35cc7f32c298 ("drm/i915/gt: Use non-forcewake writes for RPS")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Francisco Jerez <currojerez(a)riseup.net>
Cc: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Cc: Andi Shyti <andi.shyti(a)intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Reviewed-by: Andi Shyti <andi.shyti(a)intel.com>
Reviewed-by: Francisco Jerez <currojerez(a)riseup.net>
Cc: <stable(a)vger.kernel.org> # v5.6+
Link: https://patchwork.freedesktop.org/patch/msgid/20200415170318.16771-2-chris@…
(cherry picked from commit a080bd994c4023042a2b605c65fa10a25933f636)
---
drivers/gpu/drm/i915/gt/intel_rps.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_rps.c b/drivers/gpu/drm/i915/gt/intel_rps.c
index c1a3d360de06..6beaa2b4e8f7 100644
--- a/drivers/gpu/drm/i915/gt/intel_rps.c
+++ b/drivers/gpu/drm/i915/gt/intel_rps.c
@@ -85,7 +85,8 @@ static void rps_enable_interrupts(struct intel_rps *rps)
gen6_gt_pm_enable_irq(gt, rps->pm_events);
spin_unlock_irq(>->irq_lock);
- set(gt->uncore, GEN6_PMINTRMSK, rps_pm_mask(rps, rps->cur_freq));
+ intel_uncore_write(gt->uncore,
+ GEN6_PMINTRMSK, rps_pm_mask(rps, rps->last_freq));
}
static void gen6_rps_reset_interrupts(struct intel_rps *rps)
@@ -119,7 +120,8 @@ static void rps_disable_interrupts(struct intel_rps *rps)
rps->pm_events = 0;
- set(gt->uncore, GEN6_PMINTRMSK, rps_pm_sanitize_mask(rps, ~0u));
+ intel_uncore_write(gt->uncore,
+ GEN6_PMINTRMSK, rps_pm_sanitize_mask(rps, ~0u));
spin_lock_irq(>->irq_lock);
gen6_gt_pm_disable_irq(gt, GEN6_PM_RPS_EVENTS);
The patch titled
Subject: sh: include linux/time_types.h for sockios
has been added to the -mm tree. Its filename is
sh-include-linux-time_typesh-for-sockios.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/sh-include-linux-time_typesh-for-s…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/sh-include-linux-time_typesh-for-s…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Arnd Bergmann <arnd(a)arndb.de>
Subject: sh: include linux/time_types.h for sockios
Using the socket ioctls on arch/sh (and only there) causes build time
problems when __kernel_old_timeval/__kernel_old_timespec are not already
visible to the compiler.
Add an explict include line for the header that defines these
structures.
Link: http://lkml.kernel.org/r/20200519131327.1836482-1-arnd@arndb.de
Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
Reported-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Tested-by: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Fixes: 8c709f9a0693 ("y2038: sh: remove timeval/timespec usage from headers")
Fixes: 0768e17073dc ("net: socket: implement 64-bit timestamps")
Cc: Yoshinori Sato <ysato(a)users.sourceforge.jp>
Cc: Rich Felker <dalias(a)libc.org>
Cc: "David S. Miller" <davem(a)davemloft.net>
Cc: John Paul Adrian Glaubitz <glaubitz(a)physik.fu-berlin.de>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
arch/sh/include/uapi/asm/sockios.h | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/sh/include/uapi/asm/sockios.h~sh-include-linux-time_typesh-for-sockios
+++ a/arch/sh/include/uapi/asm/sockios.h
@@ -2,6 +2,8 @@
#ifndef __ASM_SH_SOCKIOS_H
#define __ASM_SH_SOCKIOS_H
+#include <linux/time_types.h>
+
/* Socket-level I/O control calls. */
#define FIOGETOWN _IOR('f', 123, int)
#define FIOSETOWN _IOW('f', 124, int)
_
Patches currently in -mm which might be from arnd(a)arndb.de are
sh-include-linux-time_typesh-for-sockios.patch
drm-remove-drm-specific-kmap_atomic-code-fix.patch
bitops-avoid-clang-shift-count-overflow-warnings.patch
ubsan-fix-gcc-10-warnings.patch
arm64-add-support-for-folded-p4d-page-tables-fix.patch
KVM stores the gfn in MMIO SPTEs as a caching optimization. These are split
in two parts, as in "[high 11111 low]", to thwart any attempt to use these bits
in an L1TF attack. This works as long as there are 5 free bits between
MAXPHYADDR and bit 50 (inclusive), leaving bit 51 free so that the MMIO
access triggers a reserved-bit-set page fault.
The bit positions however were computed wrongly for AMD processors that have
encryption support. In this case, x86_phys_bits is reduced (for example
from 48 to 43, to account for the C bit at position 47 and four bits used
internally to store the SEV ASID and other stuff) while x86_cache_bits in
would remain set to 48, and _all_ bits between the reduced MAXPHYADDR
and bit 51 are set. Then low_phys_bits would also cover some of the
bits that are set in the shadow_mmio_value, terribly confusing the gfn
caching mechanism.
To fix this, avoid splitting gfns as long as the processor does not have
the L1TF bug (which includes all AMD processors). When there is no
splitting, low_phys_bits can be set to the reduced MAXPHYADDR removing
the overlap. This fixes "npt=0" operation on EPYC processors.
Thanks to Maxim Levitsky for bisecting this bug.
Cc: stable(a)vger.kernel.org
Fixes: 52918ed5fcf0 ("KVM: SVM: Override default MMIO mask if memory encryption is enabled")
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
---
arch/x86/kvm/mmu/mmu.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c
index 8071952e9cf2..86619631ff6a 100644
--- a/arch/x86/kvm/mmu/mmu.c
+++ b/arch/x86/kvm/mmu/mmu.c
@@ -335,6 +335,8 @@ void kvm_mmu_set_mmio_spte_mask(u64 mmio_mask, u64 mmio_value, u64 access_mask)
{
BUG_ON((u64)(unsigned)access_mask != access_mask);
BUG_ON((mmio_mask & mmio_value) != mmio_value);
+ WARN_ON(mmio_value & (shadow_nonpresent_or_rsvd_mask << shadow_nonpresent_or_rsvd_mask_len));
+ WARN_ON(mmio_value & shadow_nonpresent_or_rsvd_lower_gfn_mask);
shadow_mmio_value = mmio_value | SPTE_MMIO_MASK;
shadow_mmio_mask = mmio_mask | SPTE_SPECIAL_MASK;
shadow_mmio_access_mask = access_mask;
@@ -583,16 +585,15 @@ static void kvm_mmu_reset_all_pte_masks(void)
* the most significant bits of legal physical address space.
*/
shadow_nonpresent_or_rsvd_mask = 0;
- low_phys_bits = boot_cpu_data.x86_cache_bits;
- if (boot_cpu_data.x86_cache_bits <
- 52 - shadow_nonpresent_or_rsvd_mask_len) {
+ low_phys_bits = boot_cpu_data.x86_phys_bits;
+ if (boot_cpu_has_bug(X86_BUG_L1TF) &&
+ !WARN_ON_ONCE(boot_cpu_data.x86_cache_bits >=
+ 52 - shadow_nonpresent_or_rsvd_mask_len)) {
+ low_phys_bits = boot_cpu_data.x86_cache_bits
+ - shadow_nonpresent_or_rsvd_mask_len;
shadow_nonpresent_or_rsvd_mask =
- rsvd_bits(boot_cpu_data.x86_cache_bits -
- shadow_nonpresent_or_rsvd_mask_len,
- boot_cpu_data.x86_cache_bits - 1);
- low_phys_bits -= shadow_nonpresent_or_rsvd_mask_len;
- } else
- WARN_ON_ONCE(boot_cpu_has_bug(X86_BUG_L1TF));
+ rsvd_bits(low_phys_bits, boot_cpu_data.x86_cache_bits - 1);
+ }
shadow_nonpresent_or_rsvd_lower_gfn_mask =
GENMASK_ULL(low_phys_bits - 1, PAGE_SHIFT);
--
2.18.2
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.13-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.6.y boot: 163 boots: 3 failed, 148 passed with 5 offline, 6 untried/unknown, 1 conflict (v5.6.13-193-g67346f550ad8)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.6.y/kernel/v5.6.13-193-…
Tree: stable-rc
Branch: linux-5.6.y
Git Describe: v5.6.13-193-g67346f550ad8
Git Commit: 67346f550ad85f9ddd257856e32049416df51616
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 99 unique boards, 26 SoC families, 21 builds out of 200
Boot Regressions Detected:
arm:
exynos_defconfig:
gcc-8:
exynos5422-odroidxu3:
lab-collabora: failing since 1 day (last pass: v5.6.13 - first fail: v5.6.13-195-g4dae52cee3fd)
multi_v7_defconfig:
gcc-8:
sun8i-h2-plus-orangepi-r1:
lab-baylibre: new failure (last pass: v5.6.13-195-g4dae52cee3fd)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v5.6.13-195-g4dae52cee3fd)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
bcm2836-rpi-2-b: 1 failed lab
exynos_defconfig:
gcc-8:
exynos5422-odroidxu3: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
arm:
multi_v7_defconfig:
sun7i-a20-cubieboard2:
lab-clabbe: FAIL (gcc-8)
lab-baylibre: PASS (gcc-8)
---
For more info write to <info(a)kernelci.org>
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b2a5212fb634561bb734c6356904e37f6665b955 Mon Sep 17 00:00:00 2001
From: Daniel Borkmann <daniel(a)iogearbox.net>
Date: Fri, 15 May 2020 12:11:18 +0200
Subject: [PATCH] bpf: Restrict bpf_trace_printk()'s %s usage and add %pks,
%pus specifier
Usage of plain %s conversion specifier in bpf_trace_printk() suffers from the
very same issue as bpf_probe_read{,str}() helpers, that is, it is broken on
archs with overlapping address ranges.
While the helpers have been addressed through work in 6ae08ae3dea2 ("bpf: Add
probe_read_{user, kernel} and probe_read_{user, kernel}_str helpers"), we need
an option for bpf_trace_printk() as well to fix it.
Similarly as with the helpers, force users to make an explicit choice by adding
%pks and %pus specifier to bpf_trace_printk() which will then pick the corresponding
strncpy_from_unsafe*() variant to perform the access under KERNEL_DS or USER_DS.
The %pk* (kernel specifier) and %pu* (user specifier) can later also be extended
for other objects aside strings that are probed and printed under tracing, and
reused out of other facilities like bpf_seq_printf() or BTF based type printing.
Existing behavior of %s for current users is still kept working for archs where it
is not broken and therefore gated through CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE.
For archs not having this property we fall-back to pick probing under KERNEL_DS as
a sensible default.
Fixes: 8d3b7dce8622 ("bpf: add support for %s specifier to bpf_trace_printk()")
Reported-by: Linus Torvalds <torvalds(a)linux-foundation.org>
Reported-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast(a)kernel.org>
Cc: Masami Hiramatsu <mhiramat(a)kernel.org>
Cc: Brendan Gregg <brendan.d.gregg(a)gmail.com>
Link: https://lore.kernel.org/bpf/20200515101118.6508-4-daniel@iogearbox.net
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
index 8ebe46b1af39..5dfcc4592b23 100644
--- a/Documentation/core-api/printk-formats.rst
+++ b/Documentation/core-api/printk-formats.rst
@@ -112,6 +112,20 @@ used when printing stack backtraces. The specifier takes into
consideration the effect of compiler optimisations which may occur
when tail-calls are used and marked with the noreturn GCC attribute.
+Probed Pointers from BPF / tracing
+----------------------------------
+
+::
+
+ %pks kernel string
+ %pus user string
+
+The ``k`` and ``u`` specifiers are used for printing prior probed memory from
+either kernel memory (k) or user memory (u). The subsequent ``s`` specifier
+results in printing a string. For direct use in regular vsnprintf() the (k)
+and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),
+for example, it reads the memory it is pointing to without faulting.
+
Kernel Pointers
---------------
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index b83bdaa31c7b..a010edc37ee0 100644
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -323,17 +323,15 @@ static const struct bpf_func_proto *bpf_get_probe_write_proto(void)
/*
* Only limited trace_printk() conversion specifiers allowed:
- * %d %i %u %x %ld %li %lu %lx %lld %lli %llu %llx %p %s
+ * %d %i %u %x %ld %li %lu %lx %lld %lli %llu %llx %p %pks %pus %s
*/
BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
u64, arg2, u64, arg3)
{
+ int i, mod[3] = {}, fmt_cnt = 0;
+ char buf[64], fmt_ptype;
+ void *unsafe_ptr = NULL;
bool str_seen = false;
- int mod[3] = {};
- int fmt_cnt = 0;
- u64 unsafe_addr;
- char buf[64];
- int i;
/*
* bpf_check()->check_func_arg()->check_stack_boundary()
@@ -359,40 +357,71 @@ BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
if (fmt[i] == 'l') {
mod[fmt_cnt]++;
i++;
- } else if (fmt[i] == 'p' || fmt[i] == 's') {
+ } else if (fmt[i] == 'p') {
mod[fmt_cnt]++;
+ if ((fmt[i + 1] == 'k' ||
+ fmt[i + 1] == 'u') &&
+ fmt[i + 2] == 's') {
+ fmt_ptype = fmt[i + 1];
+ i += 2;
+ goto fmt_str;
+ }
+
/* disallow any further format extensions */
if (fmt[i + 1] != 0 &&
!isspace(fmt[i + 1]) &&
!ispunct(fmt[i + 1]))
return -EINVAL;
- fmt_cnt++;
- if (fmt[i] == 's') {
- if (str_seen)
- /* allow only one '%s' per fmt string */
- return -EINVAL;
- str_seen = true;
-
- switch (fmt_cnt) {
- case 1:
- unsafe_addr = arg1;
- arg1 = (long) buf;
- break;
- case 2:
- unsafe_addr = arg2;
- arg2 = (long) buf;
- break;
- case 3:
- unsafe_addr = arg3;
- arg3 = (long) buf;
- break;
- }
- buf[0] = 0;
- strncpy_from_unsafe(buf,
- (void *) (long) unsafe_addr,
+
+ goto fmt_next;
+ } else if (fmt[i] == 's') {
+ mod[fmt_cnt]++;
+ fmt_ptype = fmt[i];
+fmt_str:
+ if (str_seen)
+ /* allow only one '%s' per fmt string */
+ return -EINVAL;
+ str_seen = true;
+
+ if (fmt[i + 1] != 0 &&
+ !isspace(fmt[i + 1]) &&
+ !ispunct(fmt[i + 1]))
+ return -EINVAL;
+
+ switch (fmt_cnt) {
+ case 0:
+ unsafe_ptr = (void *)(long)arg1;
+ arg1 = (long)buf;
+ break;
+ case 1:
+ unsafe_ptr = (void *)(long)arg2;
+ arg2 = (long)buf;
+ break;
+ case 2:
+ unsafe_ptr = (void *)(long)arg3;
+ arg3 = (long)buf;
+ break;
+ }
+
+ buf[0] = 0;
+ switch (fmt_ptype) {
+ case 's':
+#ifdef CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
+ strncpy_from_unsafe(buf, unsafe_ptr,
sizeof(buf));
+ break;
+#endif
+ case 'k':
+ strncpy_from_unsafe_strict(buf, unsafe_ptr,
+ sizeof(buf));
+ break;
+ case 'u':
+ strncpy_from_unsafe_user(buf,
+ (__force void __user *)unsafe_ptr,
+ sizeof(buf));
+ break;
}
- continue;
+ goto fmt_next;
}
if (fmt[i] == 'l') {
@@ -403,6 +432,7 @@ BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
if (fmt[i] != 'i' && fmt[i] != 'd' &&
fmt[i] != 'u' && fmt[i] != 'x')
return -EINVAL;
+fmt_next:
fmt_cnt++;
}
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 7c488a1ce318..532b6606a18a 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -2168,6 +2168,10 @@ char *fwnode_string(char *buf, char *end, struct fwnode_handle *fwnode,
* f full name
* P node name, including a possible unit address
* - 'x' For printing the address. Equivalent to "%lx".
+ * - '[ku]s' For a BPF/tracing related format specifier, e.g. used out of
+ * bpf_trace_printk() where [ku] prefix specifies either kernel (k)
+ * or user (u) memory to probe, and:
+ * s a string, equivalent to "%s" on direct vsnprintf() use
*
* ** When making changes please also update:
* Documentation/core-api/printk-formats.rst
@@ -2251,6 +2255,14 @@ char *pointer(const char *fmt, char *buf, char *end, void *ptr,
if (!IS_ERR(ptr))
break;
return err_ptr(buf, end, ptr, spec);
+ case 'u':
+ case 'k':
+ switch (fmt[1]) {
+ case 's':
+ return string(buf, end, ptr, spec);
+ default:
+ return error_string(buf, end, "(einval)", spec);
+ }
}
/* default is to _not_ leak addresses, hash before printing */
plane->index is NOT the index of the color plane in a YUV frame.
Actually, a YUV frame is represented by a single drm_plane, even though
it contains three Y, U, V planes.
Cc: stable(a)vger.kernel.org # v5.3
Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs")
Signed-off-by: Paul Cercueil <paul(a)crapouillou.net>
---
drivers/gpu/drm/ingenic/ingenic-drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c b/drivers/gpu/drm/ingenic/ingenic-drm.c
index 97244462599b..3207105755c9 100644
--- a/drivers/gpu/drm/ingenic/ingenic-drm.c
+++ b/drivers/gpu/drm/ingenic/ingenic-drm.c
@@ -386,7 +386,7 @@ static void ingenic_drm_plane_atomic_update(struct drm_plane *plane,
addr = drm_fb_cma_get_gem_addr(state->fb, state, 0);
width = state->src_w >> 16;
height = state->src_h >> 16;
- cpp = state->fb->format->cpp[plane->index];
+ cpp = state->fb->format->cpp[0];
priv->dma_hwdesc->addr = addr;
priv->dma_hwdesc->cmd = width * height * cpp / 4;
--
2.26.2
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e
Gitweb: https://git.kernel.org/tip/a9a3ed1eff3601b63aea4fb462d8b3b92c7c1e7e
Author: Borislav Petkov <bp(a)suse.de>
AuthorDate: Wed, 22 Apr 2020 18:11:30 +02:00
Committer: Borislav Petkov <bp(a)suse.de>
CommitterDate: Fri, 15 May 2020 11:48:01 +02:00
x86: Fix early boot crash on gcc-10, third try
... or the odyssey of trying to disable the stack protector for the
function which generates the stack canary value.
The whole story started with Sergei reporting a boot crash with a kernel
built with gcc-10:
Kernel panic — not syncing: stack-protector: Kernel stack is corrupted in: start_secondary
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.6.0-rc5—00235—gfffb08b37df9 #139
Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./H77M—D3H, BIOS F12 11/14/2013
Call Trace:
dump_stack
panic
? start_secondary
__stack_chk_fail
start_secondary
secondary_startup_64
-—-[ end Kernel panic — not syncing: stack—protector: Kernel stack is corrupted in: start_secondary
This happens because gcc-10 tail-call optimizes the last function call
in start_secondary() - cpu_startup_entry() - and thus emits a stack
canary check which fails because the canary value changes after the
boot_init_stack_canary() call.
To fix that, the initial attempt was to mark the one function which
generates the stack canary with:
__attribute__((optimize("-fno-stack-protector"))) ... start_secondary(void *unused)
however, using the optimize attribute doesn't work cumulatively
as the attribute does not add to but rather replaces previously
supplied optimization options - roughly all -fxxx options.
The key one among them being -fno-omit-frame-pointer and thus leading to
not present frame pointer - frame pointer which the kernel needs.
The next attempt to prevent compilers from tail-call optimizing
the last function call cpu_startup_entry(), shy of carving out
start_secondary() into a separate compilation unit and building it with
-fno-stack-protector, was to add an empty asm("").
This current solution was short and sweet, and reportedly, is supported
by both compilers but we didn't get very far this time: future (LTO?)
optimization passes could potentially eliminate this, which leads us
to the third attempt: having an actual memory barrier there which the
compiler cannot ignore or move around etc.
That should hold for a long time, but hey we said that about the other
two solutions too so...
Reported-by: Sergei Trofimovich <slyfox(a)gentoo.org>
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Tested-by: Kalle Valo <kvalo(a)codeaurora.org>
Cc: <stable(a)vger.kernel.org>
Link: https://lkml.kernel.org/r/20200314164451.346497-1-slyfox@gentoo.org
---
arch/x86/include/asm/stackprotector.h | 7 ++++++-
arch/x86/kernel/smpboot.c | 8 ++++++++
arch/x86/xen/smp_pv.c | 1 +
include/linux/compiler.h | 6 ++++++
init/main.c | 2 ++
5 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/stackprotector.h b/arch/x86/include/asm/stackprotector.h
index 91e29b6..9804a79 100644
--- a/arch/x86/include/asm/stackprotector.h
+++ b/arch/x86/include/asm/stackprotector.h
@@ -55,8 +55,13 @@
/*
* Initialize the stackprotector canary value.
*
- * NOTE: this must only be called from functions that never return,
+ * NOTE: this must only be called from functions that never return
* and it must always be inlined.
+ *
+ * In addition, it should be called from a compilation unit for which
+ * stack protector is disabled. Alternatively, the caller should not end
+ * with a function call which gets tail-call optimized as that would
+ * lead to checking a modified canary value.
*/
static __always_inline void boot_init_stack_canary(void)
{
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 8c89e4d..2f24c33 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -266,6 +266,14 @@ static void notrace start_secondary(void *unused)
wmb();
cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
+
+ /*
+ * Prevent tail call to cpu_startup_entry() because the stack protector
+ * guard has been changed a couple of function calls up, in
+ * boot_init_stack_canary() and must not be checked before tail calling
+ * another function.
+ */
+ prevent_tail_call_optimization();
}
/**
diff --git a/arch/x86/xen/smp_pv.c b/arch/x86/xen/smp_pv.c
index 8fb8a50..f2adb63 100644
--- a/arch/x86/xen/smp_pv.c
+++ b/arch/x86/xen/smp_pv.c
@@ -93,6 +93,7 @@ asmlinkage __visible void cpu_bringup_and_idle(void)
cpu_bringup();
boot_init_stack_canary();
cpu_startup_entry(CPUHP_AP_ONLINE_IDLE);
+ prevent_tail_call_optimization();
}
void xen_smp_intr_free_pv(unsigned int cpu)
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index 034b0a6..448c91b 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -356,4 +356,10 @@ static inline void *offset_to_ptr(const int *off)
/* &a[0] degrades to a pointer: a different type from an array */
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
+/*
+ * This is needed in functions which generate the stack canary, see
+ * arch/x86/kernel/smpboot.c::start_secondary() for an example.
+ */
+#define prevent_tail_call_optimization() mb()
+
#endif /* __LINUX_COMPILER_H */
diff --git a/init/main.c b/init/main.c
index 1a5da2c..ad3812b 100644
--- a/init/main.c
+++ b/init/main.c
@@ -1036,6 +1036,8 @@ asmlinkage __visible void __init start_kernel(void)
/* Do the rest non-__init'ed, we're now alive */
arch_call_rest_init();
+
+ prevent_tail_call_optimization();
}
/* Call all constructor functions linked into the kernel. */
The GC860 has one GPU device which has a 2d and 3d core. In this case
we want to expose perfmon information for both cores.
The driver has one array which contains all possible perfmon domains
with some meta data - doms_meta. Here we can see that for the GC860
two elements of that array are relevant:
doms_3d: is at index 0 in the doms_meta array with 8 perfmon domains
doms_2d: is at index 1 in the doms_meta array with 1 perfmon domain
The userspace driver wants to get a list of all perfmon domains and
their perfmon signals. This is done by iterating over all domains and
their signals. If the userspace driver wants to access the domain with
id 8 the kernel driver fails and returns invalid data from doms_3d with
and invalid offset.
This results in:
Unable to handle kernel paging request at virtual address 00000000
On such a device it is not possible to use the userspace driver at all.
The fix for this off-by-one error is quite simple.
Reported-by: Paul Cercueil <paul(a)crapouillou.net>
Tested-by: Paul Cercueil <paul(a)crapouillou.net>
Fixes: ed1dd899baa3 ("drm/etnaviv: rework perfmon query infrastructure")
Cc: stable(a)vger.kernel.org
Signed-off-by: Christian Gmeiner <christian.gmeiner(a)gmail.com>
---
drivers/gpu/drm/etnaviv/etnaviv_perfmon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
index e6795bafcbb9..75f9db8f7bec 100644
--- a/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
+++ b/drivers/gpu/drm/etnaviv/etnaviv_perfmon.c
@@ -453,7 +453,7 @@ static const struct etnaviv_pm_domain *pm_domain(const struct etnaviv_gpu *gpu,
if (!(gpu->identity.features & meta->feature))
continue;
- if (meta->nr_domains < (index - offset)) {
+ if (index - offset >= meta->nr_domains) {
offset += meta->nr_domains;
continue;
}
--
2.26.2
BZ: 1768622
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=28587593
commit 8171cd68806bd2fc28ef688e32fb2a3b3deb04e5
Commit 53fafdbb8b21f ("KVM: x86: switch KVMCLOCK base to monotonic raw
clock") changed kvmclock to use tkr_raw instead of tkr_mono. However,
the default kvmclock_offset for the VM was still based on the monotonic
clock and, if the raw clock drifted enough from the monotonic clock,
this could cause a negative system_time to be written to the guest's
struct pvclock. RHEL5 does not like it and (if it boots fast enough to
observe a negative time value) it hangs.
There is another thing to be careful about: getboottime64 returns the
host boot time with tkr_mono frequency, and subtracting the tkr_raw-based
kvmclock value will cause the wallclock to be off if tkr_raw drifts
from tkr_mono. To avoid this, compute the wallclock delta from the
current time instead of being clever and using getboottime64.
Fixes: 53fafdbb8b21f ("KVM: x86: switch KVMCLOCK base to monotonic raw clock")
Cc: stable(a)vger.kernel.org
Reviewed-by: Vitaly Kuznetsov <vkuznets(a)redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
Index: kernel-rhel/arch/x86/kvm/x86.c
===================================================================
--- kernel-rhel.orig/arch/x86/kvm/x86.c
+++ kernel-rhel/arch/x86/kvm/x86.c
@@ -1595,6 +1595,18 @@ static void update_pvclock_gtod(struct t
write_seqcount_end(&vdata->seq);
}
+
+static s64 get_kvmclock_base_ns(void)
+{
+ /* Count up from boot time, but with the frequency of the raw clock. */
+ return ktime_to_ns(ktime_add(ktime_get_raw(), pvclock_gtod_data.offs_boot));
+}
+#else
+static s64 get_kvmclock_base_ns(void)
+{
+ /* Master clock not used, so we can just use CLOCK_BOOTTIME. */
+ return ktime_get_boottime_ns();
+}
#endif
void kvm_set_pending_timer(struct kvm_vcpu *vcpu)
@@ -1608,7 +1620,7 @@ static void kvm_write_wall_clock(struct
int version;
int r;
struct pvclock_wall_clock wc;
- struct timespec64 boot;
+ u64 wall_nsec;
if (!wall_clock)
return;
@@ -1628,17 +1640,12 @@ static void kvm_write_wall_clock(struct
/*
* The guest calculates current wall clock time by adding
* system time (updated by kvm_guest_time_update below) to the
- * wall clock specified here. guest system time equals host
- * system time for us, thus we must fill in host boot time here.
+ * wall clock specified here. We do the reverse here.
*/
- getboottime64(&boot);
+ wall_nsec = ktime_get_real_ns() - get_kvmclock_ns(kvm);
- if (kvm->arch.kvmclock_offset) {
- struct timespec64 ts = ns_to_timespec64(kvm->arch.kvmclock_offset);
- boot = timespec64_sub(boot, ts);
- }
- wc.sec = (u32)boot.tv_sec; /* overflow in 2106 guest time */
- wc.nsec = boot.tv_nsec;
+ wc.nsec = do_div(wall_nsec, 1000000000);
+ wc.sec = (u32)wall_nsec; /* overflow in 2106 guest time */
wc.version = version;
kvm_write_guest(kvm, wall_clock, &wc, sizeof(wc));
@@ -1886,7 +1893,7 @@ void kvm_write_tsc(struct kvm_vcpu *vcpu
raw_spin_lock_irqsave(&kvm->arch.tsc_write_lock, flags);
offset = kvm_compute_tsc_offset(vcpu, data);
- ns = ktime_get_boot_ns();
+ ns = get_kvmclock_base_ns();
elapsed = ns - kvm->arch.last_tsc_nsec;
if (vcpu->arch.virtual_tsc_khz) {
@@ -2224,7 +2231,7 @@ u64 get_kvmclock_ns(struct kvm *kvm)
spin_lock(&ka->pvclock_gtod_sync_lock);
if (!ka->use_master_clock) {
spin_unlock(&ka->pvclock_gtod_sync_lock);
- return ktime_get_boot_ns() + ka->kvmclock_offset;
+ return get_kvmclock_base_ns() + ka->kvmclock_offset;
}
hv_clock.tsc_timestamp = ka->master_cycle_now;
@@ -2240,7 +2247,7 @@ u64 get_kvmclock_ns(struct kvm *kvm)
&hv_clock.tsc_to_system_mul);
ret = __pvclock_read_cycles(&hv_clock, rdtsc());
} else
- ret = ktime_get_boot_ns() + ka->kvmclock_offset;
+ ret = get_kvmclock_base_ns() + ka->kvmclock_offset;
put_cpu();
@@ -2339,7 +2346,7 @@ static int kvm_guest_time_update(struct
}
if (!use_master_clock) {
host_tsc = rdtsc();
- kernel_ns = ktime_get_boot_ns();
+ kernel_ns = get_kvmclock_base_ns();
}
tsc_timestamp = kvm_read_l1_tsc(v, host_tsc);
@@ -2379,6 +2386,7 @@ static int kvm_guest_time_update(struct
vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
vcpu->last_guest_tsc = tsc_timestamp;
+ WARN_ON(vcpu->hv_clock.system_time < 0);
/* If the host uses TSC clocksource, then it is stable */
pvclock_flags = 0;
@@ -9486,7 +9494,7 @@ int kvm_arch_init_vm(struct kvm *kvm, un
mutex_init(&kvm->arch.apic_map_lock);
spin_lock_init(&kvm->arch.pvclock_gtod_sync_lock);
- kvm->arch.kvmclock_offset = -ktime_get_boot_ns();
+ kvm->arch.kvmclock_offset = -get_kvmclock_base_ns();
pvclock_update_vm_gtod_copy(kvm);
kvm->arch.guest_can_read_msr_platform_info = true;
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: cdf0854b495e - Makefile: disallow data races on gcc-10 as well
The results of these automated tests are provided below.
Overall result: PASSED
Merge: OK
Compile: OK
Tests: OK
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=dataware…
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
Host 2:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
✅ stress: stress-ng
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ✅ Storage blktests
ppc64le:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
Host 2:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
⚡⚡⚡ Podman system integration test - as root
⚡⚡⚡ Podman system integration test - as user
⚡⚡⚡ LTP
⚡⚡⚡ Memory function: memfd_create
⚡⚡⚡ AMTU (Abstract Machine Test Utility)
⚡⚡⚡ Networking bridge: sanity
⚡⚡⚡ Ethernet drivers sanity
⚡⚡⚡ Networking socket: fuzz
⚡⚡⚡ Networking route: pmtu
⚡⚡⚡ Networking route_func - local
⚡⚡⚡ Networking route_func - forward
⚡⚡⚡ Networking TCP: keepalive test
⚡⚡⚡ Networking UDP: socket
⚡⚡⚡ Networking tunnel: geneve basic test
⚡⚡⚡ Networking tunnel: gre basic
⚡⚡⚡ L2TP basic test
⚡⚡⚡ Networking tunnel: vxlan basic
⚡⚡⚡ Networking ipsec: basic netns - tunnel
⚡⚡⚡ Libkcapi AF_ALG test
⚡⚡⚡ ALSA PCM loopback test
⚡⚡⚡ ALSA Control (mixer) Userspace Element test
🚧 ⚡⚡⚡ CIFS Connectathon
🚧 ⚡⚡⚡ POSIX pjd-fstest suites
🚧 ⚡⚡⚡ jvm - DaCapo Benchmark Suite
🚧 ⚡⚡⚡ jvm - jcstress tests
🚧 ⚡⚡⚡ Memory function: kaslr
🚧 ⚡⚡⚡ audit: audit testsuite test
🚧 ⚡⚡⚡ trace: ftrace/tracer
Host 3:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
⚡⚡⚡ xfstests - ext4
⚡⚡⚡ xfstests - xfs
⚡⚡⚡ selinux-policy: serge-testsuite
⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ IPMI driver test
🚧 ⚡⚡⚡ IPMItool loop stress test
🚧 ⚡⚡⚡ Storage blktests
Host 4:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
s390x:
Host 1:
✅ Boot test
✅ selinux-policy: serge-testsuite
✅ stress: stress-ng
🚧 ✅ Storage blktests
Host 2:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 3:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Memory function: memfd_create
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
x86_64:
Host 1:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
✅ LTP
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ pciutils: sanity smoke test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
Host 2:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 3:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
✅ stress: stress-ng
🚧 ✅ IOMMU boot test
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ✅ Storage blktests
Test sources: https://github.com/CKI-project/tests-beaker
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.13-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.6.y boot: 158 boots: 3 failed, 145 passed with 5 offline, 5 untried/unknown (v5.6.13-195-g4dae52cee3fd)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.6.y/kernel/v5.6.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.6.y/kernel/v5.6.13-195-…
Tree: stable-rc
Branch: linux-5.6.y
Git Describe: v5.6.13-195-g4dae52cee3fd
Git Commit: 4dae52cee3fdd5c174027f69eb44c1876f8837ce
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 100 unique boards, 26 SoC families, 20 builds out of 200
Boot Regressions Detected:
arm:
exynos_defconfig:
gcc-8:
exynos5422-odroidxu3:
lab-collabora: new failure (last pass: v5.6.13)
multi_v7_defconfig:
gcc-8:
sun8i-a83t-bananapi-m3:
lab-clabbe: new failure (last pass: v5.6.13)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v5.6.13)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
multi_v7_defconfig:
gcc-8:
bcm2836-rpi-2-b: 1 failed lab
exynos_defconfig:
gcc-8:
exynos5422-odroidxu3: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.41-1…
-------------------------------------------------------------------------------
stable-rc/linux-5.4.y boot: 138 boots: 1 failed, 129 passed with 5 offline, 3 untried/unknown (v5.4.41-148-gcac6eb2794c8)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-5.4.y/kernel/v5.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-5.4.y/kernel/v5.4.41-148-…
Tree: stable-rc
Branch: linux-5.4.y
Git Describe: v5.4.41-148-gcac6eb2794c8
Git Commit: cac6eb2794c85e7777fb0caac6fa75b6364d81a0
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 93 unique boards, 25 SoC families, 21 builds out of 200
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: new failure (last pass: v5.4.41-2-ged1728340b22)
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 100 days (last pass: v5.4.17-99-gbd0c6624a110 - first fail: v5.4.17-238-gbffcaa93483d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 41 days (last pass: v5.4.30-37-g40da5db79b55 - first fail: v5.4.30-39-g23c04177b89f)
arm64:
defconfig:
gcc-8:
sun50i-h6-orangepi-3:
lab-clabbe: new failure (last pass: v5.4.41-2-ged1728340b22)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.19.y/kernel/v4.19.12…
-------------------------------------------------------------------------------
stable-rc/linux-4.19.y boot: 118 boots: 1 failed, 108 passed with 5 offline, 4 untried/unknown (v4.19.123-81-gff1170bc0ae9)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.19.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.19.y/kernel/v4.19.123-8…
Tree: stable-rc
Branch: linux-4.19.y
Git Describe: v4.19.123-81-gff1170bc0ae9
Git Commit: ff1170bc0ae95f29422b828165e36382a33b2dd3
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 76 unique boards, 21 SoC families, 20 builds out of 206
Boot Regressions Detected:
arc:
hsdk_defconfig:
gcc-8:
hsdk:
lab-baylibre: failing since 4 days (last pass: v4.19.122-49-g6d5c161fb73d - first fail: v4.19.123-2-gbed44563668d)
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 6 days (last pass: v4.19.122 - first fail: v4.19.122-48-g92ba0b6b33ad)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 66 days (last pass: v4.19.108-87-g624c124960e8 - first fail: v4.19.109)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
When userspace configures KVM_GUESTDBG_SINGLESTEP, KVM will manage the
presence of X86_EFLAGS_TF via kvm_set/get_rflags on vcpus. The actual
rflag bit is therefore hidden from callers.
That includes init_emulate_ctxt() which uses the value returned from
kvm_get_flags() to set ctxt->tf. As a result, x86_emulate_instruction()
will skip a single step, leaving singlestep_rip stale and not returning
to userspace.
This resolves the issue by observing the vcpu guest_debug configuration
alongside ctxt->tf in x86_emulate_instruction(), performing the single
step if set.
Signed-off-by: Felipe Franciosi <felipe(a)nutanix.com>
---
arch/x86/kvm/x86.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index c17e6eb9ad43..78463f01c606 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -6919,7 +6919,7 @@ int x86_emulate_instruction(struct kvm_vcpu *vcpu, gpa_t cr2_or_gpa,
if (!ctxt->have_exception ||
exception_type(ctxt->exception.vector) == EXCPT_TRAP) {
kvm_rip_write(vcpu, ctxt->eip);
- if (r && ctxt->tf)
+ if ((r && ctxt->tf) || (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP))
r = kvm_vcpu_do_singlestep(vcpu);
if (kvm_x86_ops.update_emulated_instruction)
kvm_x86_ops.update_emulated_instruction(vcpu);
--
2.20.1
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.14.y/kernel/v4.14.18…
-------------------------------------------------------------------------------
stable-rc/linux-4.14.y boot: 131 boots: 3 failed, 117 passed with 5 offline, 6 untried/unknown (v4.14.180-115-g53d55a576a17)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.14.y/kernel/v4.1…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.14.y/kernel/v4.14.180-1…
Tree: stable-rc
Branch: linux-4.14.y
Git Describe: v4.14.180-115-g53d55a576a17
Git Commit: 53d55a576a17377e7713aa3aaeee0f35b06a1f73
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 75 unique boards, 21 SoC families, 18 builds out of 201
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 5 days (last pass: v4.14.180 - first fail: v4.14.180-37-gad4fc99d1989)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 89 days (last pass: v4.14.170-141-g00a0113414f7 - first fail: v4.14.171-29-g9cfe30e85240)
sunxi_defconfig:
gcc-8:
sun4i-a10-olinuxino-lime:
lab-baylibre: new failure (last pass: v4.14.180-49-g7ab962eff016)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.14.180-49-g7ab962eff016)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
arm64:
defconfig:
gcc-8:
meson-gxbb-p200: 1 failed lab
meson-gxm-q200: 1 failed lab
Offline Platforms:
arm:
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.223-…
-------------------------------------------------------------------------------
stable-rc/linux-4.4.y boot: 96 boots: 3 failed, 81 passed with 6 offline, 4 untried/unknown, 2 conflicts (v4.4.223-87-g5614224b8432)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.223-87-…
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.223-87-g5614224b8432
Git Commit: 5614224b8432edc87094945490727479494da465
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 50 unique boards, 18 SoC families, 17 builds out of 190
Boot Regressions Detected:
arm:
davinci_all_defconfig:
gcc-8:
da850-evm:
lab-baylibre-seattle: new failure (last pass: v4.4.223-36-gceb6b0b3f45d)
dm365evm,legacy:
lab-baylibre-seattle: new failure (last pass: v4.4.223-36-gceb6b0b3f45d)
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 5 days (last pass: v4.4.223 - first fail: v4.4.223-36-g32f5ec9b096d)
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained:
lab-baylibre: failing since 53 days (last pass: v4.4.216-127-g955137020949 - first fail: v4.4.217)
Boot Failures Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
imx_v4_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
multi_v5_defconfig:
gcc-8:
imx27-phytec-phycard-s-rdk: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
dm365evm,legacy: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
Conflicting Boot Failures Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
i386:
i386_defconfig:
qemu_i386:
lab-baylibre: FAIL (gcc-8)
lab-collabora: PASS (gcc-8)
x86_64:
x86_64_defconfig:
qemu_x86_64:
lab-baylibre: FAIL (gcc-8)
lab-collabora: PASS (gcc-8)
---
For more info write to <info(a)kernelci.org>
On Mon, May 18, 2020 at 10:34:34PM +0000, Olsak, Marek wrote:
> [AMD Official Use Only - Internal Distribution Only]
>
> Hi Greg,
>
> I disagree with this. Bumping the driver version will have implications on other new features, because it's like an ABI barrier exposing new functionality.
And yet another reason why driver versions are a total mess and
shouldn't be in in-kernel drivers :(
Ugh.
I'll go drop this, thanks.
greg k-h
******************************************
* WARNING: Boot tests are now deprecated *
******************************************
As kernelci.org is expanding its functional testing capabilities, the concept
of boot testing is now deprecated. Boot results are scheduled to be dropped on
*5th June 2020*. The full schedule for boot tests deprecation is available on
this GitHub issue: https://github.com/kernelci/kernelci-backend/issues/238
The new equivalent is the *baseline* test suite which also runs sanity checks
using dmesg and bootrr: https://github.com/kernelci/bootrr
See the *baseline results for this kernel revision* on this page:
https://kernelci.org/test/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.223-…
-------------------------------------------------------------------------------
stable-rc/linux-4.9.y boot: 113 boots: 1 failed, 101 passed with 6 offline, 5 untried/unknown (v4.9.223-91-g7cb03e23d3f5)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.9.y/kernel/v4.9.…
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.9.y/kernel/v4.9.223-91-…
Tree: stable-rc
Branch: linux-4.9.y
Git Describe: v4.9.223-91-g7cb03e23d3f5
Git Commit: 7cb03e23d3f596ac9f89bee7cc836eb292321418
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 60 unique boards, 20 SoC families, 19 builds out of 197
Boot Regressions Detected:
arm:
qcom_defconfig:
gcc-8:
qcom-apq8064-cm-qs600:
lab-baylibre-seattle: failing since 6 days (last pass: v4.9.223 - first fail: v4.9.223-25-g6dfb25040a46)
versatile_defconfig:
gcc-8:
versatile-pb:
lab-collabora: new failure (last pass: v4.9.223-41-g1ec0b5b2a219)
Boot Failure Detected:
arm:
sama5_defconfig:
gcc-8:
at91-sama5d4_xplained: 1 failed lab
Offline Platforms:
arm:
multi_v7_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
qcom-apq8064-cm-qs600: 1 offline lab
stih410-b2120: 1 offline lab
qcom_defconfig:
gcc-8
qcom-apq8064-cm-qs600: 1 offline lab
davinci_all_defconfig:
gcc-8
da850-evm: 1 offline lab
exynos_defconfig:
gcc-8
exynos5800-peach-pi: 1 offline lab
---
For more info write to <info(a)kernelci.org>
From: Serge Semin <Sergey.Semin(a)baikalelectronics.ru>
Recent commit e61a41256edf ("cpufreq: dev_pm_qos_update_request() can
return 1 on success") fixed a problem when active policies traverse
was falsely stopped due to invalidly treating the non-zero return value
from freq_qos_update_request() method as an error. Yes, that function
can return positive values if the requested update actually took place.
The current problem is that the returned value is then passed to the
return cell of the cpufreq_boost_set_sw() (set_boost callback) method.
This value is then also analyzed for being non-zero, which is also
treated as having an error. As a result during the boost activation
we'll get an error returned while having the QOS frequency update
successfully performed. Fix this by returning a negative value from the
cpufreq_boost_set_sw() if actual error was encountered and zero
otherwise treating any positive values as the successful operations
completion.
Fixes: 18c49926c4bf ("cpufreq: Add QoS requests for userspace constraints")
Signed-off-by: Serge Semin <Sergey.Semin(a)baikalelectronics.ru>
Acked-by: Viresh Kumar <viresh.kumar(a)linaro.org>
Cc: Alexey Malahov <Alexey.Malahov(a)baikalelectronics.ru>
Cc: Thomas Bogendoerfer <tsbogend(a)alpha.franken.de>
Cc: Paul Burton <paulburton(a)kernel.org>
Cc: Ralf Baechle <ralf(a)linux-mips.org>
Cc: Arnd Bergmann <arnd(a)arndb.de>
Cc: Rob Herring <robh+dt(a)kernel.org>
Cc: linux-mips(a)vger.kernel.org
Cc: devicetree(a)vger.kernel.org
Cc: stable(a)vger.kernel.org
---
drivers/cpufreq/cpufreq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 045f9fe157ce..5870cdca88cf 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2554,7 +2554,7 @@ static int cpufreq_boost_set_sw(int state)
break;
}
- return ret;
+ return ret < 0 ? ret : 0;
}
int cpufreq_boost_trigger_state(int state)
--
2.25.1
The patch titled
Subject: rapidio: fix an error in get_user_pages_fast() error handling
has been added to the -mm tree. Its filename is
rapidio-fix-an-error-in-get_user_pages_fast-error-handling.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/rapidio-fix-an-error-in-get_user_p…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/rapidio-fix-an-error-in-get_user_p…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: John Hubbard <jhubbard(a)nvidia.com>
Subject: rapidio: fix an error in get_user_pages_fast() error handling
In the case of get_user_pages_fast() returning fewer pages than requested,
rio_dma_transfer() does not quite do the right thing. It attempts to
release all the pages that were requested, rather than just the pages that
were pinned.
Fix the error handling so that only the pages that were successfully
pinned are released.
Link: http://lkml.kernel.org/r/20200517235620.205225-2-jhubbard@nvidia.com
Fixes: e8de370188d0 ("rapidio: add mport char device driver")
Signed-off-by: John Hubbard <jhubbard(a)nvidia.com>
Reviewed-by: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Matt Porter <mporter(a)kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9(a)gmail.com>
Cc: Sumit Semwal <sumit.semwal(a)linaro.org>
Cc: Dan Carpenter <dan.carpenter(a)oracle.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
drivers/rapidio/devices/rio_mport_cdev.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/drivers/rapidio/devices/rio_mport_cdev.c~rapidio-fix-an-error-in-get_user_pages_fast-error-handling
+++ a/drivers/rapidio/devices/rio_mport_cdev.c
@@ -877,6 +877,11 @@ rio_dma_transfer(struct file *filp, u32
rmcd_error("pinned %ld out of %ld pages",
pinned, nr_pages);
ret = -EFAULT;
+ /*
+ * Set nr_pages up to mean "how many pages to unpin, in
+ * the error handler:
+ */
+ nr_pages = pinned;
goto err_pg;
}
_
Patches currently in -mm which might be from jhubbard(a)nvidia.com are
rapidio-fix-an-error-in-get_user_pages_fast-error-handling.patch
mm-gup-introduce-pin_user_pages_unlocked.patch
ivtv-convert-get_user_pages-pin_user_pages.patch
rapidio-convert-get_user_pages-pin_user_pages.patch
In the case of get_user_pages_fast() returning fewer pages than
requested, rio_dma_transfer() does not quite do the right thing.
It attempts to release all the pages that were requested, rather
than just the pages that were pinned.
Fix the error handling so that only the pages that were successfully
pinned are released.
Fixes: e8de370188d0 ("rapidio: add mport char device driver")
Cc: Matt Porter <mporter(a)kernel.crashing.org>
Cc: Alexandre Bounine <alex.bou9(a)gmail.com>
Cc: Sumit Semwal <sumit.semwal(a)linaro.org>
Cc: Dan Carpenter <dan.carpenter(a)oracle.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: linux-media(a)vger.kernel.org
Cc: stable(a)vger.kernel.org
Signed-off-by: John Hubbard <jhubbard(a)nvidia.com>
---
drivers/rapidio/devices/rio_mport_cdev.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/rapidio/devices/rio_mport_cdev.c b/drivers/rapidio/devices/rio_mport_cdev.c
index 8155f59ece38..10af330153b5 100644
--- a/drivers/rapidio/devices/rio_mport_cdev.c
+++ b/drivers/rapidio/devices/rio_mport_cdev.c
@@ -877,6 +877,11 @@ rio_dma_transfer(struct file *filp, u32 transfer_mode,
rmcd_error("pinned %ld out of %ld pages",
pinned, nr_pages);
ret = -EFAULT;
+ /*
+ * Set nr_pages up to mean "how many pages to unpin, in
+ * the error handler:
+ */
+ nr_pages = pinned;
goto err_pg;
}
--
2.26.2
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 37486135d3a7b03acc7755b63627a130437f066a Mon Sep 17 00:00:00 2001
From: Babu Moger <babu.moger(a)amd.com>
Date: Tue, 12 May 2020 18:59:06 -0500
Subject: [PATCH] KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it
to x86.c
Though rdpkru and wrpkru are contingent upon CR4.PKE, the PKRU
resource isn't. It can be read with XSAVE and written with XRSTOR.
So, if we don't set the guest PKRU value here(kvm_load_guest_xsave_state),
the guest can read the host value.
In case of kvm_load_host_xsave_state, guest with CR4.PKE clear could
potentially use XRSTOR to change the host PKRU value.
While at it, move pkru state save/restore to common code and the
host_pkru field to kvm_vcpu_arch. This will let SVM support protection keys.
Cc: stable(a)vger.kernel.org
Reported-by: Jim Mattson <jmattson(a)google.com>
Signed-off-by: Babu Moger <babu.moger(a)amd.com>
Message-Id: <158932794619.44260.14508381096663848853.stgit(a)naples-babu.amd.com>
Signed-off-by: Paolo Bonzini <pbonzini(a)redhat.com>
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 9e8263b1e6fe..0a6b35353fc7 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -578,6 +578,7 @@ struct kvm_vcpu_arch {
unsigned long cr4;
unsigned long cr4_guest_owned_bits;
unsigned long cr8;
+ u32 host_pkru;
u32 pkru;
u32 hflags;
u64 efer;
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c
index e45cf89c5821..89c766fad889 100644
--- a/arch/x86/kvm/vmx/vmx.c
+++ b/arch/x86/kvm/vmx/vmx.c
@@ -1372,7 +1372,6 @@ void vmx_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
vmx_vcpu_pi_load(vcpu, cpu);
- vmx->host_pkru = read_pkru();
vmx->host_debugctlmsr = get_debugctlmsr();
}
@@ -6564,11 +6563,6 @@ static void vmx_vcpu_run(struct kvm_vcpu *vcpu)
kvm_load_guest_xsave_state(vcpu);
- if (static_cpu_has(X86_FEATURE_PKU) &&
- kvm_read_cr4_bits(vcpu, X86_CR4_PKE) &&
- vcpu->arch.pkru != vmx->host_pkru)
- __write_pkru(vcpu->arch.pkru);
-
pt_guest_enter(vmx);
if (vcpu_to_pmu(vcpu)->version)
@@ -6658,18 +6652,6 @@ static void vmx_vcpu_run(struct kvm_vcpu *vcpu)
pt_guest_exit(vmx);
- /*
- * eager fpu is enabled if PKEY is supported and CR4 is switched
- * back on host, so it is safe to read guest PKRU from current
- * XSAVE.
- */
- if (static_cpu_has(X86_FEATURE_PKU) &&
- kvm_read_cr4_bits(vcpu, X86_CR4_PKE)) {
- vcpu->arch.pkru = rdpkru();
- if (vcpu->arch.pkru != vmx->host_pkru)
- __write_pkru(vmx->host_pkru);
- }
-
kvm_load_host_xsave_state(vcpu);
vmx->nested.nested_run_pending = 0;
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 98176b80c481..d11eba8b85c6 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -837,11 +837,25 @@ void kvm_load_guest_xsave_state(struct kvm_vcpu *vcpu)
vcpu->arch.ia32_xss != host_xss)
wrmsrl(MSR_IA32_XSS, vcpu->arch.ia32_xss);
}
+
+ if (static_cpu_has(X86_FEATURE_PKU) &&
+ (kvm_read_cr4_bits(vcpu, X86_CR4_PKE) ||
+ (vcpu->arch.xcr0 & XFEATURE_MASK_PKRU)) &&
+ vcpu->arch.pkru != vcpu->arch.host_pkru)
+ __write_pkru(vcpu->arch.pkru);
}
EXPORT_SYMBOL_GPL(kvm_load_guest_xsave_state);
void kvm_load_host_xsave_state(struct kvm_vcpu *vcpu)
{
+ if (static_cpu_has(X86_FEATURE_PKU) &&
+ (kvm_read_cr4_bits(vcpu, X86_CR4_PKE) ||
+ (vcpu->arch.xcr0 & XFEATURE_MASK_PKRU))) {
+ vcpu->arch.pkru = rdpkru();
+ if (vcpu->arch.pkru != vcpu->arch.host_pkru)
+ __write_pkru(vcpu->arch.host_pkru);
+ }
+
if (kvm_read_cr4_bits(vcpu, X86_CR4_OSXSAVE)) {
if (vcpu->arch.xcr0 != host_xcr0)
@@ -3549,6 +3563,9 @@ void kvm_arch_vcpu_load(struct kvm_vcpu *vcpu, int cpu)
kvm_x86_ops.vcpu_load(vcpu, cpu);
+ /* Save host pkru register if supported */
+ vcpu->arch.host_pkru = read_pkru();
+
/* Apply any externally detected TSC adjustments (due to suspend) */
if (unlikely(vcpu->arch.tsc_offset_adjustment)) {
adjust_tsc_offset_host(vcpu, vcpu->arch.tsc_offset_adjustment);
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: d8e36b7ce54e - Makefile: disallow data races on gcc-10 as well
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Merge: OK
Compile: FAILED
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=dataware…
We attempted to compile the kernel for multiple architectures, but the compile
failed on one or more architectures:
aarch64: FAILED (see build-aarch64.log.xz attachment)
ppc64le: FAILED (see build-ppc64le.log.xz attachment)
s390x: FAILED (see build-s390x.log.xz attachment)
x86_64: FAILED (see build-x86_64.log.xz attachment)
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b2a5212fb634561bb734c6356904e37f6665b955 Mon Sep 17 00:00:00 2001
From: Daniel Borkmann <daniel(a)iogearbox.net>
Date: Fri, 15 May 2020 12:11:18 +0200
Subject: [PATCH] bpf: Restrict bpf_trace_printk()'s %s usage and add %pks,
%pus specifier
Usage of plain %s conversion specifier in bpf_trace_printk() suffers from the
very same issue as bpf_probe_read{,str}() helpers, that is, it is broken on
archs with overlapping address ranges.
While the helpers have been addressed through work in 6ae08ae3dea2 ("bpf: Add
probe_read_{user, kernel} and probe_read_{user, kernel}_str helpers"), we need
an option for bpf_trace_printk() as well to fix it.
Similarly as with the helpers, force users to make an explicit choice by adding
%pks and %pus specifier to bpf_trace_printk() which will then pick the corresponding
strncpy_from_unsafe*() variant to perform the access under KERNEL_DS or USER_DS.
The %pk* (kernel specifier) and %pu* (user specifier) can later also be extended
for other objects aside strings that are probed and printed under tracing, and
reused out of other facilities like bpf_seq_printf() or BTF based type printing.
Existing behavior of %s for current users is still kept working for archs where it
is not broken and therefore gated through CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE.
For archs not having this property we fall-back to pick probing under KERNEL_DS as
a sensible default.
Fixes: 8d3b7dce8622 ("bpf: add support for %s specifier to bpf_trace_printk()")
Reported-by: Linus Torvalds <torvalds(a)linux-foundation.org>
Reported-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Daniel Borkmann <daniel(a)iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast(a)kernel.org>
Cc: Masami Hiramatsu <mhiramat(a)kernel.org>
Cc: Brendan Gregg <brendan.d.gregg(a)gmail.com>
Link: https://lore.kernel.org/bpf/20200515101118.6508-4-daniel@iogearbox.net
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
index 8ebe46b1af39..5dfcc4592b23 100644
--- a/Documentation/core-api/printk-formats.rst
+++ b/Documentation/core-api/printk-formats.rst
@@ -112,6 +112,20 @@ used when printing stack backtraces. The specifier takes into
consideration the effect of compiler optimisations which may occur
when tail-calls are used and marked with the noreturn GCC attribute.
+Probed Pointers from BPF / tracing
+----------------------------------
+
+::
+
+ %pks kernel string
+ %pus user string
+
+The ``k`` and ``u`` specifiers are used for printing prior probed memory from
+either kernel memory (k) or user memory (u). The subsequent ``s`` specifier
+results in printing a string. For direct use in regular vsnprintf() the (k)
+and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),
+for example, it reads the memory it is pointing to without faulting.
+
Kernel Pointers
---------------
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index b83bdaa31c7b..a010edc37ee0 100644
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -323,17 +323,15 @@ static const struct bpf_func_proto *bpf_get_probe_write_proto(void)
/*
* Only limited trace_printk() conversion specifiers allowed:
- * %d %i %u %x %ld %li %lu %lx %lld %lli %llu %llx %p %s
+ * %d %i %u %x %ld %li %lu %lx %lld %lli %llu %llx %p %pks %pus %s
*/
BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
u64, arg2, u64, arg3)
{
+ int i, mod[3] = {}, fmt_cnt = 0;
+ char buf[64], fmt_ptype;
+ void *unsafe_ptr = NULL;
bool str_seen = false;
- int mod[3] = {};
- int fmt_cnt = 0;
- u64 unsafe_addr;
- char buf[64];
- int i;
/*
* bpf_check()->check_func_arg()->check_stack_boundary()
@@ -359,40 +357,71 @@ BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
if (fmt[i] == 'l') {
mod[fmt_cnt]++;
i++;
- } else if (fmt[i] == 'p' || fmt[i] == 's') {
+ } else if (fmt[i] == 'p') {
mod[fmt_cnt]++;
+ if ((fmt[i + 1] == 'k' ||
+ fmt[i + 1] == 'u') &&
+ fmt[i + 2] == 's') {
+ fmt_ptype = fmt[i + 1];
+ i += 2;
+ goto fmt_str;
+ }
+
/* disallow any further format extensions */
if (fmt[i + 1] != 0 &&
!isspace(fmt[i + 1]) &&
!ispunct(fmt[i + 1]))
return -EINVAL;
- fmt_cnt++;
- if (fmt[i] == 's') {
- if (str_seen)
- /* allow only one '%s' per fmt string */
- return -EINVAL;
- str_seen = true;
-
- switch (fmt_cnt) {
- case 1:
- unsafe_addr = arg1;
- arg1 = (long) buf;
- break;
- case 2:
- unsafe_addr = arg2;
- arg2 = (long) buf;
- break;
- case 3:
- unsafe_addr = arg3;
- arg3 = (long) buf;
- break;
- }
- buf[0] = 0;
- strncpy_from_unsafe(buf,
- (void *) (long) unsafe_addr,
+
+ goto fmt_next;
+ } else if (fmt[i] == 's') {
+ mod[fmt_cnt]++;
+ fmt_ptype = fmt[i];
+fmt_str:
+ if (str_seen)
+ /* allow only one '%s' per fmt string */
+ return -EINVAL;
+ str_seen = true;
+
+ if (fmt[i + 1] != 0 &&
+ !isspace(fmt[i + 1]) &&
+ !ispunct(fmt[i + 1]))
+ return -EINVAL;
+
+ switch (fmt_cnt) {
+ case 0:
+ unsafe_ptr = (void *)(long)arg1;
+ arg1 = (long)buf;
+ break;
+ case 1:
+ unsafe_ptr = (void *)(long)arg2;
+ arg2 = (long)buf;
+ break;
+ case 2:
+ unsafe_ptr = (void *)(long)arg3;
+ arg3 = (long)buf;
+ break;
+ }
+
+ buf[0] = 0;
+ switch (fmt_ptype) {
+ case 's':
+#ifdef CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE
+ strncpy_from_unsafe(buf, unsafe_ptr,
sizeof(buf));
+ break;
+#endif
+ case 'k':
+ strncpy_from_unsafe_strict(buf, unsafe_ptr,
+ sizeof(buf));
+ break;
+ case 'u':
+ strncpy_from_unsafe_user(buf,
+ (__force void __user *)unsafe_ptr,
+ sizeof(buf));
+ break;
}
- continue;
+ goto fmt_next;
}
if (fmt[i] == 'l') {
@@ -403,6 +432,7 @@ BPF_CALL_5(bpf_trace_printk, char *, fmt, u32, fmt_size, u64, arg1,
if (fmt[i] != 'i' && fmt[i] != 'd' &&
fmt[i] != 'u' && fmt[i] != 'x')
return -EINVAL;
+fmt_next:
fmt_cnt++;
}
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 7c488a1ce318..532b6606a18a 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -2168,6 +2168,10 @@ char *fwnode_string(char *buf, char *end, struct fwnode_handle *fwnode,
* f full name
* P node name, including a possible unit address
* - 'x' For printing the address. Equivalent to "%lx".
+ * - '[ku]s' For a BPF/tracing related format specifier, e.g. used out of
+ * bpf_trace_printk() where [ku] prefix specifies either kernel (k)
+ * or user (u) memory to probe, and:
+ * s a string, equivalent to "%s" on direct vsnprintf() use
*
* ** When making changes please also update:
* Documentation/core-api/printk-formats.rst
@@ -2251,6 +2255,14 @@ char *pointer(const char *fmt, char *buf, char *end, void *ptr,
if (!IS_ERR(ptr))
break;
return err_ptr(buf, end, ptr, spec);
+ case 'u':
+ case 'k':
+ switch (fmt[1]) {
+ case 's':
+ return string(buf, end, ptr, spec);
+ default:
+ return error_string(buf, end, "(einval)", spec);
+ }
}
/* default is to _not_ leak addresses, hash before printing */
The caller of mmap_file() assumes it returns a valid address or NULL
on error. If mmap() fails for some reason, MAP_FAILED is returned
instead and sorttable crashes later when trying to dereference the
pointer:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000402b25 in do_file (fname=0x7fffffffe5e2 "vmlinux",
addr=0xffffffffffffffff) at scripts/sorttable.c:264
264 switch (ehdr->e_ident[EI_DATA]) {
(gdb) p ehdr
$1 = (Elf32_Ehdr *) 0xffffffffffffffff
mmap() can only return NULL if the user explicitely asks for it with
MAP_FIXED, which isn't the case here. So, rather than changing the
semantics of mmap_file() and having the caller to cope with an
extra sentinel, return NULL when mmap() fails.
This bug exists since the addition of the sortextable binary (previous
name of sorttable). That code was borrowed from scripts/recordmount.c
which had the same issue. It got fixed in a similar manner by commit
3f1df12019f3 ("recordmcount: Rewrite error/success handling").
Cc: stable(a)vger.kernel.org # v3.5
Fixes: a79f248b9b30 ("scripts: Add sortextable to sort the kernel's exception table.")
Signed-off-by: Greg Kurz <groug(a)kaod.org>
---
scripts/sorttable.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/sorttable.c b/scripts/sorttable.c
index ec6b5e81eba1..5ad7a9bbff42 100644
--- a/scripts/sorttable.c
+++ b/scripts/sorttable.c
@@ -91,6 +91,7 @@ static void *mmap_file(char const *fname, size_t *size)
addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
if (addr == MAP_FAILED) {
fprintf(stderr, "Could not mmap file: %s\n", fname);
+ addr = NULL;
goto out;
}
Hi,
this one should be added to -stable trees too:
commit b1112139a103b4b1101d0d2d72931f2d33d8c978
Author: Sergei Trofimovich <slyfox(a)gentoo.org>
Date: Tue Mar 17 00:07:18 2020 +0000
Makefile: disallow data races on gcc-10 as well
--
Thomas
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 48084c3595cb7429f6ba734cfea1313573b9a7fa Mon Sep 17 00:00:00 2001
From: Kefeng Wang <wangkefeng.wang(a)huawei.com>
Date: Thu, 7 May 2020 23:04:45 +0800
Subject: [PATCH] riscv: perf: RISCV_BASE_PMU should be independent
Selecting PERF_EVENTS without selecting RISCV_BASE_PMU results in a build
error.
Signed-off-by: Kefeng Wang <wangkefeng.wang(a)huawei.com>
[Palmer: commit text]
Fixes: 178e9fc47aae("perf: riscv: preliminary RISC-V support")
Signed-off-by: Palmer Dabbelt <palmerdabbelt(a)google.com>
diff --git a/arch/riscv/include/asm/perf_event.h b/arch/riscv/include/asm/perf_event.h
index 0234048b12bc..062efd3a1d5d 100644
--- a/arch/riscv/include/asm/perf_event.h
+++ b/arch/riscv/include/asm/perf_event.h
@@ -12,19 +12,14 @@
#include <linux/ptrace.h>
#include <linux/interrupt.h>
+#ifdef CONFIG_RISCV_BASE_PMU
#define RISCV_BASE_COUNTERS 2
/*
* The RISCV_MAX_COUNTERS parameter should be specified.
*/
-#ifdef CONFIG_RISCV_BASE_PMU
#define RISCV_MAX_COUNTERS 2
-#endif
-
-#ifndef RISCV_MAX_COUNTERS
-#error "Please provide a valid RISCV_MAX_COUNTERS for the PMU."
-#endif
/*
* These are the indexes of bits in counteren register *minus* 1,
@@ -82,6 +77,7 @@ struct riscv_pmu {
int irq;
};
+#endif
#ifdef CONFIG_PERF_EVENTS
#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs
#endif
diff --git a/arch/riscv/kernel/Makefile b/arch/riscv/kernel/Makefile
index 86c83081044f..d8bbd3207100 100644
--- a/arch/riscv/kernel/Makefile
+++ b/arch/riscv/kernel/Makefile
@@ -43,7 +43,7 @@ obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
-obj-$(CONFIG_PERF_EVENTS) += perf_event.o
+obj-$(CONFIG_RISCV_BASE_PMU) += perf_event.o
obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
obj-$(CONFIG_RISCV_SBI) += sbi.o
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 48084c3595cb7429f6ba734cfea1313573b9a7fa Mon Sep 17 00:00:00 2001
From: Kefeng Wang <wangkefeng.wang(a)huawei.com>
Date: Thu, 7 May 2020 23:04:45 +0800
Subject: [PATCH] riscv: perf: RISCV_BASE_PMU should be independent
Selecting PERF_EVENTS without selecting RISCV_BASE_PMU results in a build
error.
Signed-off-by: Kefeng Wang <wangkefeng.wang(a)huawei.com>
[Palmer: commit text]
Fixes: 178e9fc47aae("perf: riscv: preliminary RISC-V support")
Signed-off-by: Palmer Dabbelt <palmerdabbelt(a)google.com>
diff --git a/arch/riscv/include/asm/perf_event.h b/arch/riscv/include/asm/perf_event.h
index 0234048b12bc..062efd3a1d5d 100644
--- a/arch/riscv/include/asm/perf_event.h
+++ b/arch/riscv/include/asm/perf_event.h
@@ -12,19 +12,14 @@
#include <linux/ptrace.h>
#include <linux/interrupt.h>
+#ifdef CONFIG_RISCV_BASE_PMU
#define RISCV_BASE_COUNTERS 2
/*
* The RISCV_MAX_COUNTERS parameter should be specified.
*/
-#ifdef CONFIG_RISCV_BASE_PMU
#define RISCV_MAX_COUNTERS 2
-#endif
-
-#ifndef RISCV_MAX_COUNTERS
-#error "Please provide a valid RISCV_MAX_COUNTERS for the PMU."
-#endif
/*
* These are the indexes of bits in counteren register *minus* 1,
@@ -82,6 +77,7 @@ struct riscv_pmu {
int irq;
};
+#endif
#ifdef CONFIG_PERF_EVENTS
#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs
#endif
diff --git a/arch/riscv/kernel/Makefile b/arch/riscv/kernel/Makefile
index 86c83081044f..d8bbd3207100 100644
--- a/arch/riscv/kernel/Makefile
+++ b/arch/riscv/kernel/Makefile
@@ -43,7 +43,7 @@ obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
-obj-$(CONFIG_PERF_EVENTS) += perf_event.o
+obj-$(CONFIG_RISCV_BASE_PMU) += perf_event.o
obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
obj-$(CONFIG_RISCV_SBI) += sbi.o
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 55bf882c7f13dda8bbe624040c6d5b4fbb812d16 Mon Sep 17 00:00:00 2001
From: Amir Goldstein <amir73il(a)gmail.com>
Date: Thu, 19 Mar 2020 17:10:17 +0200
Subject: [PATCH] fanotify: fix merging marks masks with FAN_ONDIR
Change the logic of FAN_ONDIR in two ways that are similar to the logic
of FAN_EVENT_ON_CHILD, that was fixed in commit 54a307ba8d3c ("fanotify:
fix logic of events on child"):
1. The flag is meaningless in ignore mask
2. The flag refers only to events in the mask of the mark where it is set
This is what the fanotify_mark.2 man page says about FAN_ONDIR:
"Without this flag, only events for files are created." It doesn't
say anything about setting this flag in ignore mask to stop getting
events on directories nor can I think of any setup where this capability
would be useful.
Currently, when marks masks are merged, the FAN_ONDIR flag set in one
mark affects the events that are set in another mark's mask and this
behavior causes unexpected results. For example, a user adds a mark on a
directory with mask FAN_ATTRIB | FAN_ONDIR and a mount mark with mask
FAN_OPEN (without FAN_ONDIR). An opendir() of that directory (which is
inside that mount) generates a FAN_OPEN event even though neither of the
marks requested to get open events on directories.
Link: https://lore.kernel.org/r/20200319151022.31456-10-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il(a)gmail.com>
Signed-off-by: Jan Kara <jack(a)suse.cz>
diff --git a/fs/notify/fanotify/fanotify.c b/fs/notify/fanotify/fanotify.c
index 97d34b958761..960f4f4d9e8f 100644
--- a/fs/notify/fanotify/fanotify.c
+++ b/fs/notify/fanotify/fanotify.c
@@ -171,6 +171,13 @@ static u32 fanotify_group_event_mask(struct fsnotify_group *group,
if (!fsnotify_iter_should_report_type(iter_info, type))
continue;
mark = iter_info->marks[type];
+ /*
+ * If the event is on dir and this mark doesn't care about
+ * events on dir, don't send it!
+ */
+ if (event_mask & FS_ISDIR && !(mark->mask & FS_ISDIR))
+ continue;
+
/*
* If the event is for a child and this mark doesn't care about
* events on a child, don't send it!
@@ -203,10 +210,6 @@ static u32 fanotify_group_event_mask(struct fsnotify_group *group,
user_mask &= ~FAN_ONDIR;
}
- if (event_mask & FS_ISDIR &&
- !(marks_mask & FS_ISDIR & ~marks_ignored_mask))
- return 0;
-
return test_mask & user_mask;
}
Hello,
We ran automated tests on a recent commit from this kernel tree:
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Commit: 3f0cc50b2470 - net: broadcom: Select BROADCOM_PHY for BCMGENET
The results of these automated tests are provided below.
Overall result: FAILED (see details below)
Merge: OK
Compile: OK
Tests: FAILED
All kernel binaries, config files, and logs are available for download here:
https://cki-artifacts.s3.us-east-2.amazonaws.com/index.html?prefix=dataware…
One or more kernel tests failed:
s390x:
❌ LTP
aarch64:
❌ LTP
x86_64:
❌ LTP
We hope that these logs can help you find the problem quickly. For the full
detail on our testing procedures, please scroll to the bottom of this message.
Please reply to this email if you have any questions about the tests that we
ran or if you have any suggestions on how to make future tests more effective.
,-. ,-.
( C ) ( K ) Continuous
`-',-.`-' Kernel
( I ) Integration
`-'
______________________________________________________________________________
Compile testing
---------------
We compiled the kernel for 4 architectures:
aarch64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
ppc64le:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
s390x:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
x86_64:
make options: -j30 INSTALL_MOD_STRIP=1 targz-pkg
Hardware testing
----------------
We booted each kernel and ran the following tests:
aarch64:
Host 1:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
❌ LTP
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
Host 2:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
✅ stress: stress-ng
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ✅ Storage blktests
ppc64le:
Host 1:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
⚡⚡⚡ Podman system integration test - as root
⚡⚡⚡ Podman system integration test - as user
⚡⚡⚡ LTP
⚡⚡⚡ Memory function: memfd_create
⚡⚡⚡ AMTU (Abstract Machine Test Utility)
⚡⚡⚡ Networking bridge: sanity
⚡⚡⚡ Ethernet drivers sanity
⚡⚡⚡ Networking socket: fuzz
⚡⚡⚡ Networking route: pmtu
⚡⚡⚡ Networking route_func - local
⚡⚡⚡ Networking route_func - forward
⚡⚡⚡ Networking TCP: keepalive test
⚡⚡⚡ Networking UDP: socket
⚡⚡⚡ Networking tunnel: geneve basic test
⚡⚡⚡ Networking tunnel: gre basic
⚡⚡⚡ L2TP basic test
⚡⚡⚡ Networking tunnel: vxlan basic
⚡⚡⚡ Networking ipsec: basic netns - tunnel
⚡⚡⚡ Libkcapi AF_ALG test
⚡⚡⚡ ALSA PCM loopback test
⚡⚡⚡ ALSA Control (mixer) Userspace Element test
🚧 ⚡⚡⚡ CIFS Connectathon
🚧 ⚡⚡⚡ POSIX pjd-fstest suites
🚧 ⚡⚡⚡ jvm - DaCapo Benchmark Suite
🚧 ⚡⚡⚡ jvm - jcstress tests
🚧 ⚡⚡⚡ Memory function: kaslr
🚧 ⚡⚡⚡ audit: audit testsuite test
🚧 ⚡⚡⚡ trace: ftrace/tracer
Host 2:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
Host 3:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
✅ Boot test
✅ xfstests - ext4
⚡⚡⚡ xfstests - xfs
⚡⚡⚡ selinux-policy: serge-testsuite
⚡⚡⚡ storage: software RAID testing
🚧 ⚡⚡⚡ IPMI driver test
🚧 ⚡⚡⚡ IPMItool loop stress test
🚧 ⚡⚡⚡ Storage blktests
Host 4:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
✅ Boot test
🚧 ⚡⚡⚡ kdump - sysrq-c
s390x:
Host 1:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 2:
✅ Boot test
✅ selinux-policy: serge-testsuite
✅ stress: stress-ng
🚧 ✅ Storage blktests
Host 3:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
❌ LTP
✅ Memory function: memfd_create
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
x86_64:
Host 1:
✅ Boot test
✅ xfstests - ext4
✅ xfstests - xfs
✅ selinux-policy: serge-testsuite
✅ storage: software RAID testing
✅ stress: stress-ng
🚧 ✅ IOMMU boot test
🚧 ✅ IPMI driver test
🚧 ✅ IPMItool loop stress test
🚧 ✅ Storage blktests
Host 2:
✅ Boot test
🚧 ✅ kdump - sysrq-c
Host 3:
⚡ Internal infrastructure issues prevented one or more tests (marked
with ⚡⚡⚡) from running on this architecture.
This is not the fault of the kernel that was tested.
⚡⚡⚡ Boot test
⚡⚡⚡ Podman system integration test - as root
⚡⚡⚡ Podman system integration test - as user
⚡⚡⚡ LTP
⚡⚡⚡ Memory function: memfd_create
⚡⚡⚡ AMTU (Abstract Machine Test Utility)
⚡⚡⚡ Networking bridge: sanity
⚡⚡⚡ Ethernet drivers sanity
⚡⚡⚡ Networking socket: fuzz
⚡⚡⚡ Networking: igmp conformance test
⚡⚡⚡ Networking route: pmtu
⚡⚡⚡ Networking route_func - local
⚡⚡⚡ Networking route_func - forward
⚡⚡⚡ Networking TCP: keepalive test
⚡⚡⚡ Networking UDP: socket
⚡⚡⚡ Networking tunnel: geneve basic test
⚡⚡⚡ Networking tunnel: gre basic
⚡⚡⚡ L2TP basic test
⚡⚡⚡ Networking tunnel: vxlan basic
⚡⚡⚡ Networking ipsec: basic netns - transport
⚡⚡⚡ Networking ipsec: basic netns - tunnel
⚡⚡⚡ Libkcapi AF_ALG test
⚡⚡⚡ pciutils: sanity smoke test
⚡⚡⚡ ALSA PCM loopback test
⚡⚡⚡ ALSA Control (mixer) Userspace Element test
⚡⚡⚡ storage: SCSI VPD
🚧 ⚡⚡⚡ CIFS Connectathon
🚧 ⚡⚡⚡ POSIX pjd-fstest suites
🚧 ⚡⚡⚡ jvm - DaCapo Benchmark Suite
🚧 ⚡⚡⚡ jvm - jcstress tests
🚧 ⚡⚡⚡ Memory function: kaslr
🚧 ⚡⚡⚡ audit: audit testsuite test
🚧 ⚡⚡⚡ trace: ftrace/tracer
Host 4:
✅ Boot test
✅ Podman system integration test - as root
✅ Podman system integration test - as user
❌ LTP
✅ Memory function: memfd_create
✅ AMTU (Abstract Machine Test Utility)
✅ Networking bridge: sanity
✅ Ethernet drivers sanity
✅ Networking socket: fuzz
✅ Networking: igmp conformance test
✅ Networking route: pmtu
✅ Networking route_func - local
✅ Networking route_func - forward
✅ Networking TCP: keepalive test
✅ Networking UDP: socket
✅ Networking tunnel: geneve basic test
✅ Networking tunnel: gre basic
✅ L2TP basic test
✅ Networking tunnel: vxlan basic
✅ Networking ipsec: basic netns - transport
✅ Networking ipsec: basic netns - tunnel
✅ Libkcapi AF_ALG test
✅ pciutils: sanity smoke test
✅ ALSA PCM loopback test
✅ ALSA Control (mixer) Userspace Element test
✅ storage: SCSI VPD
🚧 ✅ CIFS Connectathon
🚧 ✅ POSIX pjd-fstest suites
🚧 ✅ jvm - DaCapo Benchmark Suite
🚧 ✅ jvm - jcstress tests
🚧 ✅ Memory function: kaslr
🚧 ✅ audit: audit testsuite test
🚧 ✅ trace: ftrace/tracer
Test sources: https://github.com/CKI-project/tests-beaker
💚 Pull requests are welcome for new tests or improvements to existing tests!
Aborted tests
-------------
Tests that didn't complete running successfully are marked with ⚡⚡⚡.
If this was caused by an infrastructure issue, we try to mark that
explicitly in the report.
Waived tests
------------
If the test run included waived tests, they are marked with 🚧. Such tests are
executed but their results are not taken into account. Tests are waived when
their results are not reliable enough, e.g. when they're just introduced or are
being fixed.
Testing timeout
---------------
We aim to provide a report within reasonable timeframe. Tests that haven't
finished running yet are marked with ⏱.
The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From d51c214541c5154dda3037289ee895ea3ded5ebd Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <hch(a)lst.de>
Date: Sun, 10 May 2020 09:54:41 +0200
Subject: [PATCH] arm64: fix the flush_icache_range arguments in machine_kexec
The second argument is the end "pointer", not the length.
Fixes: d28f6df1305a ("arm64/kexec: Add core kexec support")
Cc: <stable(a)vger.kernel.org> # 4.8.x-
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Catalin Marinas <catalin.marinas(a)arm.com>
diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c
index 8e9c924423b4..a0b144cfaea7 100644
--- a/arch/arm64/kernel/machine_kexec.c
+++ b/arch/arm64/kernel/machine_kexec.c
@@ -177,6 +177,7 @@ void machine_kexec(struct kimage *kimage)
* the offline CPUs. Therefore, we must use the __* variant here.
*/
__flush_icache_range((uintptr_t)reboot_code_buffer,
+ (uintptr_t)reboot_code_buffer +
arm64_relocate_new_kernel_size);
/* Flush the kimage list and its buffers. */
The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From d51c214541c5154dda3037289ee895ea3ded5ebd Mon Sep 17 00:00:00 2001
From: Christoph Hellwig <hch(a)lst.de>
Date: Sun, 10 May 2020 09:54:41 +0200
Subject: [PATCH] arm64: fix the flush_icache_range arguments in machine_kexec
The second argument is the end "pointer", not the length.
Fixes: d28f6df1305a ("arm64/kexec: Add core kexec support")
Cc: <stable(a)vger.kernel.org> # 4.8.x-
Signed-off-by: Christoph Hellwig <hch(a)lst.de>
Signed-off-by: Catalin Marinas <catalin.marinas(a)arm.com>
diff --git a/arch/arm64/kernel/machine_kexec.c b/arch/arm64/kernel/machine_kexec.c
index 8e9c924423b4..a0b144cfaea7 100644
--- a/arch/arm64/kernel/machine_kexec.c
+++ b/arch/arm64/kernel/machine_kexec.c
@@ -177,6 +177,7 @@ void machine_kexec(struct kimage *kimage)
* the offline CPUs. Therefore, we must use the __* variant here.
*/
__flush_icache_range((uintptr_t)reboot_code_buffer,
+ (uintptr_t)reboot_code_buffer +
arm64_relocate_new_kernel_size);
/* Flush the kimage list and its buffers. */
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From b2b6290a23986a5c88384887b8a589a3c4ebe292 Mon Sep 17 00:00:00 2001
From: Evan Quan <evan.quan(a)amd.com>
Date: Thu, 7 May 2020 18:17:55 +0800
Subject: [PATCH] drm/amdgpu: enable hibernate support on Navi1X
BACO is needed to support hibernate on Navi1X.
Signed-off-by: Evan Quan <evan.quan(a)amd.com>
Acked-by: Alex Deucher <alexander.deucher(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
Cc: stable(a)vger.kernel.org
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 2992a49ad4a5..8ac1581a6b53 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -945,6 +945,7 @@ struct amdgpu_device {
/* s3/s4 mask */
bool in_suspend;
+ bool in_hibernate;
/* record last mm index being written through WREG32*/
unsigned long last_mm_index;
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 466bfe541e45..a735d79a717b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1181,7 +1181,9 @@ static int amdgpu_pmops_freeze(struct device *dev)
struct amdgpu_device *adev = drm_dev->dev_private;
int r;
+ adev->in_hibernate = true;
r = amdgpu_device_suspend(drm_dev, true);
+ adev->in_hibernate = false;
if (r)
return r;
return amdgpu_asic_reset(adev);
diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
index 09fa685b811b..e77046931e4c 100644
--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
+++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
@@ -1476,7 +1476,7 @@ static int smu_disable_dpm(struct smu_context *smu)
bool use_baco = !smu->is_apu &&
((adev->in_gpu_reset &&
(amdgpu_asic_reset_method(adev) == AMD_RESET_METHOD_BACO)) ||
- (adev->in_runpm && amdgpu_asic_supports_baco(adev)));
+ ((adev->in_runpm || adev->in_hibernate) && amdgpu_asic_supports_baco(adev)));
ret = smu_get_smc_version(smu, NULL, &smu_version);
if (ret) {
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 1bc6a60143a4f9264cc6e09ceb9919f4e813a872 Mon Sep 17 00:00:00 2001
From: Chris Wilson <chris(a)chris-wilson.co.uk>
Date: Tue, 28 Apr 2020 19:47:50 +0100
Subject: [PATCH] drm/i915/execlists: Track inflight CCID
The presumption is that by using a circular counter that is twice as
large as the maximum ELSP submission, we would never reuse the same CCID
for two inflight contexts.
However, if we continually preempt an active context such that it always
remains inflight, it can be resubmitted with an arbitrary number of
paired contexts. As each of its paired contexts will use a new CCID,
eventually it will wrap and submit two ELSP with the same CCID.
Rather than use a simple circular counter, switch over to a small bitmap
of inflight ids so we can avoid reusing one that is still potentially
active.
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1796
Fixes: 2935ed5339c4 ("drm/i915: Remove logical HW ID")
Signed-off-by: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Cc: <stable(a)vger.kernel.org> # v5.5+
Reviewed-by: Mika Kuoppala <mika.kuoppala(a)linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200428184751.11257-2-chris@…
(cherry picked from commit 5c4a53e3b1cbc38d0906e382f1037290658759bb)
(cherry picked from commit 134711240307d5586ae8e828d2699db70a8b74f2)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi(a)intel.com>
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_types.h b/drivers/gpu/drm/i915/gt/intel_engine_types.h
index 8dd210a2c340..0be674ae1cf6 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_types.h
+++ b/drivers/gpu/drm/i915/gt/intel_engine_types.h
@@ -309,8 +309,7 @@ struct intel_engine_cs {
u32 context_size;
u32 mmio_base;
- unsigned int context_tag;
-#define NUM_CONTEXT_TAG roundup_pow_of_two(2 * EXECLIST_MAX_PORTS)
+ unsigned long context_tag;
struct rb_node uabi_node;
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index e8b02f84aa3d..77420372d813 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -1239,13 +1239,17 @@ __execlists_schedule_in(struct i915_request *rq)
if (ce->tag) {
/* Use a fixed tag for OA and friends */
+ GEM_BUG_ON(ce->tag <= BITS_PER_LONG);
ce->lrc.ccid = ce->tag;
} else {
/* We don't need a strict matching tag, just different values */
- ce->lrc.ccid =
- (++engine->context_tag % NUM_CONTEXT_TAG) <<
- (GEN11_SW_CTX_ID_SHIFT - 32);
- BUILD_BUG_ON(NUM_CONTEXT_TAG > GEN12_MAX_CONTEXT_HW_ID);
+ unsigned int tag = ffs(engine->context_tag);
+
+ GEM_BUG_ON(tag == 0 || tag >= BITS_PER_LONG);
+ clear_bit(tag - 1, &engine->context_tag);
+ ce->lrc.ccid = tag << (GEN11_SW_CTX_ID_SHIFT - 32);
+
+ BUILD_BUG_ON(BITS_PER_LONG > GEN12_MAX_CONTEXT_HW_ID);
}
ce->lrc.ccid |= engine->execlists.ccid;
@@ -1289,7 +1293,8 @@ static void kick_siblings(struct i915_request *rq, struct intel_context *ce)
static inline void
__execlists_schedule_out(struct i915_request *rq,
- struct intel_engine_cs * const engine)
+ struct intel_engine_cs * const engine,
+ unsigned int ccid)
{
struct intel_context * const ce = rq->context;
@@ -1307,6 +1312,14 @@ __execlists_schedule_out(struct i915_request *rq,
i915_request_completed(rq))
intel_engine_add_retire(engine, ce->timeline);
+ ccid >>= GEN11_SW_CTX_ID_SHIFT - 32;
+ ccid &= GEN12_MAX_CONTEXT_HW_ID;
+ if (ccid < BITS_PER_LONG) {
+ GEM_BUG_ON(ccid == 0);
+ GEM_BUG_ON(test_bit(ccid - 1, &engine->context_tag));
+ set_bit(ccid - 1, &engine->context_tag);
+ }
+
intel_context_update_runtime(ce);
intel_engine_context_out(engine);
execlists_context_status_change(rq, INTEL_CONTEXT_SCHEDULE_OUT);
@@ -1332,15 +1345,17 @@ execlists_schedule_out(struct i915_request *rq)
{
struct intel_context * const ce = rq->context;
struct intel_engine_cs *cur, *old;
+ u32 ccid;
trace_i915_request_out(rq);
+ ccid = rq->context->lrc.ccid;
old = READ_ONCE(ce->inflight);
do
cur = ptr_unmask_bits(old, 2) ? ptr_dec(old) : NULL;
while (!try_cmpxchg(&ce->inflight, &old, cur));
if (!cur)
- __execlists_schedule_out(rq, old);
+ __execlists_schedule_out(rq, old, ccid);
i915_request_put(rq);
}
@@ -3556,7 +3571,7 @@ static void enable_execlists(struct intel_engine_cs *engine)
enable_error_interrupt(engine);
- engine->context_tag = 0;
+ engine->context_tag = GENMASK(BITS_PER_LONG - 2, 0);
}
static bool unexpected_starting_state(struct intel_engine_cs *engine)
diff --git a/drivers/gpu/drm/i915/i915_perf.c b/drivers/gpu/drm/i915/i915_perf.c
index b5030192be3e..cf2c01f17da8 100644
--- a/drivers/gpu/drm/i915/i915_perf.c
+++ b/drivers/gpu/drm/i915/i915_perf.c
@@ -1327,11 +1327,10 @@ static int oa_get_render_ctx_id(struct i915_perf_stream *stream)
((1U << GEN11_SW_CTX_ID_WIDTH) - 1) << (GEN11_SW_CTX_ID_SHIFT - 32);
/*
* Pick an unused context id
- * 0 - (NUM_CONTEXT_TAG - 1) are used by other contexts
+ * 0 - BITS_PER_LONG are used by other contexts
* GEN12_MAX_CONTEXT_HW_ID (0x7ff) is used by idle context
*/
stream->specific_ctx_id = (GEN12_MAX_CONTEXT_HW_ID - 1) << (GEN11_SW_CTX_ID_SHIFT - 32);
- BUILD_BUG_ON((GEN12_MAX_CONTEXT_HW_ID - 1) < NUM_CONTEXT_TAG);
break;
}
diff --git a/drivers/gpu/drm/i915/selftests/i915_vma.c b/drivers/gpu/drm/i915/selftests/i915_vma.c
index 58b5f40a07dd..af89c7fc8f59 100644
--- a/drivers/gpu/drm/i915/selftests/i915_vma.c
+++ b/drivers/gpu/drm/i915/selftests/i915_vma.c
@@ -173,7 +173,7 @@ static int igt_vma_create(void *arg)
}
nc = 0;
- for_each_prime_number(num_ctx, 2 * NUM_CONTEXT_TAG) {
+ for_each_prime_number(num_ctx, 2 * BITS_PER_LONG) {
for (; nc < num_ctx; nc++) {
ctx = mock_context(i915, "mock");
if (!ctx)
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From a6aacb2b26e85aa619cf0c6f98d0ca77314cd2a1 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher(a)amd.com>
Date: Tue, 5 May 2020 09:42:26 -0400
Subject: [PATCH] drm/amdgpu: force fbdev into vram
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
We set the fb smem pointer to the offset into the BAR, so keep
the fbdev bo in vram.
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=207581
Fixes: 6c8d74caa2fa33 ("drm/amdgpu: Enable scatter gather display support")
Reviewed-by: Christian König <christian.koenig(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
Cc: stable(a)vger.kernel.org
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
index 9ae7b61f696a..25ddb482466a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
@@ -133,8 +133,7 @@ static int amdgpufb_create_pinned_object(struct amdgpu_fbdev *rfbdev,
u32 cpp;
u64 flags = AMDGPU_GEM_CREATE_CPU_ACCESS_REQUIRED |
AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS |
- AMDGPU_GEM_CREATE_VRAM_CLEARED |
- AMDGPU_GEM_CREATE_CPU_GTT_USWC;
+ AMDGPU_GEM_CREATE_VRAM_CLEARED;
info = drm_get_format_info(adev->ddev, mode_cmd);
cpp = info->cpp[0];
The patch below does not apply to the 5.6-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 2346ef47e871536cf4e36b77859bfdeb39b49024 Mon Sep 17 00:00:00 2001
From: Nicholas Kazlauskas <nicholas.kazlauskas(a)amd.com>
Date: Wed, 6 May 2020 15:47:54 -0400
Subject: [PATCH] drm/amd/display: Fix vblank and pageflip event handling for
FreeSync
[Why]
We're sending the drm vblank event a frame too early in the case where
the pageflip happens close to VUPDATE and ends up blocking the signal.
The implementation in DM was previously correct *before* we started
sending vblank events from VSTARTUP unconditionally to handle cases
where HUBP was off, OTG was ON and userspace was still requesting some
DRM planes enabled. As part of that patch series we dropped VUPDATE
since it was deemed close enough to VSTARTUP, but there's a key
difference betweeen VSTARTUP and VUPDATE - the VUPDATE signal can be
blocked if we're holding the pipe lock.
There was a fix recently to revert the unconditional behavior for the
DCN VSTARTUP vblank event since it was sending the pageflip event on
the wrong frame - once again, due to blocking VUPDATE and having the
address start scanning out two frames later.
The problem with this fix is it didn't update the logic that calls
drm_crtc_handle_vblank(), so the timestamps are totally bogus now.
[How]
Essentially reverts most of the original VSTARTUP series but retains
the behavior to send back events when active planes == 0.
Some refactoring/cleanup was done to not have duplicated code in both
the handlers.
Fixes: 16f17eda8bad ("drm/amd/display: Send vblank and user events at vsartup for DCN")
Fixes: 3a2ce8d66a4b ("drm/amd/display: Disable VUpdate interrupt for DCN hardware")
Fixes: 2b5aed9ac3f7 ("drm/amd/display: Fix pageflip event race condition for DCN.")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas(a)amd.com>
Reviewed-and-Tested-by: Mario Kleiner <mario.kleiner.de(a)gmail.com>
Reviewed-by: Leo Li <sunpeng.li(a)amd.com>
Acked-by: Alex Deucher <alexander.deucher(a)amd.com>
Signed-off-by: Alex Deucher <alexander.deucher(a)amd.com>
Cc: stable(a)vger.kernel.org # 5.6.x
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 9c83c1303f08..c3df6ef9f101 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -441,7 +441,7 @@ static void dm_vupdate_high_irq(void *interrupt_params)
/**
* dm_crtc_high_irq() - Handles CRTC interrupt
- * @interrupt_params: ignored
+ * @interrupt_params: used for determining the CRTC instance
*
* Handles the CRTC/VSYNC interrupt by notfying DRM's VBLANK
* event handler.
@@ -455,70 +455,6 @@ static void dm_crtc_high_irq(void *interrupt_params)
unsigned long flags;
acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK);
-
- if (acrtc) {
- acrtc_state = to_dm_crtc_state(acrtc->base.state);
-
- DRM_DEBUG_VBL("crtc:%d, vupdate-vrr:%d\n",
- acrtc->crtc_id,
- amdgpu_dm_vrr_active(acrtc_state));
-
- /* Core vblank handling at start of front-porch is only possible
- * in non-vrr mode, as only there vblank timestamping will give
- * valid results while done in front-porch. Otherwise defer it
- * to dm_vupdate_high_irq after end of front-porch.
- */
- if (!amdgpu_dm_vrr_active(acrtc_state))
- drm_crtc_handle_vblank(&acrtc->base);
-
- /* Following stuff must happen at start of vblank, for crc
- * computation and below-the-range btr support in vrr mode.
- */
- amdgpu_dm_crtc_handle_crc_irq(&acrtc->base);
-
- if (acrtc_state->stream && adev->family >= AMDGPU_FAMILY_AI &&
- acrtc_state->vrr_params.supported &&
- acrtc_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE) {
- spin_lock_irqsave(&adev->ddev->event_lock, flags);
- mod_freesync_handle_v_update(
- adev->dm.freesync_module,
- acrtc_state->stream,
- &acrtc_state->vrr_params);
-
- dc_stream_adjust_vmin_vmax(
- adev->dm.dc,
- acrtc_state->stream,
- &acrtc_state->vrr_params.adjust);
- spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
- }
- }
-}
-
-#if defined(CONFIG_DRM_AMD_DC_DCN)
-/**
- * dm_dcn_crtc_high_irq() - Handles VStartup interrupt for DCN generation ASICs
- * @interrupt params - interrupt parameters
- *
- * Notify DRM's vblank event handler at VSTARTUP
- *
- * Unlike DCE hardware, we trigger the handler at VSTARTUP. at which:
- * * We are close enough to VUPDATE - the point of no return for hw
- * * We are in the fixed portion of variable front porch when vrr is enabled
- * * We are before VUPDATE, where double-buffered vrr registers are swapped
- *
- * It is therefore the correct place to signal vblank, send user flip events,
- * and update VRR.
- */
-static void dm_dcn_crtc_high_irq(void *interrupt_params)
-{
- struct common_irq_params *irq_params = interrupt_params;
- struct amdgpu_device *adev = irq_params->adev;
- struct amdgpu_crtc *acrtc;
- struct dm_crtc_state *acrtc_state;
- unsigned long flags;
-
- acrtc = get_crtc_by_otg_inst(adev, irq_params->irq_src - IRQ_TYPE_VBLANK);
-
if (!acrtc)
return;
@@ -528,22 +464,35 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
amdgpu_dm_vrr_active(acrtc_state),
acrtc_state->active_planes);
+ /**
+ * Core vblank handling at start of front-porch is only possible
+ * in non-vrr mode, as only there vblank timestamping will give
+ * valid results while done in front-porch. Otherwise defer it
+ * to dm_vupdate_high_irq after end of front-porch.
+ */
+ if (!amdgpu_dm_vrr_active(acrtc_state))
+ drm_crtc_handle_vblank(&acrtc->base);
+
+ /**
+ * Following stuff must happen at start of vblank, for crc
+ * computation and below-the-range btr support in vrr mode.
+ */
amdgpu_dm_crtc_handle_crc_irq(&acrtc->base);
- drm_crtc_handle_vblank(&acrtc->base);
+
+ /* BTR updates need to happen before VUPDATE on Vega and above. */
+ if (adev->family < AMDGPU_FAMILY_AI)
+ return;
spin_lock_irqsave(&adev->ddev->event_lock, flags);
- if (acrtc_state->vrr_params.supported &&
+ if (acrtc_state->stream && acrtc_state->vrr_params.supported &&
acrtc_state->freesync_config.state == VRR_STATE_ACTIVE_VARIABLE) {
- mod_freesync_handle_v_update(
- adev->dm.freesync_module,
- acrtc_state->stream,
- &acrtc_state->vrr_params);
+ mod_freesync_handle_v_update(adev->dm.freesync_module,
+ acrtc_state->stream,
+ &acrtc_state->vrr_params);
- dc_stream_adjust_vmin_vmax(
- adev->dm.dc,
- acrtc_state->stream,
- &acrtc_state->vrr_params.adjust);
+ dc_stream_adjust_vmin_vmax(adev->dm.dc, acrtc_state->stream,
+ &acrtc_state->vrr_params.adjust);
}
/*
@@ -556,7 +505,8 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
* avoid race conditions between flip programming and completion,
* which could cause too early flip completion events.
*/
- if (acrtc->pflip_status == AMDGPU_FLIP_SUBMITTED &&
+ if (adev->family >= AMDGPU_FAMILY_RV &&
+ acrtc->pflip_status == AMDGPU_FLIP_SUBMITTED &&
acrtc_state->active_planes == 0) {
if (acrtc->event) {
drm_crtc_send_vblank_event(&acrtc->base, acrtc->event);
@@ -568,7 +518,6 @@ static void dm_dcn_crtc_high_irq(void *interrupt_params)
spin_unlock_irqrestore(&adev->ddev->event_lock, flags);
}
-#endif
static int dm_set_clockgating_state(void *handle,
enum amd_clockgating_state state)
@@ -2445,8 +2394,36 @@ static int dcn10_register_irq_handlers(struct amdgpu_device *adev)
c_irq_params->adev = adev;
c_irq_params->irq_src = int_params.irq_source;
+ amdgpu_dm_irq_register_interrupt(
+ adev, &int_params, dm_crtc_high_irq, c_irq_params);
+ }
+
+ /* Use VUPDATE_NO_LOCK interrupt on DCN, which seems to correspond to
+ * the regular VUPDATE interrupt on DCE. We want DC_IRQ_SOURCE_VUPDATEx
+ * to trigger at end of each vblank, regardless of state of the lock,
+ * matching DCE behaviour.
+ */
+ for (i = DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT;
+ i <= DCN_1_0__SRCID__OTG0_IHC_V_UPDATE_NO_LOCK_INTERRUPT + adev->mode_info.num_crtc - 1;
+ i++) {
+ r = amdgpu_irq_add_id(adev, SOC15_IH_CLIENTID_DCE, i, &adev->vupdate_irq);
+
+ if (r) {
+ DRM_ERROR("Failed to add vupdate irq id!\n");
+ return r;
+ }
+
+ int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT;
+ int_params.irq_source =
+ dc_interrupt_to_irq_source(dc, i, 0);
+
+ c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1];
+
+ c_irq_params->adev = adev;
+ c_irq_params->irq_src = int_params.irq_source;
+
amdgpu_dm_irq_register_interrupt(adev, &int_params,
- dm_dcn_crtc_high_irq, c_irq_params);
+ dm_vupdate_high_irq, c_irq_params);
}
/* Use GRPH_PFLIP interrupt */
@@ -4453,10 +4430,6 @@ static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
struct amdgpu_device *adev = crtc->dev->dev_private;
int rc;
- /* Do not set vupdate for DCN hardware */
- if (adev->family > AMDGPU_FAMILY_AI)
- return 0;
-
irq_source = IRQ_TYPE_VUPDATE + acrtc->otg_inst;
rc = dc_interrupt_set(adev->dm.dc, irq_source, enable) ? 0 : -EBUSY;
The patch below does not apply to the 4.9-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 4.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 4.14-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 3100423dc133c25679dbaa1099404651b8ae3af9 Mon Sep 17 00:00:00 2001
From: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Date: Mon, 23 Mar 2020 09:19:33 +0100
Subject: [PATCH] ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
introduced an unintended linker error for i.MX6 configurations that have
ARM_CPU_SUSPEND=n which can happen if neither CONFIG_PM, CONFIG_CPU_IDLE,
nor ARM_PSCI_FW are selected.
Fix this by having v7_cpu_resume() compiled only when cpu_resume() it
calls is available as well.
The C declaration for the function remains unguarded to avoid future code
inadvertently using a stub and introducing a regression to the bug the
original commit fixed.
Cc: <stable(a)vger.kernel.org>
Fixes: 512a928affd5 ("ARM: imx: build v7_cpu_resume() unconditionally")
Reported-by: Clemens Gruber <clemens.gruber(a)pqgruber.com>
Signed-off-by: Ahmad Fatoum <a.fatoum(a)pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo(a)kernel.org>
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile
index 03506ce46149..e7364e6c8c6b 100644
--- a/arch/arm/mach-imx/Makefile
+++ b/arch/arm/mach-imx/Makefile
@@ -91,8 +91,10 @@ AFLAGS_suspend-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += suspend-imx6.o
obj-$(CONFIG_SOC_IMX53) += suspend-imx53.o
endif
+ifeq ($(CONFIG_ARM_CPU_SUSPEND),y)
AFLAGS_resume-imx6.o :=-Wa,-march=armv7-a
obj-$(CONFIG_SOC_IMX6) += resume-imx6.o
+endif
obj-$(CONFIG_SOC_IMX6) += pm-imx6.o
obj-$(CONFIG_SOC_IMX1) += mach-imx1.o
The patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm
tree, then please email the backport, including the original git commit
id to <stable(a)vger.kernel.org>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
>From 39a22f73744d5baee30b5f134ae2e30b668b66ed Mon Sep 17 00:00:00 2001
From: Sarthak Garg <sartgarg(a)codeaurora.org>
Date: Thu, 7 May 2020 21:45:33 +0530
Subject: [PATCH] mmc: core: Fix recursive locking issue in CQE recovery path
Consider the following stack trace
-001|raw_spin_lock_irqsave
-002|mmc_blk_cqe_complete_rq
-003|__blk_mq_complete_request(inline)
-003|blk_mq_complete_request(rq)
-004|mmc_cqe_timed_out(inline)
-004|mmc_mq_timed_out
mmc_mq_timed_out acquires the queue_lock for the first
time. The mmc_blk_cqe_complete_rq function also tries to acquire
the same queue lock resulting in recursive locking where the task
is spinning for the same lock which it has already acquired leading
to watchdog bark.
Fix this issue with the lock only for the required critical section.
Cc: <stable(a)vger.kernel.org>
Fixes: 1e8e55b67030 ("mmc: block: Add CQE support")
Suggested-by: Sahitya Tummala <stummala(a)codeaurora.org>
Signed-off-by: Sarthak Garg <sartgarg(a)codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter(a)intel.com>
Link: https://lore.kernel.org/r/1588868135-31783-1-git-send-email-vbadigan@codeau…
Signed-off-by: Ulf Hansson <ulf.hansson(a)linaro.org>
diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c
index 25bee3daf9e2..b5fd3bc7eb58 100644
--- a/drivers/mmc/core/queue.c
+++ b/drivers/mmc/core/queue.c
@@ -107,7 +107,7 @@ static enum blk_eh_timer_return mmc_cqe_timed_out(struct request *req)
case MMC_ISSUE_DCMD:
if (host->cqe_ops->cqe_timeout(host, mrq, &recovery_needed)) {
if (recovery_needed)
- __mmc_cqe_recovery_notifier(mq);
+ mmc_cqe_recovery_notifier(mrq);
return BLK_EH_RESET_TIMER;
}
/* No timeout (XXX: huh? comment doesn't make much sense) */
@@ -127,18 +127,13 @@ static enum blk_eh_timer_return mmc_mq_timed_out(struct request *req,
struct mmc_card *card = mq->card;
struct mmc_host *host = card->host;
unsigned long flags;
- int ret;
+ bool ignore_tout;
spin_lock_irqsave(&mq->lock, flags);
-
- if (mq->recovery_needed || !mq->use_cqe || host->hsq_enabled)
- ret = BLK_EH_RESET_TIMER;
- else
- ret = mmc_cqe_timed_out(req);
-
+ ignore_tout = mq->recovery_needed || !mq->use_cqe || host->hsq_enabled;
spin_unlock_irqrestore(&mq->lock, flags);
- return ret;
+ return ignore_tout ? BLK_EH_RESET_TIMER : mmc_cqe_timed_out(req);
}
static void mmc_mq_recovery_handler(struct work_struct *work)
A recent review of the Sony Xperia Development kernel tree [0] resulted
in the discovery of various patches which have been backported from
Mainline in order to fix an array of issues. These patches should be
applied to Stable such that everyone can benefit from them.
Note: The review is still on-going (~50%) - more to follow.
[0] https://github.com/sonyxperiadev/kernel
Alexey Brodkin (1):
devres: Align data[] to ARCH_KMALLOC_MINALIGN
Austin Kim (1):
mm/vmalloc.c: move 'area->pages' after if statement
Chris Lew (1):
soc: qcom: smem: Use le32_to_cpu for comparison
Dedy Lansky (2):
wil6210: fix temperature debugfs
wil6210: rate limit wil_rx_refill error
Geert Uytterhoeven (2):
gpiolib: Fix references to gpiod_[gs]et_*value_cansleep() variants
clk: Fix debugfs_create_*() usage
Hamad Kadmany (1):
wil6210: increase firmware ready timeout
Joe Moriarty (1):
drm: NULL pointer dereference [null-pointer-deref] (CWE 476) problem
Markus Elfring (1):
crypto: talitos - Delete an error message for a failed memory
allocation in talitos_edesc_alloc()
Mohit Aggarwal (1):
rtc: pm8xxx: Fix issue in RTC write path
Rob Clark (1):
drm/msm: stop abusing dma_map/unmap for cache
Rob Herring (1):
of: fix missing kobject init for !SYSFS && OF_DYNAMIC config
Subhash Jadavani (1):
scsi: ufs: ufs-qcom: remove broken hci version quirk
Will Deacon (1):
arm64: traps: Don't print stack or raw PC/LR values in backtraces
Yangtao Li (1):
serial/sunsu: add missing of_node_put()
arch/arm64/kernel/process.c | 9 ++-
arch/arm64/kernel/traps.c | 72 +---------------------
drivers/base/devres.c | 10 ++-
drivers/clk/clk.c | 30 +++++----
drivers/crypto/talitos.c | 1 -
drivers/gpio/gpiolib.c | 8 +--
drivers/gpu/drm/drm_dp_mst_topology.c | 8 ++-
drivers/gpu/drm/msm/msm_gem.c | 4 +-
drivers/net/wireless/ath/wil6210/debugfs.c | 7 ++-
drivers/net/wireless/ath/wil6210/main.c | 2 +-
drivers/net/wireless/ath/wil6210/txrx.c | 4 +-
drivers/of/base.c | 3 -
drivers/rtc/rtc-pm8xxx.c | 49 +++++++++++----
drivers/scsi/ufs/ufs-qcom.c | 2 +-
drivers/soc/qcom/smem.c | 2 +-
drivers/tty/serial/sunsu.c | 20 ++++--
mm/vmalloc.c | 8 ++-
17 files changed, 107 insertions(+), 132 deletions(-)
--
2.25.1
From: "Steven Rostedt (VMware)" <rostedt(a)goodmis.org>
Booting one of my machines, it triggered the following crash:
Kernel/User page tables isolation: enabled
ftrace: allocating 36577 entries in 143 pages
Starting tracer 'function'
BUG: unable to handle page fault for address: ffffffffa000005c
#PF: supervisor write access in kernel mode
#PF: error_code(0x0003) - permissions violation
PGD 2014067 P4D 2014067 PUD 2015063 PMD 7b253067 PTE 7b252061
Oops: 0003 [#1] PREEMPT SMP PTI
CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.0-test+ #24
Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./To be filled by O.E.M., BIOS SDBLI944.86P 05/08/2007
RIP: 0010:text_poke_early+0x4a/0x58
Code: 34 24 48 89 54 24 08 e8 bf 72 0b 00 48 8b 34 24 48 8b 4c 24 08 84 c0 74 0b 48 89 df f3 a4 48 83 c4 10 5b c3 9c 58 fa 48 89 df <f3> a4 50 9d 48 83 c4 10 5b e9 d6 f9 ff ff
0 41 57 49
RSP: 0000:ffffffff82003d38 EFLAGS: 00010046
RAX: 0000000000000046 RBX: ffffffffa000005c RCX: 0000000000000005
RDX: 0000000000000005 RSI: ffffffff825b9a90 RDI: ffffffffa000005c
RBP: ffffffffa000005c R08: 0000000000000000 R09: ffffffff8206e6e0
R10: ffff88807b01f4c0 R11: ffffffff8176c106 R12: ffffffff8206e6e0
R13: ffffffff824f2440 R14: 0000000000000000 R15: ffffffff8206eac0
FS: 0000000000000000(0000) GS:ffff88807d400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffa000005c CR3: 0000000002012000 CR4: 00000000000006b0
Call Trace:
text_poke_bp+0x27/0x64
? mutex_lock+0x36/0x5d
arch_ftrace_update_trampoline+0x287/0x2d5
? ftrace_replace_code+0x14b/0x160
? ftrace_update_ftrace_func+0x65/0x6c
__register_ftrace_function+0x6d/0x81
ftrace_startup+0x23/0xc1
register_ftrace_function+0x20/0x37
func_set_flag+0x59/0x77
__set_tracer_option.isra.19+0x20/0x3e
trace_set_options+0xd6/0x13e
apply_trace_boot_options+0x44/0x6d
register_tracer+0x19e/0x1ac
early_trace_init+0x21b/0x2c9
start_kernel+0x241/0x518
? load_ucode_intel_bsp+0x21/0x52
secondary_startup_64+0xa4/0xb0
I was able to trigger it on other machines, when I added to the kernel
command line of both "ftrace=function" and "trace_options=func_stack_trace".
The cause is the "ftrace=function" would register the function tracer
and create a trampoline, and it will set it as executable and
read-only. Then the "trace_options=func_stack_trace" would then update
the same trampoline to include the stack tracer version of the function
tracer. But since the trampoline already exists, it updates it with
text_poke_bp(). The problem is that text_poke_bp() called while
system_state == SYSTEM_BOOTING, it will simply do a memcpy() and not
the page mapping, as it would think that the text is still read-write.
But in this case it is not, and we take a fault and crash.
Instead, lets keep the ftrace trampolines read-write during boot up,
and then when the kernel executable text is set to read-only, the
ftrace trampolines get set to read-only as well.
Link: https://lkml.kernel.org/r/20200430202147.4dc6e2de@oasis.local.home
Cc: Ingo Molnar <mingo(a)kernel.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Andy Lutomirski <luto(a)amacapital.net>
Cc: Borislav Petkov <bp(a)alien8.de>
Cc: Josh Poimboeuf <jpoimboe(a)redhat.com>
Cc: "H. Peter Anvin" <hpa(a)zytor.com>
Cc: stable(a)vger.kernel.org
Fixes: 768ae4406a5c ("x86/ftrace: Use text_poke()")
Acked-by: Peter Zijlstra <peterz(a)infradead.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt(a)goodmis.org>
---
arch/x86/include/asm/ftrace.h | 6 ++++++
arch/x86/kernel/ftrace.c | 29 ++++++++++++++++++++++++++++-
arch/x86/mm/init_64.c | 3 +++
include/linux/ftrace.h | 23 +++++++++++++++++++++++
kernel/trace/ftrace_internal.h | 22 ----------------------
5 files changed, 60 insertions(+), 23 deletions(-)
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h
index 85be2f506272..89af0d2c62aa 100644
--- a/arch/x86/include/asm/ftrace.h
+++ b/arch/x86/include/asm/ftrace.h
@@ -56,6 +56,12 @@ struct dyn_arch_ftrace {
#ifndef __ASSEMBLY__
+#if defined(CONFIG_FUNCTION_TRACER) && defined(CONFIG_DYNAMIC_FTRACE)
+extern void set_ftrace_ops_ro(void);
+#else
+static inline void set_ftrace_ops_ro(void) { }
+#endif
+
#define ARCH_HAS_SYSCALL_MATCH_SYM_NAME
static inline bool arch_syscall_match_sym_name(const char *sym, const char *name)
{
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
index 37a0aeaf89e7..b0e641793be4 100644
--- a/arch/x86/kernel/ftrace.c
+++ b/arch/x86/kernel/ftrace.c
@@ -407,7 +407,8 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
set_vm_flush_reset_perms(trampoline);
- set_memory_ro((unsigned long)trampoline, npages);
+ if (likely(system_state != SYSTEM_BOOTING))
+ set_memory_ro((unsigned long)trampoline, npages);
set_memory_x((unsigned long)trampoline, npages);
return (unsigned long)trampoline;
fail:
@@ -415,6 +416,32 @@ create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
return 0;
}
+void set_ftrace_ops_ro(void)
+{
+ struct ftrace_ops *ops;
+ unsigned long start_offset;
+ unsigned long end_offset;
+ unsigned long npages;
+ unsigned long size;
+
+ do_for_each_ftrace_op(ops, ftrace_ops_list) {
+ if (!(ops->flags & FTRACE_OPS_FL_ALLOC_TRAMP))
+ continue;
+
+ if (ops->flags & FTRACE_OPS_FL_SAVE_REGS) {
+ start_offset = (unsigned long)ftrace_regs_caller;
+ end_offset = (unsigned long)ftrace_regs_caller_end;
+ } else {
+ start_offset = (unsigned long)ftrace_caller;
+ end_offset = (unsigned long)ftrace_epilogue;
+ }
+ size = end_offset - start_offset;
+ size = size + RET_SIZE + sizeof(void *);
+ npages = DIV_ROUND_UP(size, PAGE_SIZE);
+ set_memory_ro((unsigned long)ops->trampoline, npages);
+ } while_for_each_ftrace_op(ops);
+}
+
static unsigned long calc_trampoline_call_offset(bool save_regs)
{
unsigned long start_offset;
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index 3b289c2f75cd..8b5f73f5e207 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -54,6 +54,7 @@
#include <asm/init.h>
#include <asm/uv/uv.h>
#include <asm/setup.h>
+#include <asm/ftrace.h>
#include "mm_internal.h"
@@ -1291,6 +1292,8 @@ void mark_rodata_ro(void)
all_end = roundup((unsigned long)_brk_end, PMD_SIZE);
set_memory_nx(text_end, (all_end - text_end) >> PAGE_SHIFT);
+ set_ftrace_ops_ro();
+
#ifdef CONFIG_CPA_DEBUG
printk(KERN_INFO "Testing CPA: undo %lx-%lx\n", start, end);
set_memory_rw(start, (end-start) >> PAGE_SHIFT);
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index db95244a62d4..ab4bd15cbcdb 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -210,6 +210,29 @@ struct ftrace_ops {
#endif
};
+extern struct ftrace_ops __rcu *ftrace_ops_list;
+extern struct ftrace_ops ftrace_list_end;
+
+/*
+ * Traverse the ftrace_global_list, invoking all entries. The reason that we
+ * can use rcu_dereference_raw_check() is that elements removed from this list
+ * are simply leaked, so there is no need to interact with a grace-period
+ * mechanism. The rcu_dereference_raw_check() calls are needed to handle
+ * concurrent insertions into the ftrace_global_list.
+ *
+ * Silly Alpha and silly pointer-speculation compiler optimizations!
+ */
+#define do_for_each_ftrace_op(op, list) \
+ op = rcu_dereference_raw_check(list); \
+ do
+
+/*
+ * Optimized for just a single item in the list (as that is the normal case).
+ */
+#define while_for_each_ftrace_op(op) \
+ while (likely(op = rcu_dereference_raw_check((op)->next)) && \
+ unlikely((op) != &ftrace_list_end))
+
/*
* Type of the current tracing.
*/
diff --git a/kernel/trace/ftrace_internal.h b/kernel/trace/ftrace_internal.h
index 0456e0a3dab1..382775edf690 100644
--- a/kernel/trace/ftrace_internal.h
+++ b/kernel/trace/ftrace_internal.h
@@ -4,28 +4,6 @@
#ifdef CONFIG_FUNCTION_TRACER
-/*
- * Traverse the ftrace_global_list, invoking all entries. The reason that we
- * can use rcu_dereference_raw_check() is that elements removed from this list
- * are simply leaked, so there is no need to interact with a grace-period
- * mechanism. The rcu_dereference_raw_check() calls are needed to handle
- * concurrent insertions into the ftrace_global_list.
- *
- * Silly Alpha and silly pointer-speculation compiler optimizations!
- */
-#define do_for_each_ftrace_op(op, list) \
- op = rcu_dereference_raw_check(list); \
- do
-
-/*
- * Optimized for just a single item in the list (as that is the normal case).
- */
-#define while_for_each_ftrace_op(op) \
- while (likely(op = rcu_dereference_raw_check((op)->next)) && \
- unlikely((op) != &ftrace_list_end))
-
-extern struct ftrace_ops __rcu *ftrace_ops_list;
-extern struct ftrace_ops ftrace_list_end;
extern struct mutex ftrace_lock;
extern struct ftrace_ops global_ops;
--
2.26.2
This issue was found in 4.14 and is present in earlier kernels.
Please backport
f5bbbbe4d635 blk-mq: sync the update nr_hw_queues with
blk_mq_queue_tag_busy_iter
530ca2c9bd69 blk-mq: Allow blocking queue tag iter callbacks
onto the stable branches that don't have these. The second is a fix
for the first. Thank you.
4.19.y and later - commits already present
4.14.y - f5bbbbe4d635 doesn't patch cleanly but it's still
straightforward, just drop the comment and code mentioning switching
to 'none' in the trailing context
4.9.y - ditto
4.4.y - there was a refactoring of the code in commit
0bf6cd5b9531bcc29c0a5e504b6ce2984c6fd8d8 making this non-trivial
3.16.y - ditto
I am happy to try to produce clean patches, but it may be a day or so.
Regards,
Giuliano.