Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp625066pxv; Thu, 15 Jul 2021 11:51:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMmOXsFCOcRKmD9ab3/vIEvcJi0tCa6lg4uYLWwHCos4y17U32wR0CmToKRfAHBeur2mJ+ X-Received: by 2002:a92:d346:: with SMTP id a6mr3543182ilh.249.1626375073349; Thu, 15 Jul 2021 11:51:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626375073; cv=none; d=google.com; s=arc-20160816; b=ccvKUs9dCfGrYvUn8CivcD2btdeB5vJltbH2ZVnThvKHL81WGPLqo4JDlzCDrkTCnE bYjjDgdTFo0AK9KaA+HWbSWQQxErsdj0Xqz9rVsCZfpRTL3lcHkeOdN0h/qgntwUpWp5 +1Jjqf3r/53D1jaiprupQTKC/g8WZcvDHI32wF+Ldh5+i/3OLOi0JCZNJYPVlJn5EoCf cocDK+XHNZq7tJ39GnIpa/O17XX0zuiWCbL+OLR9f3p8kR4kHtl6J4xMl5IUEkoFH9GJ ld9xiWMekYhpwalZt/RWUSXWmGdjV/9gE5VR8DPor2rZW+xNOzojYyvr1OiVEg6L6qJw eNtg== 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=IqwxkQLxERRXqP6Fbd2hpZOZ4n/u/joLoLGC9QCO2NI=; b=nkcZCDa+D/uzY2yisqiNbxg21SAkpg6zg23jZXb63x6yMQdjtU4u/cGStcA9gducCP mUAGQq2co7n5JdBQ1+AzyNRn9Gl8JBaUocioDHidTfmwNvaG4xvjoQuo1vdQoQhaQomA KOo+A9u6dMmz8IXyUUCTfRfYaNHd8b/e0lFy8NeBrMmbYD61dqCmG0PUp7Qen0hP7ccq uRTeRa3rrv6807rO3hqcDkThvzJ+5WDDMtvyX/JeA/3SomGmFrwlcaYiXl1I0Wo0he9E LYxQXqoQ97r6oC9KEwnlPEvtdF+78fhPqECwtrm9qSEhjoh5CqppFXi37fZNwOSVvbhj r/Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZFkCOOn2; 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 x12si7405862ila.97.2021.07.15.11.51.00; Thu, 15 Jul 2021 11:51:13 -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=ZFkCOOn2; 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 S237920AbhGOSx0 (ORCPT + 99 others); Thu, 15 Jul 2021 14:53:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:51664 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240100AbhGOStK (ORCPT ); Thu, 15 Jul 2021 14:49:10 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D2064613D8; Thu, 15 Jul 2021 18:46:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626374775; bh=DUSuP3xpVunXUKujzsYqMPC2DM91doTCrKuRNo5jVGo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZFkCOOn27b3ZnG72zJ4AvzgWBcAY3eQ4yhvQnQW+ujNJ9bTRyoe9KgLvPMvbU371a hGB6vZqpuF+8Yy9gnySGYdQKoBR8ZVSZd/DyfHrN/eHx4wCwsrkyl0qsFT1aoDzJHt g83LRkjTKiD8zlDqa81Vl3Cm8AMp/2El4wjXh+vU= 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.10 006/215] drm/vc4: fix argument ordering in vc4_crtc_get_margins() Date: Thu, 15 Jul 2021 20:36:18 +0200 Message-Id: <20210715182559.606897764@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182558.381078833@linuxfoundation.org> References: <20210715182558.381078833@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 c5f2944d5bc6..9809c3a856c6 100644 --- a/drivers/gpu/drm/vc4/vc4_drv.h +++ b/drivers/gpu/drm/vc4/vc4_drv.h @@ -837,7 +837,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