Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2455050rwn; Fri, 9 Sep 2022 14:08:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR6AJ5zPikkAanR2xXyrmsUj6aUATmCrnBAqdyxXeN4mY8U5PR1+LzGsbyuWLHKSHgUKEwpM X-Received: by 2002:a17:907:3f85:b0:733:3f0e:2f28 with SMTP id hr5-20020a1709073f8500b007333f0e2f28mr10800191ejc.376.1662757724351; Fri, 09 Sep 2022 14:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662757724; cv=none; d=google.com; s=arc-20160816; b=aQJTtZvUK8/lAdWc2NmQT4jbvji+QIbNtJP4br3ndb62nSPnrYPsbtR70c3sUDWSNo ZJLhlZWSHX1TfGpjfcwqkvHEVbAIDaiGY2hwC3a78r8xweLE46c07S9cLgrSHPsZqKrv mgsi8PGWHS24sKM+izmL5Ted7iFsg/Cl/TkcKUF5EV/Knlm/tCt7nM5gn9jH+mrzw5oD GqQRP+teWsP6N0JYpziDbeJmyH8TdbiqlpAuEHqNg5XubY62IlLNil3+TxBxwj19Yofx YmZTDQHkNF4p3yqOmSLWntNzeV64zk+1hZCjBRj7lXWavdxw49nCfabfGWX8RSjyRLdI 8J4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Tv3Et/tqY6Zk/pnAAyJuFDBD309Fy7UgcvolVBKAIt0=; b=vi3xzIrOwMoRrgZQOqVyY4RJ3cFjxEInlNHyzQXDZKGi/CP14y1AbvN+ajQYP+VsM8 8AgLBc1DTJ2+54oIJujZfIJnd5Tm5n9SxMUaw3Rmy9GoEetRmpKSryGxCx2FHNK0XAHp YULQDF09ZZ/wxVQwgiy0Bd/PVt9RvSbzW12W5JKBKq90VDUDfoi5Lpy4tACOJ9veqob+ mjIQTQF7bZH0++zPG+YqNdjUJ8qjbv2lOzQS7gjPVAlcDTwt0VkrZAtbkSGN6nrBAyf0 cMN4kmb/gce1GELZw6003r5iTGhm5DxZ9hf+veJV5FwtcgU+bYZtJk8ez359Au2qSgTa azDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XDqQfKos; 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 sd30-20020a1709076e1e00b007777316f0cfsi1382980ejc.47.2022.09.09.14.08.17; Fri, 09 Sep 2022 14:08:44 -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=20210112 header.b=XDqQfKos; 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 S229607AbiIIUxk (ORCPT + 99 others); Fri, 9 Sep 2022 16:53:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229806AbiIIUxc (ORCPT ); Fri, 9 Sep 2022 16:53:32 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEF70E582A for ; Fri, 9 Sep 2022 13:53:30 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id q39-20020a056830442700b0063889adc0ddso1851058otv.1 for ; Fri, 09 Sep 2022 13:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Tv3Et/tqY6Zk/pnAAyJuFDBD309Fy7UgcvolVBKAIt0=; b=XDqQfKosBFzUJL2xT8WnuKul95HYglkg8NPZTdD8yer3mkW0yRnXch4X7L024AWOpG lHhrc0bFdyTds58pYk8wgR+4CCChs02NqRg70znBM6Aq/MFeaft1dGIE2EnIDuXc4Pvh WPohlQkvZXJQed98j2WW2vYLuHj5mi1PpppqVit2JpE1KWLFaeVev2MZCX2xYDFePU42 2lO1uClPEbP6gGdVFuoKyHDJ7DccqBAJmkDVinAjyh+pbyEj+NdiwNZl7CxJw0Zv++k9 RjOD8wMR/g8OyqZusKMmA0yY6OU3FRaQ6RISA2FEEJveonpA0094igOC5Cm4+vYxIVSp tVrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Tv3Et/tqY6Zk/pnAAyJuFDBD309Fy7UgcvolVBKAIt0=; b=euh2BB06eO2/thQigZNz2726cjONtmqXMKkr6ZBEY/+MMiGsIRl7D+hAQdnL7/5ZX0 AUJmiLcEmL9u9Q/6uqG9ZYdozrpjseAzQ1wEOrj4ZhjEp4u9+/jtMEz+Q67cb/hF8akn +FfNV9KJPIxcQB7lvxYtEVKCN7J8bE+SABGdJHgadOzNAwk2vrUmyNri0p6pAgGwj+rL 0HJSqLzaU5CZ1hme/IJr5b+muIxwdt+vAvDNGGRIom2TbLQdzYiiaAMnWySwMjzYnzB1 mt68C1p8iSGlaXqapBuL1YTYswgnBUECrojHAOTxubaqqzHvDfYnsdNgmwHlVe4j5EoM F/BA== X-Gm-Message-State: ACgBeo18fBsD/BUNUnnclgjRwvsLqdmP8HlIL9vdJsoep/h0J7YPBzfD NZ+u9PEykpW7h3VQw7aQAmv6DmW2qJxPyjveegw= X-Received: by 2002:a9d:12ce:0:b0:654:9bf:94ee with SMTP id g72-20020a9d12ce000000b0065409bf94eemr3411691otg.123.1662756810347; Fri, 09 Sep 2022 13:53:30 -0700 (PDT) MIME-Version: 1.0 References: <20220905075624.22979-1-jingyuwang_vip@163.com> In-Reply-To: <20220905075624.22979-1-jingyuwang_vip@163.com> From: Alex Deucher Date: Fri, 9 Sep 2022 16:53:19 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: cleanup coding style in amdgpu_amdkfd.c To: Jingyu Wang Cc: Felix.Kuehling@amd.com, lexander.deucher@amd.com, hristian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, 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" 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_NONE,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 Applied. Thanks! On Mon, Sep 5, 2022 at 3:57 AM Jingyu Wang wrote: > > Fix everything checkpatch.pl complained about in amdgpu_amdkfd.c > > Signed-off-by: Jingyu Wang > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c > index 091415a4abf0..4f5bd96000ec 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: MIT > /* > * Copyright 2014 Advanced Micro Devices, Inc. > * > @@ -130,6 +131,7 @@ static void amdgpu_amdkfd_reset_work(struct work_struct *work) > kfd.reset_work); > > struct amdgpu_reset_context reset_context; > + > memset(&reset_context, 0, sizeof(reset_context)); > > reset_context.method = AMD_RESET_METHOD_NONE; > > base-commit: e47eb90a0a9ae20b82635b9b99a8d0979b757ad8 > -- > 2.34.1 >