]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bus: ti-sysc: Fix cast to enum warning
authorTony Lindgren <tony@atomide.com>
Tue, 15 Aug 2023 05:49:05 +0000 (08:49 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:18 +0000 (09:48 +0200)
commit4dc84316458def6ff78887c1aa6a156e8c13163b
treee82909d2a60991ccea5ee0fd6d548b3d450be262
parentcd80ed6096ba3407aa5d48f52535932689f8926f
bus: ti-sysc: Fix cast to enum warning

[ Upstream commit de44bf2f7683347f75690ef6cf61a1d5ba8f0891 ]

Fix warning for "cast to smaller integer type 'enum sysc_soc' from 'const
void *'".

Cc: Nishanth Menon <nm@ti.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308150723.ziuGCdM3-lkp@intel.com/
Fixes: e1e1e9bb9d94 ("bus: ti-sysc: Fix build warning for 64-bit build")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bus/ti-sysc.c