Skip to content
Snippets Groups Projects
Commit e0ce4ed8 authored by Krzysztof's avatar Krzysztof Committed by Lee Jones
Browse files

UPSTREAM: rpmsg: Constify local variable in field store macro


commit e5f89131 upstream.

Memory pointed by variable 'old' in field store macro is not modified,
so it can be made a pointer to const.

Bug: 295334746
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220419113435.246203-12-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5c0da718)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: If5610892601368e855ec1be57e01dbbe06ae046a
parent 6b3a7a04
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment