No description
Find a file
Colin Ian King 13e59a1ee9 MIPS: generic/yamon-dt: fix uninitialized variable error
[ Upstream commit 255e51da15 ]

In the case where fw_getenv returns an error when fetching values
for ememsizea and memsize then variable phys_memsize is not assigned
a variable and will be uninitialized on a zero check of phys_memsize.
Fix this by initializing phys_memsize to zero.

Cleans up cppcheck error:
arch/mips/generic/yamon-dt.c💯7: error: Uninitialized variable: phys_memsize [uninitvar]

Fixes: f41d2430bb ("MIPS: generic/yamon-dt: Support > 256MB of RAM")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:42:12 +08:00
arch MIPS: generic/yamon-dt: fix uninitialized variable error 2023-04-19 17:42:12 +08:00
block blkcg: Remove extra blkcg_bio_issue_init 2023-04-19 17:42:09 +08:00
certs certs: Add support for using elliptic curve keys for signing modules 2021-08-23 19:55:42 +03:00
crypto crypto: pcrypt - Delay write to padata->info 2023-04-19 16:57:31 +08:00
Documentation fscrypt: allow 256-bit master keys with AES-256-XTS 2023-04-19 16:57:07 +08:00
drivers iavf: Restore VLAN filters after link down 2023-04-19 17:42:12 +08:00
fs NFSD: Fix exposure in nfsd4_decode_bitmap() 2023-04-19 17:42:11 +08:00
include bpf: Fix toctou on read-only map's constant scalar tracking 2023-04-19 17:42:12 +08:00
init init: make unknown command line param message clearer 2023-04-19 16:57:51 +08:00
ipc ipc: remove memcg accounting for sops objects in do_semtimedop() 2021-09-14 10:22:11 -07:00
kernel bpf: Fix toctou on read-only map's constant scalar tracking 2023-04-19 17:42:12 +08:00
lib string: uninline memcpy_and_pad 2023-04-19 16:58:04 +08:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm mm, oom: do not trigger out_of_memory from the #PF 2023-04-19 16:57:55 +08:00
net net/smc: Make sure the link_id is unique 2023-04-19 17:42:11 +08:00
samples samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpu 2023-04-19 17:42:10 +08:00
scripts leaking_addresses: Always print a trailing newline 2023-04-19 16:57:11 +08:00
security fortify: Explicitly disable Clang support 2023-04-19 16:58:05 +08:00
sound ALSA: usb-audio: fix null pointer dereference on pointer cs_desc 2023-04-19 17:42:08 +08:00
tools selftests: gpio: fix gpio compiling error 2023-04-19 17:42:11 +08:00
usr [board]:Init board config for JH7110 2021-11-18 14:06:27 +08:00
virt KVM: Remove tlbs_dirty 2021-09-23 11:01:12 -04:00
.clang-format clang-format: Update with the latest for_each macro list 2021-05-12 23:32:39 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: add Andrej Shadura 2021-10-18 20:22:03 -10:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Daniel Drake to credits 2021-09-21 08:34:58 +03:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig kbuild: ensure full rebuild when the compiler is updated 2020-05-12 13:28:33 +09:00
MAINTAINERS MAINTAINERS: Add entry for RISC-V PMU drivers 2023-01-03 14:26:18 +08:00
Makefile Linux 5.15.4 2023-04-19 16:58:05 +08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.