Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1462809rdd; Wed, 10 Jan 2024 22:57:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZgVDWJZlCpM81Nm2Ywjp2ojxoDN24XR71+LZgBYOI5r6jeYsLgTsP+gXdRBevGWo09HNq X-Received: by 2002:ac8:5852:0:b0:429:c69b:af8b with SMTP id h18-20020ac85852000000b00429c69baf8bmr115729qth.127.1704956263055; Wed, 10 Jan 2024 22:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704956263; cv=none; d=google.com; s=arc-20160816; b=XzVHby+hQC7430mq6eAc0o0mRi1DmMfE3P9bKQ5G+58UVEy1b126qeoNGKtvdXtV28 wsr8s92VOf+T+SdjcTUwDoym4IYR2o/ICIdBNC3YBCTh1b1jxsxKcS4xmYMvmUTsiQfx IlPL79HvBc5cCg1qHFQ02P1PSlugPKIBuVsJfYIONSAsksVcJ0i4liD9bo74WnZIh79d WlE4AwLX0cYE05BpqwfgRbpKit+pwETgn5KEDMnl6HCv1sNkwfFBtXL+PZ3MVwMTSKai FXUt+Z+3fKHDTO2tI8Pz18LGXjg9awZoOnvT3Ef3PqbbqUiCRWHV/2fOULPEbzA3I7I6 /57g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:cc:to:from:dkim-signature; bh=tMlRLR1qg9/lV8ANg5oVzk/RVrvunJWO7lURJe1t1h8=; fh=1CbqJzybi27Gt5/fCCN7cuSx/ndPSre8CKZdVtmg3IM=; b=yJme9MxmpkjYvrxRt/mqDcucnCuiAaHkH0CXJo4VrFT5tz2FP+5LTi3JDOBPlvhUq3 /NWgjNimKh7riFZMl1LHpyQnxhdRYQMQpBZWSKHdyp6ZEWCbIwk38txBb8qmQ0NZvQYa iPbyOdcCQjbH1HZq26zegoquFqogNjiqnbTkgu09xUxR88/zAgm4NnAKAltpbmywpVfa 50ox2ItU7uufFZqDysKGTZj/xC41pg9ANsGu5FqKvtnGS0FwyrrzC8GUqyipynRttLgL IH8FG41+VrN48hAb2qarUxMSYpdV8MhrL2pLUXtTtcshVvZNt1iE0N1Vem+aU/adzjpC 1avw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ajYwqpnG; spf=pass (google.com: domain of linux-kernel+bounces-23118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q20-20020a05622a04d400b00429c450ea29si406105qtx.353.2024.01.10.22.57.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 22:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=ajYwqpnG; spf=pass (google.com: domain of linux-kernel+bounces-23118-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23118-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.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 CF8161C2264A for ; Thu, 11 Jan 2024 06:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66638568D; Thu, 11 Jan 2024 06:57:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="ajYwqpnG" Received: from m16.mail.163.com (m15.mail.163.com [45.254.50.219]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7B9375663 for ; Thu, 11 Jan 2024 06:57:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=163.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=163.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=tMlRLR1qg9/lV8ANg5 oVzk/RVrvunJWO7lURJe1t1h8=; b=ajYwqpnGMRiPJTBKgGzZbowc9V/hYuo0VH fqpYjRoXIkyvaZxGgF4mxhANfrMU6QtUQUGofQ1m+bHQGxp2VJF16AM1/icLTQN6 amy7Tg10+icGhsFij0ILfrX4O5M0xsoMwFwL0DpCycJKxCoT98jMDUQkp3YLP4o0 oA8uBMo/M= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-3 (Coremail) with SMTP id _____wD3X+8wkZ9lbDKQAA--.17659S2; Thu, 11 Jan 2024 14:56:49 +0800 (CST) From: GuoHua Chen To: airlied@gmail.com, daniel@ffwll.ch, tzimmermann@suse.de, mripard@kernel.org, patrik.r.jakobsson@gmail.com, maarten.lankhorst@linux.intel.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, GuoHua Chen Subject: [PATCH] drm: Clean up errors in cdv_intel_dp.h Date: Thu, 11 Jan 2024 06:56:48 +0000 Message-Id: <20240111065648.9170-1-chenguohua_716@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3X+8wkZ9lbDKQAA--.17659S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrur13Ww1fXFyUZr1rJF4kXrb_yoW3trX_WF 4UXrsrZrW3Cay5Wry7Ar9I9ryYvF1F93yv9Fy7Ka43Jw17Ary5u3429FykZ3WrCryUWFsr J3WkXFyrCrn3ujkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUj8wItUUUUU== X-CM-SenderInfo: xfkh0w5xrk3tbbxrlqqrwthudrp/1tbiqBNi1mVOBk5u1AAAsW Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: else should follow close brace '}' Signed-off-by: GuoHua Chen --- drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c index 27cfeb6b470f..135a1226df1a 100644 --- a/drivers/gpu/drm/gma500/cdv_intel_dp.c +++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c @@ -735,7 +735,7 @@ cdv_intel_dp_aux_native_read(struct gma_encoder *encoder, if ((ack & DP_AUX_NATIVE_REPLY_MASK) == DP_AUX_NATIVE_REPLY_ACK) { memcpy(recv, reply + 1, ret - 1); return ret - 1; - } else + } else if ((ack & DP_AUX_NATIVE_REPLY_MASK) == DP_AUX_NATIVE_REPLY_DEFER) udelay(100); else -- 2.17.1