2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-24 06:35:44 +08:00

Fix for a sparse build warning in the smp code.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQEcBAABCAAGBQJXDINRAAoJEPOmecmc0R2BGXIIAKFbEmHm7Q9iG64Lm8fUIByz
 YjdVmXNuuCo8zZO0LH4PDwv6CGAQ1zLl2fUVQTlMXeV53rRfbCUi94MCs6eih34+
 pZQet8fNZuUWT89+ZRikL5qD+GvNLkdxXWjBjAZ0PgRxbrU+Rv7d0qoxiYecL3m4
 BhSTQ7R4zVVP5wH5ge02IJUUPW0Yu29NRUijsmLXSMJy5Ai9fPdyid+JoBCVHuFG
 ns5LkbhhmPgCNqCGrUE4iSuBKJq1ttsjCwL5RZW8zblO/aPUOIdBNXHiG/ZQfyDd
 ozIEfJfCrQ+WjuD3j3J4ppYKJLXf79b/6xO3YqZ/IZRwnuPa5Afc8YiTa580904=
 =77iX
 -----END PGP SIGNATURE-----

Merge tag 'v4.7-rockchip-soc32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into next/cleanup

Fix for a sparse build warning in the smp code.

* tag 'v4.7-rockchip-soc32-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  ARM: rockchip: Fix use of plain integer as NULL pointer

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2016-04-13 15:27:05 -07:00
commit f8433ac982

View File

@ -65,7 +65,7 @@ static struct reset_control *rockchip_get_core_reset(int cpu)
if (dev)
np = dev->of_node;
else
np = of_get_cpu_node(cpu, 0);
np = of_get_cpu_node(cpu, NULL);
return of_reset_control_get(np, NULL);
}