Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2058947rwp; Thu, 13 Jul 2023 23:20:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlGRd9AfAGrgM8JmZLXMtA67c/wiDDy7mAv9NxCMNLN2s3b2QLiaiYCaBGykLFfcGDBQL57N X-Received: by 2002:a05:6830:1086:b0:6b9:61f2:df5b with SMTP id y6-20020a056830108600b006b961f2df5bmr4141833oto.11.1689315629617; Thu, 13 Jul 2023 23:20:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689315629; cv=none; d=google.com; s=arc-20160816; b=fpuH2H+LItyzD+1BawTl3+LKBF0L+bWrrRTN6Gj8BAnfdxUnA6fK3VEnit+mIG/rfV EXIvuOafbCbT+6+8k9ZQu/BC3bZ/5dcb9v170t6MsLrS9ng9wd3LANCSxPhUKpms2hI/ Y4ANKFbqCx0DYqMP4YMseTm9JpvOYhF6IVMETZJE2twm2rfNbTz1HQDvKT8qxZYThb/J bFg4Fw9VeYShPWfqUW8j2a36aNaxsZ0b81gRmJgrITmMskovlT1RqhEyxqqkqLuc8iTj P8eDcVoAeFwCRWMzkjdN46k09lfBUKr16cBKcIg3MxPLpejj3t9Qz+4T9Yp6jnK4DExj YQnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=08NKSXtxanSud9FY6zCEmNvZwwlHSNx94/0wjuTskmQ=; fh=w3MrTgnKZTB9wwr4lgnssP4yLVGKA2BkNDBfDNI2iyU=; b=iv26WbnF4o0YDqJXk2f1nbYLr1EJ7ogMfXdKQI0Nb4IrY95gUdsGgMsR4gNf7ln6Kh 1il9FrCIcYBND7aQTXv3e3vFEA+VcRNb7A9S+S5Uk0m1TfYbn96nRDruJQwnB/LmYwDu T2pxzAvtgBCcdMPcyXqgBYtU/mP3p0UocEf4ctozXE8M5ecFP0NQUUoJZqlY6IFSb/D3 UnSkprIz5I32rNbhBY4rYPQEQv1pC6AKbiqyvlkWv2kZqdzKx4MN5U5p0QeKuBwsetDy mGZQv5eq01jynjePmo7TLH2EjHb44FTn09UlrIibOpftkmhYSdSM4PE0FPczF+zVvP4S 2SHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=eTtIg3AT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a63b254000000b0054f96f7bcf3si6361684pgo.105.2023.07.13.23.20.16; Thu, 13 Jul 2023 23:20:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=eTtIg3AT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234555AbjGNGEW (ORCPT + 99 others); Fri, 14 Jul 2023 02:04:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbjGNGEU (ORCPT ); Fri, 14 Jul 2023 02:04:20 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96687271F for ; Thu, 13 Jul 2023 23:04:19 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R2LXG3d6GzBR9tM for ; Fri, 14 Jul 2023 14:04:14 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689314654; x=1691906655; bh=ezthta+WZ36eYrWV9Zb+A2N7VbH gwUOqc/NALhwnFGo=; b=eTtIg3AT72wukEEUEmZQSOsx+up3ItDoggfAIb3yyM4 Fdl8UPMTwtMiMAm56tEAbkEkZCiN6MmPTmrwH/kNBZJ/ikNZvCeFawbsrFkvVdOJ oGKfl/3JxmMI2XZcCiFtX7LRdaIJP6Koic95sIled4YTrC7/2hzzRBCAC4Tn16mv Dm75ZwI5Olm4j7f3Smx8Mbg1SgMFLx+k3094V42YGK6QgblZJFyh5dKlHnOfV8aC iY+OEz81pFW4ukB8TVN0n6umpdv2GQ4qTYnKjqLNtL61iUMbDtyUxpvQSsnYEPDF SGOjkFXqGiUo0eijxglHPLdOPXBTLHt7+xCAs6FEezQ== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iApVlYYNNFxh for ; Fri, 14 Jul 2023 14:04:14 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R2LXF6blyzBR9t9; Fri, 14 Jul 2023 14:04:13 +0800 (CST) MIME-Version: 1.0 Date: Fri, 14 Jul 2023 14:04:13 +0800 From: sunran001@208suo.com To: airlied@gmail.com, daniel@ffwll.ch Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/amd: open brace '{' following struct go on the same line In-Reply-To: <20230714060105.13377-1-xujianghui@cdjrlc.com> References: <20230714060105.13377-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: X-Sender: sunran001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the checkpatch error as open brace '{' following struct should go on the same line. Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/include/yellow_carp_offset.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/include/yellow_carp_offset.h b/drivers/gpu/drm/amd/include/yellow_carp_offset.h index 0fea6a746611..a2c8dca2425e 100644 --- a/drivers/gpu/drm/amd/include/yellow_carp_offset.h +++ b/drivers/gpu/drm/amd/include/yellow_carp_offset.h @@ -7,13 +7,11 @@ #define MAX_SEGMENT 6 -struct IP_BASE_INSTANCE -{ +struct IP_BASE_INSTANCE { unsigned int segment[MAX_SEGMENT]; } __maybe_unused; -struct IP_BASE -{ +struct IP_BASE { struct IP_BASE_INSTANCE instance[MAX_INSTANCE]; } __maybe_unused;