Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

of: fdt: do not update local variable after use

Fix the below warning:
drivers/of/fdt.c:196:4: warning: Value stored to 'pprev' is never read
[clang-analyzer-deadcode.DeadStores]
pprev = &pp->next;
^ ~~~~~~~~~

Signed-off-by: Ohhoon Kwon <ohoono.kwon@samsung.com>
Link: https://lore.kernel.org/r/20210803101309.904-1-ohoono.kwon@samsung.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Ohhoon Kwon and committed by
Rob Herring
4409273b d08d29c8

-1
-1
drivers/of/fdt.c
··· 193 193 pp->length = len; 194 194 pp->value = pp + 1; 195 195 *pprev = pp; 196 - pprev = &pp->next; 197 196 memcpy(pp->value, ps, len - 1); 198 197 ((char *)pp->value)[len - 1] = 0; 199 198 pr_debug("fixed up name for %s -> %s\n",