Message ID | CY4PR12MB1687C56D02C99719379909B1FB710@CY4PR12MB1687.namprd12.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0573C6029B for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 18 Jun 2018 11:42:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6DE12899B for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 18 Jun 2018 11:42:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DB894289A0; Mon, 18 Jun 2018 11:42:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E21B2899B for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 18 Jun 2018 11:42:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 946F26E3D6; Mon, 18 Jun 2018 11:42:39 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0070.outbound.protection.outlook.com [104.47.42.70]) by gabe.freedesktop.org (Postfix) with ESMTPS id 294AD6E3D6; Mon, 18 Jun 2018 11:42:39 +0000 (UTC) Received: from CY4PR12MB1687.namprd12.prod.outlook.com (10.172.72.147) by CY4PR12MB1144.namprd12.prod.outlook.com (10.168.164.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.19; Mon, 18 Jun 2018 11:42:37 +0000 Received: from CY4PR12MB1687.namprd12.prod.outlook.com ([fe80::a879:4e27:e5b7:fc03]) by CY4PR12MB1687.namprd12.prod.outlook.com ([fe80::a879:4e27:e5b7:fc03%9]) with mapi id 15.20.0863.016; Mon, 18 Jun 2018 11:42:34 +0000 From: "Zhu, Rex" <Rex.Zhu@amd.com> To: "rajan.vaja@gmail.com" <rajan.vaja@gmail.com>, "Deucher, Alexander" <Alexander.Deucher@amd.com>, "Koenig, Christian" <Christian.Koenig@amd.com>, "Zhou, David(ChunMing)" <David1.Zhou@amd.com>, "StDenis, Tom" <Tom.StDenis@amd.com> Subject: Re: [PATCH] drm/amd/pp: Fix uninitialized variable Thread-Topic: [PATCH] drm/amd/pp: Fix uninitialized variable Thread-Index: AQHUBtZz2t3jkQILGUuwmHhKw4S2xqRl5Ry1 Date: Mon, 18 Jun 2018 11:42:34 +0000 Message-ID: <CY4PR12MB1687C56D02C99719379909B1FB710@CY4PR12MB1687.namprd12.prod.outlook.com> References: <1529307062-21787-1-git-send-email-rajan.vaja@softnautics.com> In-Reply-To: <1529307062-21787-1-git-send-email-rajan.vaja@softnautics.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [116.228.147.241] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR12MB1144; 7:AanuJxosibzxB9w0nFDeYtmU8qP/uq6l5Gs0KJmn8ZeBpsr37EfUqxT0UcahiJm0mOO9wIwebc3cRG73AKqBp8gl/XwoenH3JSlinGyc0RlSbdGtY3xJ98JDI9ERWS+cMcU/qbPq+8iubG7wSuNH1N45p6y1eMnuMkRtRyqflI9h7prR2Re59wPm+1IP85ER64dccEC4hYplaDg1xENHL2LBxU1olvaqQ9bgz2N45mjOW2P3gIVd8psNw7m82KJV; 20:eBY1IoI/pTM0QKm1FEEd7WfG4JFRrpGyl6oseTRJBKFq5HBESP+Ax2HT6qqkP/OQvCGFP40ivQ8JNMHYrEepdV5qEAd/b7tMEmh4I9OqL4q6FB+4nXi4CClSD2x/xsdrjRrNxgDUe3x1/cKu3fACIC1lPvz+9p5AtFoo9/o/eJPPepoN08ft5nzaoztOg/VnZO3O+johRWlyjEgZjaLp9RQn/f5Q9ZVu19EhJS1/ebXYOR+nWQ2hLpumEJOZCd5A x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(366004)(39860400002)(346002)(376002)(396003)(39380400002)(199004)(189003)(6246003)(105586002)(39060400002)(14454004)(106356001)(54896002)(476003)(2906002)(25786009)(9686003)(6436002)(486006)(86362001)(8676002)(74316002)(81156014)(81166006)(55016002)(4326008)(8936002)(229853002)(53936002)(11346002)(97736004)(2900100001)(7736002)(446003)(33656002)(7696005)(316002)(99286004)(66066001)(6606003)(6636002)(72206003)(186003)(5660300001)(6116002)(3846002)(68736007)(2501003)(19627405001)(5250100002)(76176011)(478600001)(59450400001)(6506007)(26005)(53546011)(54906003)(3280700002)(3660700001)(110136005)(102836004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR12MB1144; H:CY4PR12MB1687.namprd12.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-office365-filtering-correlation-id: 2a12fb32-df93-4b52-925d-08d5d5109549 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:CY4PR12MB1144; x-ms-traffictypediagnostic: CY4PR12MB1144: x-microsoft-antispam-prvs: <CY4PR12MB11444C92FB891E8860423E9BFB710@CY4PR12MB1144.namprd12.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(9452136761055)(85827821059158)(217544274631240); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:CY4PR12MB1144; BCL:0; PCL:0; RULEID:; SRVR:CY4PR12MB1144; x-forefront-prvs: 0707248B64 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: qpTrZijlhiQu+MWNkKWYRMKtVoNLOBZG/w8kiZsPrUVlEdKOmXyy7+x5zxRY2r2U38TR+VvSaWmtozqiMadh0GYG7CCVoIohwQBKAWE2mcX+gYtLeX0+kl/i66p3La/WJ0T/rRlQFYjAUIJssPGtt/7wYMNlf9wvLoBzTBAupoqehAMh5t3xYwfLkvmX2QJvjuB6QaQ4yNu1wE3Qg5MMU0YNp8yyXu1+wnMVGPauzw748Y9beBBtexGggl3iSXWVqZuL+8O/Pr/R/M4U9g+ZqZJrOf3qLOD+2w7/Yg8pekfoVbYh6MoNzrYK9p4UDzLslowebL8iG21KTjKgVwzXDg== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2a12fb32-df93-4b52-925d-08d5d5109549 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2018 11:42:34.2206 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1144 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>, "amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> Content-Type: multipart/mixed; boundary="===============1580497569==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c index a9efd855..bde01d4 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_powertune.c @@ -1090,7 +1090,7 @@ static int vega10_disable_se_edc_config(struct pp_hwmgr *hwmgr) static int vega10_enable_psm_gc_edc_config(struct pp_hwmgr *hwmgr) { struct amdgpu_device *adev = hwmgr->adev; - int result; + int result = 0; uint32_t num_se = 0; uint32_t count, data;