x86/shadow: adjust some shadow_set_l<N>e() callers
authorJan Beulich <jbeulich@suse.com>
Fri, 15 Oct 2021 10:48:31 +0000 (12:48 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 15 Oct 2021 10:48:31 +0000 (12:48 +0200)
commit9f4f20b27b0733e9b792e3cd2ad996febdea46ba
treecdf45eb017dd1b87548a4fcb223741d252502cca
parent91f428ea7cf89ec3f3d4ed2ba0fe931561d85eac
x86/shadow: adjust some shadow_set_l<N>e() callers

Coverity dislikes sh_page_fault() storing the return value into a local
variable but then never using the value (and oddly enough spots this in
the 2- and 3-level cases, but not in the 4-level one). Instead of adding
yet another cast to void as replacement, take the opportunity and drop a
bunch of such casts at the same time - not using function return values
is a common thing to do. (It of course is an independent question
whether ignoring errors like this is a good idea.)

Coverity-ID: 1492856
Coverity-ID: 1492858
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/shadow/multi.c