* [PATCH] radeon: ERROR: space prohibited before that ','
@ 2021-02-26 6:05 wangjingyu
2021-02-26 7:48 ` Christian König
0 siblings, 1 reply; 2+ messages in thread
From: wangjingyu @ 2021-02-26 6:05 UTC (permalink / raw)
To: airlied, daniel
Cc: alexander.deucher, christian.koenig, amd-gfx, dri-devel,
linux-kernel, wangjingyu
drm_property_create_range(rdev->ddev, 0 , "coherent", 0, 1);
Signed-off-by: wangjingyu <wangjingyu@uniontech.com>
---
drivers/gpu/drm/radeon/radeon_display.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index 3a6fedad002d..439d1b3e87d8 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -1396,7 +1396,7 @@ static int radeon_modeset_create_props(struct radeon_device *rdev)
if (rdev->is_atom_bios) {
rdev->mode_info.coherent_mode_property =
- drm_property_create_range(rdev->ddev, 0 , "coherent", 0, 1);
+ drm_property_create_range(rdev->ddev, 0, "coherent", 0, 1);
if (!rdev->mode_info.coherent_mode_property)
return -ENOMEM;
}
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] radeon: ERROR: space prohibited before that ','
2021-02-26 6:05 [PATCH] radeon: ERROR: space prohibited before that ',' wangjingyu
@ 2021-02-26 7:48 ` Christian König
0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2021-02-26 7:48 UTC (permalink / raw)
To: wangjingyu, airlied, daniel
Cc: alexander.deucher, amd-gfx, dri-devel, linux-kernel
Well coding style clean ups are usually welcome, but not necessarily one
by one.
We can probably merge this if you clean up all checkpatch.pl warnings in
the whole file.
Christian.
Am 26.02.21 um 07:05 schrieb wangjingyu:
> drm_property_create_range(rdev->ddev, 0 , "coherent", 0, 1);
>
> Signed-off-by: wangjingyu <wangjingyu@uniontech.com>
> ---
> drivers/gpu/drm/radeon/radeon_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
> index 3a6fedad002d..439d1b3e87d8 100644
> --- a/drivers/gpu/drm/radeon/radeon_display.c
> +++ b/drivers/gpu/drm/radeon/radeon_display.c
> @@ -1396,7 +1396,7 @@ static int radeon_modeset_create_props(struct radeon_device *rdev)
>
> if (rdev->is_atom_bios) {
> rdev->mode_info.coherent_mode_property =
> - drm_property_create_range(rdev->ddev, 0 , "coherent", 0, 1);
> + drm_property_create_range(rdev->ddev, 0, "coherent", 0, 1);
> if (!rdev->mode_info.coherent_mode_property)
> return -ENOMEM;
> }
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-26 7:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26 6:05 [PATCH] radeon: ERROR: space prohibited before that ',' wangjingyu
2021-02-26 7:48 ` Christian König
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox