Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1757396ybi; Wed, 3 Jul 2019 22:53:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlt5SHF5H5MUhPd6zp4yLc4PerofM9oHOdXJacrdX1Fh9KoDK0HybApjaDDn53NpQbS29M X-Received: by 2002:a65:64cf:: with SMTP id t15mr33502275pgv.88.1562219600563; Wed, 03 Jul 2019 22:53:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562219600; cv=none; d=google.com; s=arc-20160816; b=mMLM2dzEFeRCYOy1U6dClI0dqZgiVehm524je9Cq4xdBAXZAC0Zb84w3zBHEeC3wZy 3aOG4XtrtatSURqB3nrP8jcEJTZVC1lTumL03K6XlcnORgrXPWyz6MPfYWMndpki0veb T/7uHqK/v+99X6lZ5TR9gQxj2K7t0kV1r6JSv057zbJLbDltW1RVIpWj6sYaQC8nDUz5 OmlckGxiLhIg5xcFlWO50LB6FFTjOTidqRi0e6ciVnARTL56FreSN74f9mQ84AS72Xc8 AJ2ewvCZFnYIpvhHGbmtxFPhhUEemKvjCv7qql7lhoKid2c+EMA4hkp2bJFs7gvXCKwn uoiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ccAtd/XzKmyo3sFMsPL2Axp/F49Jdngxli/Tjqq8k6s=; b=XOBsQYS3vsL3q5AooOUcH1kDMgb0dW+x1U+xjdJieM6LQ8rH1uZNMWt/kg80bo2sCJ DZXyzXl+FewGUavJQeXiK4p8pk2yq/dEuVqzJFHZBRlCdwV/8vMZxTMUvvapN0o/cIDX pYjCcsVBpMrNYhChWcbTG/Dqv3oMjutdIbNz5wuKCpvipNjFGZ9RuymJtbYX5Mcjxif0 8Ga3x/rzwp3zE0IDzpYkVOYs1JANtbvAlDlok95eGJiqgR8eFgJQ0CtiUGHjT72doUfk LyaHVK8Q8YLqFsdLE4vC8y5fb4O5jfuutFio2RXb417Ew9o/s4V0mHp8JaTYcB3vLt+E 2q2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fHkNwfKj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i185si4610060pge.505.2019.07.03.22.53.05; Wed, 03 Jul 2019 22:53:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fHkNwfKj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727225AbfGDFwn (ORCPT + 99 others); Thu, 4 Jul 2019 01:52:43 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:40521 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725861AbfGDFwn (ORCPT ); Thu, 4 Jul 2019 01:52:43 -0400 Received: by mail-ed1-f66.google.com with SMTP id k8so4228804eds.7 for ; Wed, 03 Jul 2019 22:52:41 -0700 (PDT) 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-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=E/Rl+0lyYFa05rodw8EM6dPVSNI7MssnLMDBk5Clt+9d8h1GkBPoa9LdhkoHfSnHLz Qq7eOlbdfNV3A+8OwPgDAaJpYvgxWrSqhSm55FE66xcKWbn6K9h1WxGzQ3cijqpJBiqn BTLC7tGbu5hpGedxy7t14ceYm6PdG/V26XS2F4iwiKEGqJGe9mLVZ47aUFSsaWfAKWA2 O7nePwF9ohEU+FUHeL8L2IIzq8jkrm+2mwU7X2FEmZw5QLymr4lcjqde2zGKeyYtlUtu lVgU1tQ8XPiycrMTQMhjZXzGBTX+py1zA1GbFWikKCnylZokTp9HWdZLZtNSHc161PmI i3QQ== X-Gm-Message-State: APjAAAU0dy6NDj/TWHDKPmIPqs9tPjUZkSIIEwFp6Q8sQW78EglSI9Cp UCeTtmRN8WD1HkdAiTXtfws= 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=20K=C3=B6nig?= , "David (ChunMing) Zhou" , Harry Wentland , Leo Li , Rex Zhu , Evan Quan Cc: David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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