]> err.no Git - linux-2.6/commit
Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)
authorDavid Howells <dhowells@redhat.com>
Thu, 7 Feb 2008 08:15:26 +0000 (00:15 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:26 +0000 (08:42 -0800)
commite231c2ee64eb1c5cd3c63c31da9dac7d888dcf7f
treed4b17ef65960594681397a3acac02c2d248200b5
parentd1bc8e95445224276d7896b8b08cbb0b28a0ca80
Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)

Convert instances of ERR_PTR(PTR_ERR(p)) to ERR_CAST(p) using:

perl -spi -e 's/ERR_PTR[(]PTR_ERR[(](.*)[)][)]/ERR_CAST(\1)/' `grep -rl 'ERR_PTR[(]*PTR_ERR' fs crypto net security`

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
28 files changed:
crypto/cbc.c
crypto/cryptd.c
crypto/ecb.c
crypto/hmac.c
crypto/lrw.c
crypto/pcbc.c
crypto/xcbc.c
fs/9p/vfs_inode.c
fs/affs/namei.c
fs/afs/dir.c
fs/afs/security.c
fs/fat/inode.c
fs/fuse/dir.c
fs/gfs2/dir.c
fs/gfs2/ops_export.c
fs/gfs2/ops_inode.c
fs/jffs2/write.c
fs/nfs/getroot.c
fs/nfsd/export.c
fs/quota.c
fs/reiserfs/inode.c
fs/reiserfs/xattr.c
fs/vfat/namei.c
net/rxrpc/af_rxrpc.c
security/keys/key.c
security/keys/process_keys.c
security/keys/request_key.c
security/keys/request_key_auth.c