summaryrefslogtreecommitdiffstats
path: root/crypto/ecb.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2008-02-07 09:15:26 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 17:42:25 +0100
commitd1bc8e95445224276d7896b8b08cbb0b28a0ca80 (patch)
tree2742bf56000c4af02314d753b2416b5cabc520d5 /crypto/ecb.c
parentMBCS: convert dmareadlock to mutex (diff)
downloadlinux-d1bc8e95445224276d7896b8b08cbb0b28a0ca80.tar.xz
linux-d1bc8e95445224276d7896b8b08cbb0b28a0ca80.zip
Add an ERR_CAST() function to complement ERR_PTR and co.
Add an ERR_CAST() function to complement ERR_PTR and co. for the purposes of casting an error entyped as one pointer type to an error of another pointer type whilst making it explicit as to what is going on. This provides a replacement for the ERR_PTR(PTR_ERR(p)) construct. 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>
Diffstat (limited to 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions