Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5210193ybl; Wed, 22 Jan 2020 12:24:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzOzX9hdnee6Th4P6hBYTxiLlSzqfIkbGf7X+HCZL0ZMXbUEecsjiWNNau3i43hoGGpUJps X-Received: by 2002:a9d:5c10:: with SMTP id o16mr9080786otk.286.1579724660924; Wed, 22 Jan 2020 12:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579724660; cv=none; d=google.com; s=arc-20160816; b=ffdUD4kD1iqusf0YQ/IjZOMF1lrGzEL9GoC6n2jjEcgm31088vmMIHXjQTQxJiLIkd 9FDJQ2PTPLW4vJaBjUu66skpz095NuUe0HYFjSDippR19n/eJCS8lNW2KcNVkP+CPoHq e/ufeYXgMp3HgVBDKngCdXpjEhz4CRXb5cMPesOk3VEq2yYU7CiJXzAxXCAzX3yW6DJM 9Kano/reidKTwP5a/BuEM0bzH7nPBIiORb7Ll9FAil8oBLnFgWMgOhkwt+k1fPQ3f4+I UvJb+GKMGd9tt1SkLlFCKxqBWThxTwnYw/rKVk9LnVLIqRYvHAJupxEN1NeyG11H+1lS +mdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tVuD5M/MYCtIro+NiHeJqsEtK6AMbnd7kxhI4hTwchA=; b=wd5DyfSKtRsX2JDNldACSz90YiJ3V9hGlLZddspl7FWhtFx7udWOHSWv2qMpsU9ecq QfFfLufpHkxqDVQ9oXZrXsKUQOWSlnKfr0NXWaFG0XD+lh4aD3AAiZG7W+eLvc55x43l XxgM6PMul2Qp7ZXfTFX/tPD4QMXFixYPF4TSIf8JR/lwBpsyAr+LFZQlILd9vK9j7Vkl qjvBdoz71nYwPU5mXc3a6AzJEc3Q7nqkpAgp7nsD9fthEN5xlkCTFZ3aQa4o7rob+gvI Vd3uWWFzi8hFi0OpO98nhF5tsxmonDfxuDkhvJdX+vi24Oju9aXyIxtSQ+zFsPPgmswu 0HLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LmLw0Hxd; 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 z21si21637583oic.32.2020.01.22.12.24.08; Wed, 22 Jan 2020 12:24:20 -0800 (PST) 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=LmLw0Hxd; 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 S1728911AbgAVUWF (ORCPT + 99 others); Wed, 22 Jan 2020 15:22:05 -0500 Received: from mail-wr1-f41.google.com ([209.85.221.41]:35781 "EHLO mail-wr1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbgAVUWE (ORCPT ); Wed, 22 Jan 2020 15:22:04 -0500 Received: by mail-wr1-f41.google.com with SMTP id g17so522923wro.2 for ; Wed, 22 Jan 2020 12:22:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tVuD5M/MYCtIro+NiHeJqsEtK6AMbnd7kxhI4hTwchA=; b=LmLw0HxdNBFf7ECjrsO5sltd9/xYioUniTzKT1bbDVnXENzkPG3gkkLmeSy4qClr2d e8dT3ZVxttShq2xC9cc1Cb9H5fwFDaRTdS7zwQDVHadroujs4Dv+nNgpwlxkeUCI5frb Vofl2Q+dUCC2bz+5GNm/pxC+YJfpVsVq9x1/KNCknqF0YhdXSqMVWzmWSkYid8F78UrJ RwdP9PO57Y7Ws9hUBvPv6v97LGzGZtH69IFU7ssOR0uaB45Wd7jSd5uvEsQH2s581CrT UFWB/62GGDv5384otm3o+Gr7ZS6NcCZ61ih24zvl4D7v6dMYOsMEPnulIRyl0oEWsyVI qCXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tVuD5M/MYCtIro+NiHeJqsEtK6AMbnd7kxhI4hTwchA=; b=tsNjw56SoQAt1Gz7yqbbPx0Qoi2FYZ8+X8AwHL0Uj/FbsvAr+A1WtUPK76TA5M0gMp JH9Ikbm02/7UyItmUVgu3k4LGoaa26JrxqnUVOeB9ve+1rhqiFd1vhV0UN4R8V6tdiPn QR3NmvR4W+zBEiwsF7clDUWi9dO3o1l3pFq0EccXS6MfDk4zAPRd8/5EJ7s1xQ2sngtv /3gtspaYJoubEUwHbnuzeECgt3AlopjtN6J1f1VQuhgTaCy41WpsCg60YQG8426ay8rO zMsQ8If012Iltt328C2HLKJHl4XLYZb6oHVJt1j4yo/Z04w9zwgmbdiZR9Uy03XujOCx BHFg== X-Gm-Message-State: APjAAAV6J8UzGZN053CiKKioKd0EpP7zRPn0P3RpHwg2mZUJVy2BvJqZ YR8XxqZqYBOLUxP6m/KxaDRpAeTvdFnJzQEe3+A= X-Received: by 2002:adf:ec4c:: with SMTP id w12mr13693493wrn.124.1579724522583; Wed, 22 Jan 2020 12:22:02 -0800 (PST) MIME-Version: 1.0 References: <20200121135540.165798-1-chenzhou10@huawei.com> In-Reply-To: <20200121135540.165798-1-chenzhou10@huawei.com> From: Alex Deucher Date: Wed, 22 Jan 2020 15:21:48 -0500 Message-ID: Subject: Re: [PATCH -next 00/14] drm/amdgpu: remove unnecessary conversion to bool To: Chen Zhou Cc: "Deucher, Alexander" , Christian Koenig , Chunming Zhou , Dave Airlie , Daniel Vetter , "Kuehling, Felix" , Tao Zhou , LKML , Maling list - DRI developers , amd-gfx list , Hawking Zhang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 21, 2020 at 11:08 AM Chen Zhou wrote: > > This patch series remove unnecessary conversion to bool in dir > drivers/gpu/drm/amd/amdgpu/, which is detected by coccicheck. Thanks for the patches. Already applied this patch: https://patchwork.freedesktop.org/series/72281/#rev2 which covers these. Alex > > Chen Zhou (14): > drm/amdgpu: remove unnecessary conversion to bool in mmhub_v1_0.c > drm/amdgpu: remove unnecessary conversion to bool in vega10_ih.c > drm/amdgpu: remove unnecessary conversion to bool in navi10_ih.c > drm/amdgpu: remove unnecessary conversion to bool in gfx_v10_0.c > drm/amdgpu: remove unnecessary conversion to bool in sdma_v5_0.c > drm/amdgpu: remove unnecessary conversion to bool in athub_v1_0.c > drm/amdgpu: remove unnecessary conversion to bool in amdgpu_acp.c > drm/amdgpu: remove unnecessary conversion to bool in soc15.c > drm/amdgpu: remove unnecessary conversion to bool in nv.c > drm/amdgpu: remove unnecessary conversion to bool in mmhub_v9_4.c > drm/amdgpu: remove unnecessary conversion to bool in amdgpu_device.c > drm/amdgpu: remove unnecessary conversion to bool in athub_v2_0.c > drm/amdgpu: remove unnecessary conversion to bool in sdma_v4_0.c > drm/amdgpu: remove unnecessary conversion to bool in gfx_v9_0.c > > drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 2 +- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 +++----- > drivers/gpu/drm/amd/amdgpu/athub_v1_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/athub_v2_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/navi10_ih.c | 2 +- > drivers/gpu/drm/amd/amdgpu/nv.c | 8 ++++---- > drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 6 +++--- > drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 4 ++-- > drivers/gpu/drm/amd/amdgpu/soc15.c | 28 ++++++++++++++-------------- > drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 2 +- > 15 files changed, 43 insertions(+), 45 deletions(-) > > -- > 2.7.4 > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx