[lkml]   [2020]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 1/2] dmaengine: Cleanups for the slave <-> channel symlink support
On 31-01-20, 11:38, Peter Ujfalusi wrote:
> No need to use goto to jump over the
> return chan ? chan : ERR_PTR(-EPROBE_DEFER);
> We can just revert the check and return right there.
> Do not fail the channel request if the chan->name allocation fails, but
> print a warning about it.
> Change the dev_err to dev_warn if sysfs_create_link() fails as it is not
> fatal.
> Only attempt to remove the DMA_SLAVE_NAME symlink if it is created - or it
> was attempted to be created.

Applied, thanks


 \ /
  Last update: 2020-02-03 05:20    [W:0.043 / U:40.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site