* re: x86/platform/UV: Add obtaining GAM Range Table from UV BIOS
@ 2016-05-06 8:39 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2016-05-06 8:39 UTC (permalink / raw)
To: kernel-janitors
Hello Mike Travis,
This is a semi-automatic email about new static checker warnings.
The patch ef93bf803999: "x86/platform/UV: Add obtaining GAM Range
Table from UV BIOS" from Apr 29, 2016, leads to the following Smatch
complaint:
arch/x86/platform/uv/bios_uv.c:207 uv_bios_init()
error: we previously assumed 'uv_systab' could be null (see line 206)
arch/x86/platform/uv/bios_uv.c
205 uv_systab = ioremap(efi.uv_systab, uv_systab->size);
206 if (!uv_systab) {
^^^^^^^^^
Check.
207 pr_err("UV: UVsystab: ioremap(%d) failed!\n",
208 uv_systab->size);
^^^^^^^^^^^^^^^
NULL deref.
209 return;
regards,
dan carpenter
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-06 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-06 8:39 x86/platform/UV: Add obtaining GAM Range Table from UV BIOS Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox