mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
ARM: OMAP2+: Fix smatch found issue for omap_device
The patchd85a2d6143: "ARM: OMAP2+: Populate legacy resources for dma and smartreflex" from Oct 10, 2017, leads to the following Smatch complaint: arch/arm/mach-omap2/omap_device.c:453 omap_device_copy_resources() error: we previously assumed 'oh' could be null (see line 394) Fixes:d85a2d6143: ("ARM: OMAP2+: Populate legacy resources for dma and smartreflex") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
684be5a48f
commit
f0c96c6d40
1 changed files with 2 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue