From: Dan Carpenter <dan.carpenter@oracle.com>
To: kernel-janitors@vger.kernel.org
Subject: re: x86/platform/UV: Add obtaining GAM Range Table from UV BIOS
Date: Fri, 06 May 2016 08:39:42 +0000 [thread overview]
Message-ID: <20160506083942.GA10649@mwanda> (raw)
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
reply other threads:[~2016-05-06 8:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160506083942.GA10649@mwanda \
--to=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox