/linux/scripts/coccinelle/api/ |
H A D | err_cast.cocci | 3 /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) 12 // Keywords: ERR_PTR, PTR_ERR, ERR_CAST 33 + ERR_CAST(x) 47 msg="WARNING ERR_CAST can be used with %s" % (x) 56 msg="WARNING: ERR_CAST can be used with %s" % (x)
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | video-pll.c | 143 return ERR_CAST(pll_base); in dss_video_pll_init() 151 return ERR_CAST(clkctrl_base); in dss_video_pll_init() 159 return ERR_CAST(clk); in dss_video_pll_init()
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | video-pll.c | 150 return ERR_CAST(pll_base); in dss_video_pll_init() 156 return ERR_CAST(clkctrl_base); in dss_video_pll_init() 163 return ERR_CAST(clk); in dss_video_pll_init()
|
/linux/lib/kunit/ |
H A D | device.c | 156 return ERR_CAST(kunit_dev); in kunit_device_register_with_driver() 173 return ERR_CAST(drv); in kunit_device_register() 178 return ERR_CAST(dev); in kunit_device_register()
|
/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | mock_context.c | 88 return ERR_CAST(pc); in live_context() 131 return ERR_CAST(ce); in live_context_for_engine() 157 return ERR_CAST(pc); in kernel_context()
|
H A D | igt_gem_utils.c | 33 return ERR_CAST(ce); in igt_request_alloc() 57 return ERR_CAST(obj); in igt_emit_store_dw()
|
/linux/drivers/base/regmap/ |
H A D | regmap-slimbus.c | 49 return ERR_CAST(bus); in __regmap_init_slimbus() 64 return ERR_CAST(bus); in __devm_regmap_init_slimbus()
|
H A D | regmap-sccb.c | 106 return ERR_CAST(bus); in __regmap_init_sccb() 121 return ERR_CAST(bus); in __devm_regmap_init_sccb()
|
H A D | regmap-spi-avmm.c | 677 return ERR_CAST(bridge); in __regmap_init_spi_avmm() 683 return ERR_CAST(map); in __regmap_init_spi_avmm() 700 return ERR_CAST(bridge); in __devm_regmap_init_spi_avmm() 706 return ERR_CAST(map); in __devm_regmap_init_spi_avmm()
|
H A D | regmap-fsi.c | 212 return ERR_CAST(bus); in __regmap_init_fsi() 225 return ERR_CAST(bus); in __devm_regmap_init_fsi()
|
H A D | regmap-spi.c | 147 return ERR_CAST(bus); in __regmap_init_spi() 161 return ERR_CAST(bus); in __devm_regmap_init_spi()
|
H A D | regmap-w1.c | 214 return ERR_CAST(bus); in __regmap_init_w1() 230 return ERR_CAST(bus); in __devm_regmap_init_w1()
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_dtv_encoder.c | 171 return ERR_CAST(mdp4_dtv_encoder); in mdp4_dtv_encoder_init() 180 return ERR_CAST(mdp4_dtv_encoder->hdmi_clk); in mdp4_dtv_encoder_init() 186 return ERR_CAST(mdp4_dtv_encoder->mdp_clk); in mdp4_dtv_encoder_init()
|
/linux/fs/smb/client/ |
H A D | namespace.c | 207 return ERR_CAST(fc); in cifs_do_automount() 214 mnt = ERR_CAST(full_path); in cifs_do_automount() 239 mnt = ERR_CAST(ctx->source); in cifs_do_automount()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_ring_submission.c | 18 return ERR_CAST(obj); in create_wally() 41 return ERR_CAST(cs); in create_wally() 63 vma = ERR_CAST(vma->private); in create_wally()
|
/linux/fs/ext4/ |
H A D | symlink.c | 44 return ERR_CAST(bh); in ext4_encrypted_get_link() 104 return ERR_CAST(bh); in ext4_get_link()
|
/linux/fs/ceph/ |
H A D | export.c | 147 return ERR_CAST(req); in __lookup_inode() 191 return ERR_CAST(inode); in __fh_to_dentry() 247 return ERR_CAST(req); in __snapfh_to_dentry() 330 return ERR_CAST(req); in __get_parent() 380 dn = ERR_CAST(dir); in ceph_get_parent() 391 dn = ERR_CAST(snapdir); in ceph_get_parent()
|
/linux/include/linux/pinctrl/ |
H A D | consumer.h | 172 return ERR_CAST(s); in pinctrl_get_select() 203 return ERR_CAST(s); in devm_pinctrl_get_select()
|
/linux/Documentation/dev-tools/ |
H A D | coccinelle.rst | 378 msg="ERR_CAST can be used with %s" % (x) 385 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg 386 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth 387 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg 411 + ERR_CAST(x) 425 + return ERR_CAST(alg); 501 msg="ERR_CAST can be used with %s" % (x) 509 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with … 510 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with … 511 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
|
/linux/drivers/clk/renesas/ |
H A D | rcar-gen3-cpg.c | 358 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 453 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 484 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 514 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
|
/linux/drivers/mmc/host/ |
H A D | sdhci-pltfm.c | 118 return ERR_CAST(ioaddr); in sdhci_pltfm_init() 128 return ERR_CAST(host); in sdhci_pltfm_init()
|
/linux/drivers/interconnect/qcom/ |
H A D | icc-common.c | 20 return ERR_CAST(node); in qcom_icc_xlate_extended()
|
/linux/tools/include/linux/ |
H A D | err.h | 70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
|
/linux/include/linux/ |
H A D | err.h | 91 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
|
/linux/drivers/clk/tegra/ |
H A D | clk-pll.c | 1932 return ERR_CAST(pll); in tegra_clk_register_pll() 1966 return ERR_CAST(pll); in tegra_clk_register_plle() 1987 return ERR_CAST(pll); in tegra_clk_register_pllu() 2096 return ERR_CAST(pll); in tegra_clk_register_pllxc() 2124 return ERR_CAST(pll); in tegra_clk_register_pllre() 2187 return ERR_CAST(pll); in tegra_clk_register_pllm() 2226 return ERR_CAST(pll); in tegra_clk_register_pllc() 2282 return ERR_CAST(pll); in tegra_clk_register_plle_tegra114() 2307 return ERR_CAST(pll); in tegra_clk_register_pllu_tegra114() 2353 return ERR_CAST(pll); in tegra_clk_register_pllss() [all …]
|