Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2687773imm; Sun, 17 Jun 2018 01:57:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKmq+VTCKG7VPw2mB987NfQMoJoDIbqwYamtkxDgD/FJRAo/6L5ApGDR6Yig6PjWAHfpLDy X-Received: by 2002:a62:48cd:: with SMTP id q74-v6mr8768488pfi.153.1529225837783; Sun, 17 Jun 2018 01:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529225837; cv=none; d=google.com; s=arc-20160816; b=W/5guyWKm/SFliSdrgqdeZ45cE/ozMLvIyNNm7LquNBt/jI6gviU3FpB4I4vut60IV McPikPQgRgeJrW2Gs1mqYL/XiN0fjI4UcbCNqBTy5FWyrrkxRXJ7ebjPamw9vkoTUvH8 MKwqxuCjYVy/nqTD8Ju6EaPc8Uj9hu2hz/Db7eRSlxNUightk7ip6bkzDr1j2GSZIlSz +cPR748EH3c2bb7hnTgzYgQkGVwmLnIRHw1vduMz1PjQtLdmsnvlZqxnlqPQWpnTDcyt +NKqruEjKAtCmecgXUN5w4MpCrDykFMOXtlM/7U2VGjHCDtvkwFCiPYeeO2PPJfjLovs V7bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=i+dpBz+p7w0cz2jmpJLNvo2UxWlSOlnUTAIylOo1OaU=; b=gbJG0kEIHxQ4bmpmpRXsi3XRN0QV7Z+Jh2C4u+xv9S77fFqzOfGjIcG3oDneGEBOx1 jjXKyz7gwm9w/iN7uDxvZ0qM6mEbf5fN4rcXkEgnvx0M8XDTzTeE3woFaU7Ej2nMp5Li Y9HaPhRYGiOZs2Xdd53iY4DnodgWiwIXk8evYkFsTkWK7vGGUTTOZqVeu9IFTb2O9wpk TooTGVzQPhNmpnMlN2E2psEgwrJTVBLNuhWfdDlaZ01ZwUzYIiP6O6z/53zkYwots+GL vCJiRbRImXG0+pyEDjoJStabfGpJCRnZKiLGj9Lw+9huQIKDRWu76mTA24Vllz5YuE/8 BjmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b="Yl2d/D5g"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j129-v6si9913910pgc.186.2018.06.17.01.57.02; Sun, 17 Jun 2018 01:57:17 -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=@agner.ch header.s=dkim header.b="Yl2d/D5g"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932940AbeFQIzs (ORCPT + 99 others); Sun, 17 Jun 2018 04:55:48 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:43810 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932478AbeFQIzr (ORCPT ); Sun, 17 Jun 2018 04:55:47 -0400 Received: from trochilidae.lan (unknown [37.17.239.3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 1E0625C128F; Sun, 17 Jun 2018 10:55:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1529225746; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:content-type:content-transfer-encoding: in-reply-to:references; bh=i+dpBz+p7w0cz2jmpJLNvo2UxWlSOlnUTAIylOo1OaU=; b=Yl2d/D5gDdjwezqeQ4fVeuqCnQzs5PMK/qc1no6vegtHWo5x9yzisUsrOb4kogWVQxyqy8 nuha/Blg180Mxs2MFxYtUx6SgtIxafQqnlJm/rbCWJoiGwGKGV8Bwdm9VhiDlYUVshO+x9 RcN9KxRpFftHk599SKeSUYCThfoi23A= From: Stefan Agner To: Inki Dae , Joonyoung Shim , Seung-Woo Kim , Kyungmin Park Cc: Stefan Agner , Marek Szyprowski , David Airlie , Kukjin Kim , Krzysztof Kozlowski , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/exynos: ipp: use correct enum type Date: Sun, 17 Jun 2018 10:55:29 +0200 Message-Id: <20180617085533.13867-1-stefan@agner.ch> X-Mailer: git-send-email 2.17.1 X-Spamd-Result: default: False [-2.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWELVE(0.00)[13]; BAYES_HAM(-3.00)[100.00%]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; MID_CONTAINS_FROM(1.00)[]; ASN(0.00)[asn:13030, ipnet:37.17.238.0/23, country:CH]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The limit_id_fallback array uses enum drm_ipp_size_id to index its content. The content itself is of type enum drm_exynos_ipp_limit_type. Cc: Marek Szyprowski Signed-off-by: Stefan Agner --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index 26374e58c557..04702e974e81 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_ipp.c +++ b/drivers/gpu/drm/exynos/exynos_drm_ipp.c @@ -428,7 +428,7 @@ enum drm_ipp_size_id { IPP_LIMIT_BUFFER, IPP_LIMIT_AREA, IPP_LIMIT_ROTATED, IPP_LIMIT_MAX }; -static const enum drm_ipp_size_id limit_id_fallback[IPP_LIMIT_MAX][4] = { +static const enum drm_exynos_ipp_limit_type limit_id_fallback[IPP_LIMIT_MAX][4] = { [IPP_LIMIT_BUFFER] = { DRM_EXYNOS_IPP_LIMIT_SIZE_BUFFER }, [IPP_LIMIT_AREA] = { DRM_EXYNOS_IPP_LIMIT_SIZE_AREA, DRM_EXYNOS_IPP_LIMIT_SIZE_BUFFER }, -- 2.17.1