Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1282133lfc; Wed, 1 Jun 2022 14:07:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJSjmFT0Y/hlKOjJfWl0S+DGf1pSOAIdQl5wNKUQ84jOZfirLjuBfntZG4BQPUaI1I9CzI X-Received: by 2002:a17:903:283:b0:163:be9d:483a with SMTP id j3-20020a170903028300b00163be9d483amr1328824plr.166.1654117663739; Wed, 01 Jun 2022 14:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654117663; cv=none; d=google.com; s=arc-20160816; b=Z4I64Gb9a0zHHaHgLZTnvdeAheL8pkl+8ecWmnltma+e+JsSnwOxB17Ovljnkj+xnS hSkuinuXSU9EtD2nADEzkzZlTxbM8lHBJ/IVVHI3LqIl06PQH446YBiwI3R1IbEfC4MC 8mBKFEWSGAx4SvmZIpurqVM01+7hwb+2OJbLBx1+28568TUFKtPdB090VtpsJSarNXQs SnpduwnbQkxloYYQgJ0umDNOv4hszwwaHXKJuj7I8aNzLR0KWx4OqYR1cSdmBchCfgky XF1vl6EMRUZrBNE+nq8rsYNjOr/WwQC40DEt23vmZYJlVx5GUG885DmppSa+qV6iloA5 VJ0Q== 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=14I4UbwyvZc+eD1HbI5WSSoBcqZsYR0nCVcYOj4jF60=; b=oTAGxt9K3ykftdkx+MRdF7Fc42eKnyVxuhNpDGXzDBjyAElBI2+jwUzmhC0ManRnV8 /pMP29ZWzRgjrMwLudJZDAGQvRTpoeFqYaDrx4Wmqy4hP5tJpPHtXtRw7SK6CntvF+7t QX3zFfhjxxD4wPFHijY0omn2tXfUZ198e/ab8s7uWvmCoxOkNG1U05PB+kShfYlJz0o4 bo1zA+RtSfArc8gY/iTXEqOYJf2xJ6ZRVmwZxwJ4xAN620B4trnA+qk0R96GFGL5qdww 1XDa8q1cZwqXgAB9y3QlaCzWWBOYZ2/FoaQxsAmc6DoPoObKCsGngIoXyM9SEGvDwnTx s3Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="e7xa2Dm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id na2-20020a17090b4c0200b001e4dd12a0a7si4612462pjb.165.2022.06.01.14.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 14:07:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="e7xa2Dm/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5F3EC248534; Wed, 1 Jun 2022 13:17:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347950AbiEaVVV (ORCPT + 99 others); Tue, 31 May 2022 17:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237276AbiEaVVU (ORCPT ); Tue, 31 May 2022 17:21:20 -0400 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A74447035C for ; Tue, 31 May 2022 14:21:19 -0700 (PDT) Received: by mail-ot1-x336.google.com with SMTP id l9-20020a056830268900b006054381dd35so10451282otu.4 for ; Tue, 31 May 2022 14:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=14I4UbwyvZc+eD1HbI5WSSoBcqZsYR0nCVcYOj4jF60=; b=e7xa2Dm/2h8eDTqriJXBMxIHmSbFZQ0dfVMW+2BL/ayhYBc8NQ6aVx9kfSTr2zW70D oK1GrCmhwwuCeeQC8incazQBla0C69caxYTNAKSqgANXCsni8+ZfbMYBcmDRId9Y5buJ 5+y54PaJsZWyuP79FKE6tkFJaJVPrjvgLObCER5jsxb5o8RkU/r+ybMPSLHV9I3DmpzX RYwS+02PrTfn7YVXEJtipC9fMJyYImombjbBGbO1I8NW7JEwj+kH8PtZopqGBINM+hiC o6vEm7lTiI5hFxiH8fn9N+5GAbo4xwITjBKVoktqbwE9UcNDHGLTrCZAIWfuWPSp0fmi EryA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=14I4UbwyvZc+eD1HbI5WSSoBcqZsYR0nCVcYOj4jF60=; b=3PeCRyFGB+Pmq8Tc9tyGlHQeSOvQywhe3tz1MHSAWiHfCIDaq2Jbns4ecdNL45Y6gW IV6e+cOtGjQeLm4zkicU8fmO4lZt7L2TZN7h1B5qiaaCL3+WqE867xMYTesVHp97ueYw Cpw499LJTC1WBb8souMRJHn3qpXVr2h9h/0T0rZbBPh+Zsqdca/HLqPzRZ/AE/Waw6Wq l+VZGv19lk1PInNrCMfJkhegYDoIwsFGS6ZQGG6+g7gGUwdpy9M4fVErC6lY3+TU/qmc BBAvS/SGHSxiq+qUoAYwEQAM78q7bXhn9JtJV0X4OPIGRpqrDy3Z8APtY3t5By6hV9HO DJrg== X-Gm-Message-State: AOAM533lYVOeUE4nbHbx5d0aeG06+FooEOJItAQejuHLYyhf+Qr1pylc fGA+PqiZOiV1QpngkS16p/hnwCd6c3RkrGMFLEw= X-Received: by 2002:a9d:6b98:0:b0:60b:c54:e22b with SMTP id b24-20020a9d6b98000000b0060b0c54e22bmr18169628otq.357.1654032079055; Tue, 31 May 2022 14:21:19 -0700 (PDT) MIME-Version: 1.0 References: <20220529072631.307922-1-sunliming@kylinos.cn> In-Reply-To: <20220529072631.307922-1-sunliming@kylinos.cn> From: Alex Deucher Date: Tue, 31 May 2022 17:21:08 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault To: sunliming Cc: "Deucher, Alexander" , hristian.koenig@amd.com, xinhui pan , Dave Airlie , Daniel Vetter , Hawking Zhang , Mike Lothian , Xiaojian Du , "Quan, Evan" , kernel test robot , kelulanainsley@gmail.com, LKML , amd-gfx list , Maling list - DRI developers Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE 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 Applied. Thanks! On Sun, May 29, 2022 at 7:50 AM sunliming wrote: > > Fixes the following w1 warning: > > drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:5873:2: warning: unannotated > fall-through between switch labels [-Wimplicit-fallthrough]. > > Reported-by: kernel test robot > Signed-off-by: sunliming > --- > drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > index cb581cfc7464..628d3536938e 100644 > --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c > @@ -6028,6 +6028,7 @@ static void gfx_v11_0_handle_priv_fault(struct amdgpu_device *adev, > break; > default: > BUG(); > + break; > } > } > > -- > 2.25.1 >