From patchwork Tue Jan 17 04:06:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Archit Taneja X-Patchwork-Id: 9519893 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: 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 E426F6020B for ; Tue, 17 Jan 2017 04:07:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7C1C28179 for ; Tue, 17 Jan 2017 04:07:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCA4428452; Tue, 17 Jan 2017 04:07:06 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5D1E728179 for ; Tue, 17 Jan 2017 04:07:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751113AbdAQEHF (ORCPT ); Mon, 16 Jan 2017 23:07:05 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:55828 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751014AbdAQEHF (ORCPT ); Mon, 16 Jan 2017 23:07:05 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CCBEA607C2; Tue, 17 Jan 2017 04:07:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484626024; bh=BsJmPwjnKtUiZ7VaI5i2i2ZObg0dxWwfovzLKeewMvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LDCcqRsTNanaJ67YOGhRz1RJX68BtTXPLWBQwvu7HmzesIntElbDm5h58H37KGLfX pQXT6bdaQtqQj01s1R8tDO955JhtWaW2iY993z0utau4wIEkt4haQeqzi2vHneE8rz KG9fz4M12v994BQnyi/nACHr+XIvIsf/3Fwd9aaA= Received: from localhost (unknown [202.46.23.61]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 508C7607CD; Tue, 17 Jan 2017 04:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1484626024; bh=BsJmPwjnKtUiZ7VaI5i2i2ZObg0dxWwfovzLKeewMvA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LDCcqRsTNanaJ67YOGhRz1RJX68BtTXPLWBQwvu7HmzesIntElbDm5h58H37KGLfX pQXT6bdaQtqQj01s1R8tDO955JhtWaW2iY993z0utau4wIEkt4haQeqzi2vHneE8rz KG9fz4M12v994BQnyi/nACHr+XIvIsf/3Fwd9aaA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 508C7607CD Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=architt@codeaurora.org From: Archit Taneja To: robdclark@gmail.com Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, Archit Taneja Subject: [PATCH v2 5/6] drm/msm/mdp5: cfg: Change count to unsigned int Date: Tue, 17 Jan 2017 09:36:29 +0530 Message-Id: <20170117040630.5299-6-architt@codeaurora.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170117040630.5299-1-architt@codeaurora.org> References: <1482141850-23393-1-git-send-email-architt@codeaurora.org> <20170117040630.5299-1-architt@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Count can't be non-zero. Changing to uint will also prevent future warnings. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h index 050e1618c836..bd4fe81d6160 100644 --- a/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h +++ b/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h @@ -32,7 +32,7 @@ extern const struct mdp5_cfg_hw *mdp5_cfg; typedef DECLARE_BITMAP(mdp5_smp_state_t, MAX_SMP_BLOCKS); #define MDP5_SUB_BLOCK_DEFINITION \ - int count; \ + unsigned int count; \ uint32_t base[MAX_BASES] struct mdp5_sub_block {