/openbmc/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)
|
/openbmc/linux/fs/ext4/ |
H A D | symlink.c | 44 return ERR_CAST(bh); in ext4_encrypted_get_link() 96 return ERR_CAST(bh); in ext4_get_link() 102 return ERR_CAST(bh); in ext4_get_link()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/fs/ceph/ |
H A D | export.c | 145 return ERR_CAST(req); in __lookup_inode() 189 return ERR_CAST(inode); in __fh_to_dentry() 244 return ERR_CAST(req); in __snapfh_to_dentry() 288 return ERR_CAST(inode); in __snapfh_to_dentry() 329 return ERR_CAST(req); in __get_parent() 378 dn = ERR_CAST(dir); in ceph_get_parent() 389 dn = ERR_CAST(snapdir); in ceph_get_parent()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/include/linux/pinctrl/ |
H A D | consumer.h | 161 return ERR_CAST(s); in pinctrl_get_select() 192 return ERR_CAST(s); in devm_pinctrl_get_select()
|
/openbmc/u-boot/include/linux/ |
H A D | err.h | 51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
|
/openbmc/u-boot/doc/ |
H A D | README.coccinelle | 358 msg="ERR_CAST can be used with %s" % (x) 365 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg 366 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth 367 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg 391 + ERR_CAST(x) 405 + return ERR_CAST(alg); 481 msg="ERR_CAST can be used with %s" % (x) 489 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with … 490 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with … 491 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
|
/openbmc/linux/drivers/interconnect/qcom/ |
H A D | icc-common.c | 19 return ERR_CAST(node); in qcom_icc_xlate_extended()
|
/openbmc/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
|
/openbmc/linux/include/linux/ |
H A D | err.h | 82 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
|
/openbmc/linux/drivers/clk/renesas/ |
H A D | rcar-gen3-cpg.c | 359 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 454 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 485 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register() 515 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | coccinelle.rst | 386 msg="ERR_CAST can be used with %s" % (x) 393 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg 394 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth 395 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg 419 + ERR_CAST(x) 433 + return ERR_CAST(alg); 509 msg="ERR_CAST can be used with %s" % (x) 517 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with … 518 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with … 519 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
|
/openbmc/linux/include/linux/mfd/ |
H A D | ocelot.h | 33 return ERR_CAST(regs); in ocelot_regmap_from_resource_optional()
|
/openbmc/linux/fs/nfs/ |
H A D | symlink.c | 72 return ERR_CAST(page); in nfs_get_link()
|