Skip to content

Commit caee010

Browse files
sverdlinarndb
authored andcommitted
ep93xx: clock: Don't use plain integer as NULL pointer
Fix sparse warning: arch/arm/mach-ep93xx/clock.c:210:35: sparse: sparse: Using plain integer as NULL pointer Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Link: https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/TLFJ6D7WGMDJSQ6XK7UZE4XR2PLRZJSV/ Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 3b68b08 commit caee010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm/mach-ep93xx/clock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static int ep93xx_mux_determine_rate(struct clk_hw *hw,
209209
struct clk_rate_request *req)
210210
{
211211
unsigned long rate = req->rate;
212-
struct clk *best_parent = 0;
212+
struct clk *best_parent = NULL;
213213
unsigned long __parent_rate;
214214
unsigned long best_rate = 0, actual_rate, mclk_rate;
215215
unsigned long best_parent_rate;

0 commit comments

Comments
 (0)