rse.0xinfinity.dev/distro/kernel/atom?h=linux-5.18.y
2019-05-21T08:50:45Ztreewide: Add SPDX license identifier for more missed files2019-05-21T08:50:45ZThomas Gleixnertglx@linutronix.de2019-05-19T12:08:20Zurn:sha1:09c434b8a0047c69e48499de0107de312901e798
Add SPDX license identifiers to all files which:
- Have no license information of any form
- Have MODULE_LICENCE("GPL*") inside which was used in the initial
scan/conversion to ignore the file
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:
GPL-2.0-only
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib: fix build failure in CONFIG_DEBUG_VIRTUAL test2018-12-17T11:12:30ZChristophe Leroychristophe.leroy@c-s.fr2018-12-10T08:08:28Zurn:sha1:10fdf838e5f540beca466e9d1325999c072e5d3f
On several arches, virt_to_phys() is in io.h
Build fails without it:
CC lib/test_debug_virtual.o
lib/test_debug_virtual.c: In function 'test_debug_virtual_init':
lib/test_debug_virtual.c:26:7: error: implicit declaration of function 'virt_to_phys' [-Werror=implicit-function-declaration]
pa = virt_to_phys(va);
^
Fixes: e4dace361552 ("lib: add test module for CONFIG_DEBUG_VIRTUAL")
CC: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
lib/test_debug_virtual.c: make struct pointer foo static2018-08-22T17:52:48ZColin Ian Kingcolin.king@canonical.com2018-08-22T04:57:07Zurn:sha1:b15f5f1ae18a70f2db0ec4b4e5fa525420a67270
The pointer foo is local to the source and does not need to be
in global scope, so make it static.
Cleans up sparse warning:
symbol 'foo' was not declared. Should it be static?
Link: http://lkml.kernel.org/r/20180624112206.5722-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib: add test module for CONFIG_DEBUG_VIRTUAL2017-09-09T01:26:49ZFlorian Fainellif.fainelli@gmail.com2017-09-08T23:15:31Zurn:sha1:e4dace3615526fd66c86dd535ee4bc9e8c706e37
Add a test module that allows testing that CONFIG_DEBUG_VIRTUAL works
correctly, at least that it can catch invalid calls to virt_to_phys()
against the non-linear kernel virtual address map.
Link: http://lkml.kernel.org/r/20170808164035.26725-1-f.fainelli@gmail.com
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: "Luis R. Rodriguez" <mcgrof@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>