Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2814648ioo; Sun, 29 May 2022 04:39:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDAkW28pWHz/Jd5WQ60OGiyCjx43YGEDdYmrseDT4KccRfwqsJoYe7824docoDaobbuctG X-Received: by 2002:a05:6402:3047:b0:42a:fbe9:4509 with SMTP id bs7-20020a056402304700b0042afbe94509mr53487399edb.159.1653824346735; Sun, 29 May 2022 04:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653824346; cv=none; d=google.com; s=arc-20160816; b=jvGMA2h/4NicYJZWoLb15jHZSZmkITNqbglN07qDxqekmtA22BGdUlNgNNeWxjr1de HSa9SqWu4hm65Q+OoS1/XFlR2T8mUN4s2euBHDjDOBeyqDVjyc9z9fXXme28Ib51hIx2 g4z4a3+ROFEnsywKZlGRQsrVhQGZ/cue+hY05jzNq5/x+Gr1UWJ39PkUMDXYT4F42qAb 85tWemNRqf3zvc6A53WxmSY8hkSuYYJrBRtuogtv7gn9xmj60V+/A86E1CEyNcw5RP0N Fky5YnJNfJutRwT4gme0bBKjSo9JhQQo/P3PFYYnrM9H4o7p/NroKpDhvfRiZ8OCUyS0 BKSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=vu4dWIGyiffGhwd6i2g4sM9fvK38UUljjdIsvD/ie+k=; b=Xht9/B4Mo7aQNHzkBCb8xGQQNULXfvLKHyQC+Gt45noHI/jvPk41kbbyX1BxsAEXW1 jEUd30QsivjLkMqJYPJTnfSx2bU7095uiHlPZTPMoCIsW1zhwUouE/ucdc8oc+D2axbh qFsEgVwUXzQuZ7RzXhYD6oUlvWB/rxGBh3rlN7WGcQohT+5BvoaeUiI0bawMW6waOBOH okipSLErRKCKhXuLgb+Tqw8XWNFbYOyeEK6svrpHyswNV8EB6pFHYKnG5n1FyUYeu4Np WJzESaOUBXlaDqyyK70I33I9SZMahRZcGq5BYygvJPQWzgzuCqiAyVglg6XtzYgyzqt0 I5mg== ARC-Authentication-Results: i=1; mx.google.com; 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 k25-20020a170906129900b006ff04ef3871si8030915ejb.882.2022.05.29.04.38.40; Sun, 29 May 2022 04:39:06 -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; 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 S229653AbiE2H0s (ORCPT + 99 others); Sun, 29 May 2022 03:26:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbiE2H0p (ORCPT ); Sun, 29 May 2022 03:26:45 -0400 Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9E2F4DF43 for ; Sun, 29 May 2022 00:26:43 -0700 (PDT) Received: by mail-pj1-f68.google.com with SMTP id n10so8180714pjh.5 for ; Sun, 29 May 2022 00:26:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=vu4dWIGyiffGhwd6i2g4sM9fvK38UUljjdIsvD/ie+k=; b=eOhqRbRWBq7b9snBmQahJtUCnF/Nw2p0M6yivnRg5IrIHT2xOad2YwEUQbfOON8rsG okUtTiQMNuwPNl16oqN1PDlrW8FWCnGpt+kNFg2RuFszuelu37idlbxdOcQQ9KzkJgwg Z9Eh/16k7t9OhlWvr3be6Bo0fEVyizGDRIPC4qPHRXgCONvUCkR/w29KDQZeKx2NlsHg llHkDB0YXmVkzq3EfMChKUojnP/Fjr9D7VL2k8MkQuXYEJydiOf4IYxlYCFt0b1j9IvW gIgr2QC5V6n5zzyecZDAVkzIWV+uFFCKrwmD6Dy6cupq0FSE7FOKBAN9WfYtJsaOjQxe bd7Q== X-Gm-Message-State: AOAM530isYRqX+OHWd9lfLga6/kqpj/rLRvyKYZ3NlgrUBfbr6OWzEB8 XLleoMLFoYb27WiQc49psw== X-Received: by 2002:a17:90b:224a:b0:1e2:7afb:3367 with SMTP id hk10-20020a17090b224a00b001e27afb3367mr11946655pjb.37.1653809203357; Sun, 29 May 2022 00:26:43 -0700 (PDT) Received: from localhost.localdomain (ns1003916.ip-51-81-154.us. [51.81.154.37]) by smtp.gmail.com with ESMTPSA id h24-20020aa796d8000000b0050df474e4d2sm6448333pfq.218.2022.05.29.00.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 May 2022 00:26:42 -0700 (PDT) From: sunliming To: alexander.deucher@amd.com, hristian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, Hawking.Zhang@amd.com, mike@fireburn.co.uk, Xiaojian.Du@amd.com, evan.quan@amd.com Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, sunliming@kylinos.cn, kelulanainsley@gmail.com, kernel test robot Subject: [PATCH] drm/amdgpu: fix a missing break in gfx_v11_0_handle_priv_fault Date: Sun, 29 May 2022 15:26:31 +0800 Message-Id: <20220529072631.307922-1-sunliming@kylinos.cn> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,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 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