Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6941137rwp; Tue, 18 Jul 2023 07:56:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlE5UnriGe8OeYYyWNAE+CD57xTzYaJwtdSJb0BiK4ww5O3pYDB0XRBComuMPkdEZ1a9Pt5S X-Received: by 2002:a05:651c:1038:b0:2b6:de52:357 with SMTP id w24-20020a05651c103800b002b6de520357mr10365211ljm.40.1689692162239; Tue, 18 Jul 2023 07:56:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689692162; cv=none; d=google.com; s=arc-20160816; b=yu0MK1yNvOhSliNGvh9fV1vat+Tqm1EHaGay/i8Om/gE3WmYCCla9TFUFG5tPqR8gl jZ6Z8w1DMFotXpnnQjY1sXkNYGrPVItCVFrStJraOzkvj37BhNHgrtznRzhI7EXjItg4 ykrC5a8oz8QMXaAKtytd3AdhVwfc3Z0ZNrqay+qiqRQrzca49s7vxPnHR0jYq/PqkMU9 TaCJi0pcaxPUdbBemhl0rxv+S1xwouL0JeXOk6jZ4FgKByT8jGcq9Hz34eemWExJ+ukp C/R0aeJ1QLmsEXZ4mtRAAJ/4ocnKs0F7NgpF4F6ycwtr4NmYIWkpf2rE4rmR0xgl6S0W myyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=gqZASbUSLs/4+sh3KkkB2pzPrQYa5qP3ESXWTg+1yuU=; fh=xMl1srSOZ+k6FKiPfIHkrySJc5X18B4yOUAIM0Km2C4=; b=ff+CL37QJqEUfrz42B8kOhDMklSZSNJYE1wK7XOAmbQTdWhZUi4BPEhmZ+lbfk5vPp Y0kGe/fXhYgoLocVpoF/c7gz8xPg1odrXicwN5tB0eKV6RU8M9TGPUKhmo/+iu5T7xhx 2fLAnh0Wxwuv//Nytlrg9uVRtK4aBrgNjpYcjD/GuszZAW0HOssSlwGHuB1GtRo9O4YW YIHfllYC8LpSXrcGgIbr9mLwIsODdRVvC5yZO+mwkDfmvburHQinO8lBL71EKsIjs572 t5Dw01AaA1TcqIN3+hiUvkckw27vk7aYYhRwZQabUoShBzmxK6PObWV//FiyWaagRQFK 3UBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=OgXmvj9K; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v8-20020a17090690c800b009924806ccffsi1326692ejw.488.2023.07.18.07.55.38; Tue, 18 Jul 2023 07:56:02 -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=pass header.i=@gmail.com header.s=20221208 header.b=OgXmvj9K; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230215AbjGROfg (ORCPT + 99 others); Tue, 18 Jul 2023 10:35:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230336AbjGROfW (ORCPT ); Tue, 18 Jul 2023 10:35:22 -0400 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14D2172D for ; Tue, 18 Jul 2023 07:34:49 -0700 (PDT) Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3a479e7a37dso267047b6e.3 for ; Tue, 18 Jul 2023 07:34:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689690889; x=1692282889; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=gqZASbUSLs/4+sh3KkkB2pzPrQYa5qP3ESXWTg+1yuU=; b=OgXmvj9K/Jc8X81/HC/BY5Sk28n1yC+yn6Jiaxy2Uk2YFx0rTutGSuypOEcq5lhCXM b+JenxBCS7F9ZBFSZhSc1DczKBKwV/2sSe0/4x/mvD3DimwzYIR1pZDX5VLzJeeFaTgm x/r7Yf1qSWVBmDdCX7PWber1kNmXLbCdtvLoDcOQZXA1oBERYybHBqhWW4XUIR6to5Bf HEkk3ZBJToKcuto2/A+NgyCSAfo9fyVXCNUBf6CYG/jcU3yfTEO0wwiXbtPm21y1mG7M AGY1ZkhFvOZJl6zsHmLCzSxsAaVCap37irkGmONu2I2c8f48gfRSIrnUq1J8o2Y24PeO RhAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689690889; x=1692282889; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=gqZASbUSLs/4+sh3KkkB2pzPrQYa5qP3ESXWTg+1yuU=; b=RVhuJ7oKe79XHCjxKFwkBZpDg9YwTrm1jUzAyrQh3NIpUIHk+Ly33eQOzo+rmmvpcg aVO20eDK/n02pu1nxkqSHRe6Qw2BTyJIwVn6rxwslWFkfcvdXhEeMldpHOaTDpPcRLOR nqSaeRbjeMvE8Y27n21K1iax6e76wNuZWvBFZogUv9gQRnAH2hX3eWzC5XLNmf+vOrBU 52smb2rjIxDxnyMCqWhjI2P0oSsNpW2PXP6tTZU2Xab13eFShosvSBJtrbkJAiLnuAAw l5wX59DnvZVXQMfWBsBTA4jq93Hgu9Mt5VYW2AcsJeyunL7muW0vc2SKdjDUijf4eFuu j1Pg== X-Gm-Message-State: ABy/qLaVY5kw/WX/iQVW0+TiKZ8S8w+Mrv7syoaXVfWdTSTj+Ubo6kPX oDItnHvFsCk+aSumGD7Q8tFnzML1NpKGLXQirIA= X-Received: by 2002:a05:6808:159e:b0:3a4:3c87:675f with SMTP id t30-20020a056808159e00b003a43c87675fmr14984240oiw.52.1689690889052; Tue, 18 Jul 2023 07:34:49 -0700 (PDT) MIME-Version: 1.0 References: <20230714060105.13377-1-xujianghui@cdjrlc.com> In-Reply-To: From: Alex Deucher Date: Tue, 18 Jul 2023 10:34:37 -0400 Message-ID: Subject: Re: [PATCH] drm/amd: open brace '{' following struct go on the same line To: sunran001@208suo.com Cc: airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 I'm happy to apply these patches, but please check your mailer. The formatting is messed up and they don't apply cleanly. Please use git-format-patch and git-send-email to generate and send the patches. Thanks! Alex On Fri, Jul 14, 2023 at 2:04=E2=80=AFAM wrote: > > 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;