[PATCH] drm/xe/client: Limit 80 char per line

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Feb 17 15:39:13 UTC 2025


On Mon, 17 Feb 2025 05:34:40 -0800, Tejas Upadhyay wrote:
>
> codeline exceeding 80 char per line, correct that
> to make checkpatch happy.

Checkpatch allows 100 char per line, code's fine as is, there is no
checkpatch error.

>
> Signed-off-by: Tejas Upadhyay <tejas.upadhyay at intel.com>
> ---
>  drivers/gpu/drm/xe/xe_drm_client.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_drm_client.c b/drivers/gpu/drm/xe/xe_drm_client.c
> index 2d4874d2b922..84e30a4d5f1e 100644
> --- a/drivers/gpu/drm/xe/xe_drm_client.c
> +++ b/drivers/gpu/drm/xe/xe_drm_client.c
> @@ -252,7 +252,8 @@ static void show_meminfo(struct drm_printer *p, struct drm_file *file)
>
>	xe_bo_put_commit(&deferred);
>
> -	for (mem_type = XE_PL_SYSTEM; mem_type < TTM_NUM_MEM_TYPES; ++mem_type) {
> +	for (mem_type = XE_PL_SYSTEM; mem_type < TTM_NUM_MEM_TYPES;
> +	     ++mem_type) {
>		if (!xe_mem_type_to_name[mem_type])
>			continue;
>
> --
> 2.34.1
>


More information about the Intel-xe mailing list