Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp713234pxv; Thu, 15 Jul 2021 14:12:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyE3bdapOCnC8rrXHrlX++Uqb5g+ukMADyaJc9gf6tk9D3i1pBIEO0QXx3wWHCU4G03INn X-Received: by 2002:a17:907:9608:: with SMTP id gb8mr7850410ejc.414.1626383528938; Thu, 15 Jul 2021 14:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383528; cv=none; d=google.com; s=arc-20160816; b=ENpXvj4QyqtMRvlvz1xQs8frdyfM2q05xlmLL0khh3cZsxxY9U3f9V8F6u5SUeiDqW giKWiU7BCC7FaULSYdz/+XnPUS4TB0stSGrakk4QM0zaSwImkzp1fpuA8S7BRqlZ0EN1 9D5zlW0Myrc3lBnzchN2sfXqvyoyGVNnATj7nVSaxY8xO3CFPtgrCMVkVWYDWrTPDsvu ZKbKRlEHzRp/9dDy1cDtLkqpsvG2YitTO6gc3B0Q4dA1P+DOKc61wu9U2Uw/PB30lWZ2 A4XmunlhOIBetqmZK4SBtlG/14owUE97vkELybwa+2yRH3MBZp9OI9eXwOjAjKhuzwOX S8pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=chvZkOhVy1YD2zkl7vqJ5jNiKIVEDkPoSuc1YE61cPE=; b=iyLdwGPbVLiuEmXSeZZnGykjuzQMznCKIVUnWs7jGyKYlLmwc2pHHA9y5M4/IAT9TB xvc7+5K4eW6M2RnXk0FRfJHXFVODLmZMANTE3uzyAVzml0dQ6RLbb8jZnGapkzfqpLyu dkyssXmvt7YWQNIxhwX61g3gMVUPec69y1nl4IzQT5NivEx+EIr3o4c22EBTWhD2gvG4 FC+82MhQWMU1xJp5jmZRpVM3IU7wbRLB941BuN8ViewXXMsWpOjSyrIHOxe4+equqgJq 7tSQLPsvwq90/jGUWhlwby0M5kOuielki8gar6O2MIxr7RqzDc0RbAzxRGrVWzNQocdr 612A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IQ9SZCMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f17si8023000edv.266.2021.07.15.14.11.41; Thu, 15 Jul 2021 14:12:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IQ9SZCMM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344400AbhGOTZf (ORCPT + 99 others); Thu, 15 Jul 2021 15:25:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:46396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242245AbhGOTIt (ORCPT ); Thu, 15 Jul 2021 15:08:49 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DF21A613DF; Thu, 15 Jul 2021 19:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375874; bh=LlINakK7vPhAHS2AjT7/SVE6Zsa9OiC3yVd1oojOPFI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IQ9SZCMMORha31221Uy0QZZQKmZfWDnkHM8h6oAJZz1aMJjCWV70hM7UJ3ISqm8KD 3INYxWdXEoFaFeVfXsjwAUYs7BDmhwoTFsEG2/iIRhfRqMtJSYzjg0Bykizw8y7068 +mTuVNLdGFwaXaHIzoIZe5nw9WYHTVkDguz30RO4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Dan Carpenter , Maxime Ripard , Sasha Levin Subject: [PATCH 5.13 008/266] drm/vc4: fix argument ordering in vc4_crtc_get_margins() Date: Thu, 15 Jul 2021 20:36:03 +0200 Message-Id: <20210715182615.341158690@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dan Carpenter [ Upstream commit e590c2b03a6143ba93ddad306bc9eaafa838c020 ] Cppcheck complains that the declaration doesn't match the function definition. Obviously "left" should come before "right". The caller and the function implementation are done this way, it's just the declaration which is wrong so this doesn't affect runtime. Reported-by: kernel test robot Signed-off-by: Dan Carpenter Signed-off-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/YH/720FD978TPhHp@mwanda Signed-off-by: Sasha Levin --- drivers/gpu/drm/vc4/vc4_drv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vc4/vc4_drv.h b/drivers/gpu/drm/vc4/vc4_drv.h index a7500716cf3f..5dceadc61600 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -825,7 +825,7 @@ void vc4_crtc_destroy_state(struct drm_crtc *crtc, void vc4_crtc_reset(struct drm_crtc *crtc); void vc4_crtc_handle_vblank(struct vc4_crtc *crtc); void vc4_crtc_get_margins(struct drm_crtc_state *state, - unsigned int *right, unsigned int *left, + unsigned int *left, unsigned int *right, unsigned int *top, unsigned int *bottom); /* vc4_debugfs.c */ -- 2.30.2