]> git.baikalelectronics.ru Git - kernel.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:42:43 +0000 (09:42 +0200)
commit26bf790b8e99863a9caa9af764f1d1571547a63c
treeb64491d18c60a5b4510375950e9ed274e34d5f10
parent5abfee5e40764b8db1ea38610028a251c99edd56
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