Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1479162rdd; Wed, 10 Jan 2024 23:41:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvJmCQqUpQVIPZKrp7VGhZxJPtOtCOxKT8377YfNrh4NH7npCSimM8Fo6CXykkxyplFkqo X-Received: by 2002:a17:902:db07:b0:1d4:e575:5224 with SMTP id m7-20020a170902db0700b001d4e5755224mr904919plx.122.1704958913169; Wed, 10 Jan 2024 23:41:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704958913; cv=none; d=google.com; s=arc-20160816; b=nn7Mo9Ny6IAmp6bDFPJhR1jV8pvVSx6394Q7hxc0MbCY8diS19zG4wn2Wx833CnW2I 61Ze8ZZzn8ZxZpdQ3CvbYJF+liRPIwak9kzjVEZb8ovlR57xJIfjaXAd5vsvqmQPoStz sMXRKYnhRZVGMdOeGj4jlhd2bH2vp4CoFGcxn4Nln5UIZzt4+kFr+PBjQlV2nTdvrtoM n11a/hZnjeU1eiQCxclQqZ5D27CYh6gNcsijHuZuzK1wMHFUFTE2/YHyOHJSn6X4mdPn yfxZhZ2ALGugFgzMghzv5fGFn3cr5gGAplljn+dmIhuFAjzkUaNH15yCsCcS4h/IgYkK QBqg== 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=ni/Dp2TvD0TRWHDQMgVzzpzRHqxOJtCixJqVl2DQb8Y=; fh=UUD9beM69Au7Qwz6m9wyKdgHdaSGHRPChCEGEbftc6w=; b=iB3TjiIZKVXSQmrvV4zkLNtIvVL+jg3cmEB6VNZqzrwB+DwPmY3wXPzSEmocW2wjc9 2GzleH0lmNp4n4YyOO3dXI0k3mAu+XwnPfje3c8OhVhHsL7FNUfLfqxgKz7OOzJ1CbbZ qEUbw4UyYwRAuA7dIzlAxA2WWcj6asF9+pDDF3D26mNZHf6FzikGyNbpvSutKclxC0CJ r5xNuH0I87R/+sdTaO7GUqr8VDlpfMuP0HvjR/TrJ8wEnvHXP4UeRVcW3xNoAGIpRRxq PPI6NQn1qyA6lG2A1683RksNi1yOS+Xgy+rS3GCvBs8USveOpDxJPugB7O+0o0GcwL8F 8ExQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=BJbCfXv6; spf=pass (google.com: domain of linux-kernel+bounces-23160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u15-20020a17090341cf00b001d4401c4301si598198ple.58.2024.01.10.23.41.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 23:41:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@163.com header.s=s110527 header.b=BJbCfXv6; spf=pass (google.com: domain of linux-kernel+bounces-23160-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23160-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CEBA3B2284A for ; Thu, 11 Jan 2024 07:40:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 39396E56B; Thu, 11 Jan 2024 07:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=163.com header.i=@163.com header.b="BJbCfXv6" Received: from m16.mail.163.com (m15.mail.163.com [45.254.50.219]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91CE7E545 for ; Thu, 11 Jan 2024 07:40:08 +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=ni/Dp2TvD0TRWHDQMg VzzpzRHqxOJtCixJqVl2DQb8Y=; b=BJbCfXv6cFr6FRO1BQaZmZeIvYivDsglbn MmC/v7A27XKkwdTkt4TOakGCMooYSzfN1udA1Gfo7cLDrD5JFeBopF+G+OAgu6G5 Jgdqy6/UDE8/3Wd+p/ArmkSL0QWJKojX7Iu2dzzBcG2SQ49sdz8KmBlyeQSY3aUx SBEaQ7VK0= Received: from localhost.localdomain (unknown [182.148.14.173]) by gzga-smtp-mta-g0-3 (Coremail) with SMTP id _____wD3H+8wm59lXcWSAA--.18886S2; Thu, 11 Jan 2024 15:39:28 +0800 (CST) From: GuoHua Chen To: daniel@ffwll.ch, Xinhui.Pan@amd.com, airlied@gmail.com, christian.koenig@amd.com, alexander.deucher@amd.com Cc: linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, GuoHua Chen Subject: [PATCH] drm/radeon: Clean up errors in r600_dpm.h Date: Thu, 11 Jan 2024 07:39:25 +0000 Message-Id: <20240111073925.10663-1-chenguohua_716@163.com> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID:_____wD3H+8wm59lXcWSAA--.18886S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtr1ktF1UWr1kZF1xJw13urg_yoW3WrX_u3 WxXw47X34I9Fn8Wr1SvF4xJ34SvF1UZF4xCa4rtFyrKry7tr4rXayktFy8X3WUJ3W3XFs5 A3y8ta9IyrZFgjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUUtrcDUUUUU== X-CM-SenderInfo: xfkh0w5xrk3tbbxrlqqrwthudrp/1tbiqBVi1mVOBk9-FwAAsD Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: GuoHua Chen --- drivers/gpu/drm/radeon/r600_dpm.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600_dpm.h b/drivers/gpu/drm/radeon/r600_dpm.h index 6e4d22ed2a00..5c2513c84c48 100644 --- a/drivers/gpu/drm/radeon/r600_dpm.h +++ b/drivers/gpu/drm/radeon/r600_dpm.h @@ -119,8 +119,7 @@ enum r600_display_watermark { R600_DISPLAY_WATERMARK_HIGH = 1, }; -enum r600_display_gap -{ +enum r600_display_gap { R600_PM_DISPLAY_GAP_VBLANK_OR_WM = 0, R600_PM_DISPLAY_GAP_VBLANK = 1, R600_PM_DISPLAY_GAP_WATERMARK = 2, -- 2.17.1