lkml.org 
[lkml]   [2020]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 05/17] drm/arc: make arcgpu_debugfs_init() return 0.
Date
Hi Wambui,

> -----Original Message-----
> From: Wambui Karuga <wambui.karugax@gmail.com>
> Sent: Tuesday, March 10, 2020 8:31 PM
> To: airlied@linux.ie; daniel@ffwll.ch; Alexey Brodkin <abrodkin@synopsys.com>
> Cc: dri-devel@lists.freedesktop.org; linux-kernel@vger.kernel.org; gregkh@linuxfoundation.org
> Subject: [PATCH v2 05/17] drm/arc: make arcgpu_debugfs_init() return 0.
>
> Since commit 987d65d01356 (drm: debugfs: make
> drm_debugfs_create_files() never fail), drm_debugfs_create_files() never
> fails and should return void. Therefore, remove its use as the
> return value of arcpgu_debugfs_init() and have the latter function return
> 0 directly.
>
> v2: convert the function to return 0 instead of void to avoid breaking
> the build and ensure that this individual patch compiles properly.
>
> References: https://lists.freedesktop.org/archives/dri-devel/2020-February/257183.html
> Signed-off-by: Wambui Karuga <wambui.karugax@gmail.com>

Thanks for the patch!

Acked-by: Alexey Brodkin <abrodkin@synopsys.com>

\
 
 \ /
  Last update: 2020-03-12 08:56    [W:0.236 / U:3.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site