mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()
@ 2023-07-21 12:09 YueHaibing
  2023-07-24 14:27 ` Thomas Zimmermann
  0 siblings, 1 reply; 3+ messages in thread
From: YueHaibing @ 2023-07-21 12:09 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, tzimmermann, airlied, daniel
  Cc: dri-devel, linux-kernel, YueHaibing

Since commit 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs")
this inline helper not used anymore.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 include/drm/drm_fb_helper.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
index 4863b0f8299e..375737fd6c36 100644
--- a/include/drm/drm_fb_helper.h
+++ b/include/drm/drm_fb_helper.h
@@ -368,11 +368,6 @@ static inline void drm_fb_helper_deferred_io(struct fb_info *info,
 {
 }
 
-static inline int drm_fb_helper_defio_init(struct drm_fb_helper *fb_helper)
-{
-	return -ENODEV;
-}
-
 static inline void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper,
 					     bool suspend)
 {
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()
  2023-07-21 12:09 [PATCH -next] drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init() YueHaibing
@ 2023-07-24 14:27 ` Thomas Zimmermann
  2023-07-25  2:13   ` YueHaibing
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Zimmermann @ 2023-07-24 14:27 UTC (permalink / raw)
  To: YueHaibing, maarten.lankhorst, mripard, airlied, daniel
  Cc: dri-devel, linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 1306 bytes --]

Hi

Am 21.07.23 um 14:09 schrieb YueHaibing:
> Since commit 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs")
> this inline helper not used anymore.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

You need to add a Fixes: tag here with the commit you mentioned in the 
description.

With this fixed, you can also add

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

Best regards
Thomas

> ---
>   include/drm/drm_fb_helper.h | 5 -----
>   1 file changed, 5 deletions(-)
> 
> diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
> index 4863b0f8299e..375737fd6c36 100644
> --- a/include/drm/drm_fb_helper.h
> +++ b/include/drm/drm_fb_helper.h
> @@ -368,11 +368,6 @@ static inline void drm_fb_helper_deferred_io(struct fb_info *info,
>   {
>   }
>   
> -static inline int drm_fb_helper_defio_init(struct drm_fb_helper *fb_helper)
> -{
> -	return -ENODEV;
> -}
> -
>   static inline void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper,
>   					     bool suspend)
>   {

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()
  2023-07-24 14:27 ` Thomas Zimmermann
@ 2023-07-25  2:13   ` YueHaibing
  0 siblings, 0 replies; 3+ messages in thread
From: YueHaibing @ 2023-07-25  2:13 UTC (permalink / raw)
  To: Thomas Zimmermann, maarten.lankhorst, mripard, airlied, daniel
  Cc: dri-devel, linux-kernel

On 2023/7/24 22:27, Thomas Zimmermann wrote:
> Hi
> 
> Am 21.07.23 um 14:09 schrieb YueHaibing:
>> Since commit 8e86dee02253 ("drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs")
>> this inline helper not used anymore.
>>
>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> 
> You need to add a Fixes: tag here with the commit you mentioned in the description.
Ok, will send v2.
> 
> With this fixed, you can also add
> 
> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
> 
> Best regards
> Thomas
> 
>> ---
>>   include/drm/drm_fb_helper.h | 5 -----
>>   1 file changed, 5 deletions(-)
>>
>> diff --git a/include/drm/drm_fb_helper.h b/include/drm/drm_fb_helper.h
>> index 4863b0f8299e..375737fd6c36 100644
>> --- a/include/drm/drm_fb_helper.h
>> +++ b/include/drm/drm_fb_helper.h
>> @@ -368,11 +368,6 @@ static inline void drm_fb_helper_deferred_io(struct fb_info *info,
>>   {
>>   }
>>   -static inline int drm_fb_helper_defio_init(struct drm_fb_helper *fb_helper)
>> -{
>> -    return -ENODEV;
>> -}
>> -
>>   static inline void drm_fb_helper_set_suspend(struct drm_fb_helper *fb_helper,
>>                            bool suspend)
>>   {
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-25  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 12:09 [PATCH -next] drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init() YueHaibing
2023-07-24 14:27 ` Thomas Zimmermann
2023-07-25  2:13   ` YueHaibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®