summaryrefslogtreecommitdiffstats
path: root/crypto/wp512.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-05-02 08:28:34 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-05-15 07:40:38 +0200
commit2e68adcd2fb21b7188ba449f0fab3bee2910e500 (patch)
tree35c6161dd9e82d735dfcd6b9bc6f6c2c28eb77eb /crypto/wp512.c
parente521813468f786271a87e78e8644243bead48fad (diff)
downloadlinux-2e68adcd2fb21b7188ba449f0fab3bee2910e500.tar.gz
linux-2e68adcd2fb21b7188ba449f0fab3bee2910e500.tar.bz2
linux-2e68adcd2fb21b7188ba449f0fab3bee2910e500.zip
s390/qdio: don't release memory in qdio_setup_irq()
Calling qdio_release_memory() on error is just plain wrong. It frees the main qdio_irq struct, when following code still uses it. Also, no other error path in qdio_establish() does this. So trust callers to clean up via qdio_free() if some step of the QDIO initialization fails. Fixes: 779e6e1c724d ("[S390] qdio: new qdio driver.") Cc: <stable@vger.kernel.org> #v2.6.27+ Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto/wp512.c')
0 files changed, 0 insertions, 0 deletions