aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorRahul Tanwar <[email protected]>2022-10-25 19:03:57 +0800
committerStephen Boyd <[email protected]>2022-10-26 17:39:33 -0700
commit7256d1f4618b40792d1e9b9b6cb1406a13cad2dd (patch)
tree7e60421bd4f3edcd9a03f30f2174a5252f6a6379 /drivers/fpga/xilinx-spi.c
parent106ef3bda21006fe37b62c85931230a6355d78d3 (diff)
clk: mxl: syscon_node_to_regmap() returns error pointers
Commit 036177310bac ("clk: mxl: Switch from direct readl/writel based IO to regmap based IO") introduced code resulting in below warning issued by the smatch static checker. drivers/clk/x86/clk-lgm.c:441 lgm_cgu_probe() warn: passing zero to 'PTR_ERR' Fix the warning by replacing incorrect IS_ERR_OR_NULL() with IS_ERR(). Fixes: 036177310bac ("clk: mxl: Switch from direct readl/writel based IO to regmap based IO") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Rahul Tanwar <[email protected]> Link: https://lore.kernel.org/r/49e339d4739e4ae4c92b00c1b2918af0755d4122.1666695221.git.rtanwar@maxlinear.com Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions