]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: android/ion: testing the wrong variable
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Oct 2016 06:20:22 +0000 (09:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Oct 2016 07:14:55 +0000 (09:14 +0200)
commit0047b6e5f1b45b391244d78097631eb09a960202
tree9d5c1503079301dea2bb233e5e17b7599a5610aa
parent4fa589126f23243bd998a464cb6158d343eb6a89
staging: android/ion: testing the wrong variable

We're testing "pdev" but we intended to test "heap_pdev".  This is a
static checker fix and it's unlikely that anyone is affected by this
bug.

Fixes: 13439479c7de ('staging: ion: Add files for parsing the devicetree')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_of.c