mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 03:52:37 +00:00
If there is a dma mapping error snic kfree()s buf right before printing it. Change the order to not accidently trip on memory that's not owned by us anymore. Signed-off-by: Johannes Thumshirn <[email protected]> Acked-by: Narsimhulu Musini <[email protected]> Reviewed-by: Laurence Oberman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>