Re: [PATCH 2/2] serial: samsung: Add missing checks for dma_map_single failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, March 23, 2017 12:04:02 PM Bartlomiej Zolnierkiewicz wrote:
> On Thursday, March 23, 2017 08:45:22 AM Marek Szyprowski wrote:
> > This patch adds missing checks for dma_map_single() failure and proper error
> > reporting. While touching this part of the code, it also removes unnecessary
> > spinlock calls around dma_map_single() for TX buffer. This finally solves all
> > the issues reported by DMA API debug framework.
> > 
> > Reported-by: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx>
> > Fixes: 2c37eedb74c8 ("serial: samsung: add dma reqest/release functions")
> 
> The right commit id is 62c37eedb74c8.

BTW With this fixed you may add:

Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx>

to both patches.

> > CC: stable@xxxxxxxxxxxxxxx # v4.10+
> > Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]