From patchwork Thu Jul 4 05:52:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Chancellor X-Patchwork-Id: 11031125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2ED5514DB for ; Thu, 4 Jul 2019 07:26:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1BBB328A33 for ; Thu, 4 Jul 2019 07:26:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1074528A49; Thu, 4 Jul 2019 07:26:46 +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,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,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 D191A28A33 for ; Thu, 4 Jul 2019 07:26:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8E4176E29D; Thu, 4 Jul 2019 07:25:24 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by gabe.freedesktop.org (Postfix) with ESMTPS id A38486E25B; Thu, 4 Jul 2019 05:52:42 +0000 (UTC) Received: by mail-ed1-x544.google.com with SMTP id w13so4244737eds.4; Wed, 03 Jul 2019 22:52:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ccAtd/XzKmyo3sFMsPL2Axp/F49Jdngxli/Tjqq8k6s=; b=ZncbB/iXgFdZIduS1pJODJ0rGUfgMOSt6f8MvhcTlcGKnxS82gBUfQiPh/mI7RDNop wtawtbHbwT3xvNjsd7v44POVdysKXnGxORjgTiVsLetVPb51IEBPFlVZrPbV9+v2jH0z 7r/YlBTYgFuCBt3tylmDW6EXKtKsdJUq3LXv+6j/TmdCNZQii1mDfSgpJd22dr7Utm88 OyoX3Wf/PmNrQND1bIfMygG6hMgiX89GVbKhBo2xTEr21VFGaLPB88nndwu3VSTGlvfZ F3qpDemExAJEDm3khRsNjcSGl9LEzZmGDKBkENnV2CaLuIWIVxe7tqASaqJ2mPna2Qc2 uH4g== X-Gm-Message-State: APjAAAVYqyHKORLNHjgdC5NU8GlzxfbPgVRRzLxhPxD8nfjy39dc3i3m awPafukpJoSdXptTw4QlmYgmXE1HT0+RVA== X-Google-Smtp-Source: APXvYqxqJdI0tb77RRuQ1gbOjrMSVm0Z97aLyUChIzwfR64hN/kecvtnSlsHPqhQvbarXJfo9wWGlg== X-Received: by 2002:a17:906:8048:: with SMTP id x8mr30937958ejw.87.1562219561202; Wed, 03 Jul 2019 22:52:41 -0700 (PDT) Received: from localhost.localdomain ([2a01:4f9:2b:2b15::2]) by smtp.gmail.com with ESMTPSA id j30sm1343532edb.8.2019.07.03.22.52.39 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 03 Jul 2019 22:52:40 -0700 (PDT) From: Nathan Chancellor To: Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "David (ChunMing) Zhou" , Harry Wentland , Leo Li , Rex Zhu , Evan Quan Subject: [PATCH 0/7] amdgpu clang warning fixes on next-20190703 Date: Wed, 3 Jul 2019 22:52:11 -0700 Message-Id: <20190704055217.45860-1-natechancellor@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 04 Jul 2019 07:25:13 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ccAtd/XzKmyo3sFMsPL2Axp/F49Jdngxli/Tjqq8k6s=; b=fHkNwfKjj7VqlrBRMEGJ5ApoeF0azL4rzRGGxqNBnhzNr8B3gMbYKRCCehINbvisVk 43qYGIsE33Te7YC6/RYvuEvFW9SqmuPt2FcnDQ+2tUMVcEX/AfphMdbPB1C2938KBr28 CaY/Qs5ZW/1c6ehdbiQwxJ/k/cAc9lnTtcfiEauLoTPWqesc7tqCEMQC3ky3L12IVS88 R1JF8+dz+S4dr6zNz/sKxlbHqu26vw5iuGRqDG/HLAymyjskKIX/lmFeHWxJo3tNrREY GOi+1S3yO0V0HVQsJ4GXUk1vaGde7gGnx+aRl/+83SJxJItKupsxZ2t0c27pIg1HhDGT jR5A== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, clang-built-linux@googlegroups.com, amd-gfx@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Hi all, I don't do threaded patches very often so if I have messed something up, please forgive me :) This series fixes all of the clang warnings that I saw added in next-20190703. The full list is visible in the gist linked below and each full individual warning can be seen in the GitHub link in each patch. https://gist.github.com/5411af08b96c99b14e60c60800e99a47 All of the warnings are fixed in what I believe is the optimal way but the enum conversion warnings were the trickiest; please review carefully as the code paths for some of them have changed (especially in patch 3 and 6). Thank you! Nathan