From patchwork Fri Mar 1 09:05:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 208705 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp950736dyb; Fri, 1 Mar 2024 01:06:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVu0dkJfNp9m2sD6dXGURQ3Au7pilR7NRrCiX/GBnwHOKhJf7f1M8VyjvPIjHRxMAGcCvVfdHrXrdyYny72LrQrTm0+iA== X-Google-Smtp-Source: AGHT+IEcUOmc76zjZlrCG+bSdMb/Ay+zFkhhkClJUFHe9PiorHdOkaUKEcqB9GqnxFjNJRR8iY03 X-Received: by 2002:a05:6214:f6d:b0:690:5b78:5c10 with SMTP id iy13-20020a0562140f6d00b006905b785c10mr224164qvb.26.1709283964912; Fri, 01 Mar 2024 01:06:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709283964; cv=pass; d=google.com; s=arc-20160816; b=UCAKtgDVuFaa0H+i0ObeaaZYcOtRZodvVRFJJuJ6eDh/+tIRbtgka3rgVXADZ6L1hw gOn5L/XyXcnd4XXN1tPmWJAVRxeRt0cq7WwUSk3zNX4MVBqH2ZghwFzigDQDmhcMQyPK 0aeiVGLN2o7NfVwJR6RO7x5jIq5b3ANl7nxz89Is+PondDfaZWb4YrJ1s3W0gMURtwQn ooHbSqcQbqks0Ojo5VP/fjae/G0LY2HYdAzs8KDiXpNVWUirNq3hDasEv2eMQiB9DGQ2 oZUiqCLy524HyOK18KMxYuQrpu+HrzEzl2typ74FdyJ478KLbhOM3Q2dAwKm3B6LC1J/ pTRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=Wnp0K/c2jn/Ld3sdKbW2JbmVvraHQoeDkcCCW9FRwWg=; fh=aOnbZ6mqGfMMWyMnxAzLhMD+GenhMLNZPioQbh6y1+w=; b=ujkBw9fzHk7ENlAMMHiytMjgMWuyb55ob4PirF3/YRXUIHvKzdR2wYFLCF0/yqlx3E E5NsT79GXOyvUDBBL7WaPVdUGuRCSp0fdCsEeKsRueF0Xhe5B8TRjL0hMm6YGNcFslNp AAdsPNBTylU+X3dYxt8ldeJQflOLtggJanyrjRvr6hDh8urRwFFkH5wPVXJ92YNCoLZy vOH1sdlwJ5rxNp6QETEzzufqh0KwPC4GgJrefscQOPDFr49MKDgXLKWfUATxVKqVPR01 xtB8FjVuGbFbrasBc71fhA1O0FoE3J2l6WkJCXw2TGYDqm2gRI4ARK6GB08PXWUo6IaZ TgCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=F9+qbv0+; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88140-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 8-20020a0562140dc800b0068f8cad5187si3276902qvt.460.2024.03.01.01.06.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 01:06:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=F9+qbv0+; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88140-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88140-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B02E71C22F80 for ; Fri, 1 Mar 2024 09:06:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDF016A35A; Fri, 1 Mar 2024 09:05:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="F9+qbv0+" Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 256B96A02B for ; Fri, 1 Mar 2024 09:05:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.97 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283947; cv=none; b=tNYrHA8vgUlTa/s4o1IPSCnB5oiwjVYT3aSe9oLlq/Wt2TYhkF06vdXVOC310fwLb1ZyOaYvgGCG2Aiym01QuY5Ur+aKNTMPEO/JFd5Jf6c4CDUcQcdKvTFytI+7GjjfPEBiY9d+sh2pF0/NaKX2Cb0K+VK7XAVPsVa8ftdF9z0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283947; c=relaxed/simple; bh=U5iVKh2DqPJumH73ccnWqkHOyEiFbk8YFQuZs+yYvFo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=DReKWHiOGD2yEom/cm6CxFDqzYOukSHisvaayetxOnktD/xPUG/Lk3URUvWDOT0njIreufX77QITzLtV6kVHPjHKN+CW1d0ylqL84/ouOSbA7XIBtcXf2Zc4rH/d2CVxFvjtVC0ksuFaYFRSivh2TYw3gPti7RKFodUWgI5G6a4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=F9+qbv0+; arc=none smtp.client-ip=115.124.30.97 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709283936; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=Wnp0K/c2jn/Ld3sdKbW2JbmVvraHQoeDkcCCW9FRwWg=; b=F9+qbv0+390vXtt1LfCLMcays+5wxYZO/xRKF+0iX6z3WX1Vvr5a7w8ALbPpFvLjhlRxWfAPG4kbYvfaUa4cMq5UkRVpfaUfJ118cwtTtgUElK8idji/ZoUzhKFd+SqBH9cXIQSqM0viHojdpvYtCQGFCY7xj047XSjUJwrQG+k= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W1awj9j_1709283935; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W1awj9j_1709283935) by smtp.aliyun-inc.com; Fri, 01 Mar 2024 17:05:36 +0800 From: Yang Li To: thomas.hellstrom@linux.intel.com, maarten.lankhorst@linux.intel.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next 1/2] drm/dp: Remove unneeded semicolon Date: Fri, 1 Mar 2024 17:05:34 +0800 Message-Id: <20240301090535.87969-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792314142375522395 X-GMAIL-MSGID: 1792314142375522395 This patch removes the unnecessary semicolons at the end of the for statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/gpu/drm/display/drm_dp_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/display/drm_dp_tunnel.c b/drivers/gpu/drm/display/drm_dp_tunnel.c index 120e0de674c1..479dd004f365 100644 --- a/drivers/gpu/drm/display/drm_dp_tunnel.c +++ b/drivers/gpu/drm/display/drm_dp_tunnel.c @@ -1125,7 +1125,7 @@ static int allocate_tunnel_bw(struct drm_dp_tunnel *tunnel, int bw) } timeout = wait_woken(&wait, TASK_UNINTERRUPTIBLE, timeout); - }; + } remove_wait_queue(&mgr->bw_req_queue, &wait); From patchwork Fri Mar 1 09:05:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 208706 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp950837dyb; Fri, 1 Mar 2024 01:06:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVNC86h4yvTmVz2l0W6RMxfbT94geWkwEg8eckftQYKMrZywjyir2CEj/ehpX6Nx++Fxu6CIaWuEDAb+BG/U25l5VQEPg== X-Google-Smtp-Source: AGHT+IHp+2vPIYpCetPWs315uEfTAdEjxQ8Gc0oEfj8L/YcF2yprtzGNR7gOoC4IDvHWcVyzIoYv X-Received: by 2002:a17:906:a404:b0:a44:8daa:684b with SMTP id l4-20020a170906a40400b00a448daa684bmr717444ejz.3.1709283973860; Fri, 01 Mar 2024 01:06:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709283973; cv=pass; d=google.com; s=arc-20160816; b=YJLfVGCSDYBARUp6gDJHHbbgAi2ogQWf8+swOWAsbSJuXmjGyj3nvyp4liwCXWbxsJ 3C6GMBMRbdmAQGmERHuUdgNo6xYKeFbzqvDE+uRHEyzfiJh4qtksPV4YpKG/+lgLeLxD IBWI40+Fln4d1EQRubUvGWEKiOQdiF8RHYkOFi1mCLhVdRFF9ptZEKIzbz6Te40yctRX 1NkTphebVOvoFcimUq4Ra2klHAWQtTicnhCTzVkSiwyaFeRkXk11PvFWfvz097zLhepY pF9ECNnJ74ovOs/cr1++kOQxjeRAYXrK1E9pfGmTj4WUq3jUblntZmdNaxgQYes/SECe +qWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=nBALHPo6UgPPUyrD3FvDp+iwsXKQboxe3VkcEgjHgOg=; fh=aOnbZ6mqGfMMWyMnxAzLhMD+GenhMLNZPioQbh6y1+w=; b=Db0JF7bAxEOOsVxIKqqO3tN0+CyBNwQRx77f9X2EzBinGx5iRPERvhEdQqwnn7qNeH GyTB5yrtFQycajK7HaZzfYf2+4rjB10Mrx67WjBRdP+Woj7lcQQP2HtdlYmY8o2mHWPC W7nQhZl8JUcm1cfz4mj9P1C4+ZjAjEhFgUfp0Oi0dujeMVGGmvG+lBEpB7UQZwA3kQcs c6BFs4bZQVerMisxG8qOoPno1PQXxckjeusXGwzdUvEhunBHcrxaUrfTkZ0bRMMeVyoG R4uYPzJSVOFLRsJSAIxCshhWgT+BvuQk++1gs/Sb4LEMh/H8SsVmsDSex5uufAJ6nz+a 2ZBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=jBkSH9aa; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gu24-20020a170906f29800b00a3e6e6df64asi1307498ejb.152.2024.03.01.01.06.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 01:06:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.alibaba.com header.s=default header.b=jBkSH9aa; arc=pass (i=1 spf=pass spfdomain=linux.alibaba.com dkim=pass dkdomain=linux.alibaba.com dmarc=pass fromdomain=linux.alibaba.com); spf=pass (google.com: domain of linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88141-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.alibaba.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B8651F23341 for ; Fri, 1 Mar 2024 09:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 589986A322; Fri, 1 Mar 2024 09:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b="jBkSH9aa" Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FE6B6A02F for ; Fri, 1 Mar 2024 09:05:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=115.124.30.99 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283949; cv=none; b=npxqxn1hRmb61SIc/ivOxUfUw4i298z+NvzeuvRt2X14545FIRO7a6oYSfZG2PFTMoqtk9EI9Tg6j6bmTIS/GPOymLgJ6ydOVKdtMuDLWJmIVKz7I2A2kbd+I/fy0MzqWnrnXbKDneHtig3v6jZ7K0Trn/F24SiQq5Jr6UrC5xA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709283949; c=relaxed/simple; bh=Vm6CiRWRPbLZbzLjXw0SAbyS5VeoUChXkooIq7LvyHo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=e7HbrrPO9IXRGqp4N2KDVlcDjENaERw3jV/tqyw4RLur2pT7gAu1Xd/k2Vq8m2h7bLlpOOBK6uoKQS484osTXIRXZAaoOpYjuLnpmKI0GZJFDBvEWI0ZmAwGxi98UuAQ8wBQ6jullT+yi9M9kURUQUUxVTsBlQmeOy+CvK6Wwz8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com; spf=pass smtp.mailfrom=linux.alibaba.com; dkim=pass (1024-bit key) header.d=linux.alibaba.com header.i=@linux.alibaba.com header.b=jBkSH9aa; arc=none smtp.client-ip=115.124.30.99 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.alibaba.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1709283939; h=From:To:Subject:Date:Message-Id:MIME-Version; bh=nBALHPo6UgPPUyrD3FvDp+iwsXKQboxe3VkcEgjHgOg=; b=jBkSH9aabv6Xmz7R/M6VNDizyZDWBvd+KNF29GqzpPooJKlc/JWM/dCINg2Uen++qy5XpT+4Vs/aKfZYcyyd1w9CMlakpfbbPFCVePpMQeZQ6jNoC4TfUcs40byZqdTwDwK4p4V/cpKsV06/ln4Gzs63AL19l5JHGHh+Gik+HKY= X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R221e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0W1azjs2_1709283938; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0W1azjs2_1709283938) by smtp.aliyun-inc.com; Fri, 01 Mar 2024 17:05:38 +0800 From: Yang Li To: thomas.hellstrom@linux.intel.com, maarten.lankhorst@linux.intel.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li Subject: [PATCH -next 2/2] drm/xe: Remove unneeded semicolon Date: Fri, 1 Mar 2024 17:05:35 +0800 Message-Id: <20240301090535.87969-2-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20240301090535.87969-1-yang.lee@linux.alibaba.com> References: <20240301090535.87969-1-yang.lee@linux.alibaba.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792314151958690762 X-GMAIL-MSGID: 1792314151958690762 This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style. Signed-off-by: Yang Li --- drivers/gpu/drm/xe/xe_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xe/xe_rtp.c b/drivers/gpu/drm/xe/xe_rtp.c index fb44cc7521d8..316ed2f6d1f0 100644 --- a/drivers/gpu/drm/xe/xe_rtp.c +++ b/drivers/gpu/drm/xe/xe_rtp.c @@ -165,7 +165,7 @@ static void rtp_get_context(struct xe_rtp_process_ctx *ctx, *gt = (*hwe)->gt; *xe = gt_to_xe(*gt); break; - }; + } } /**