Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1419147pxb; Fri, 10 Sep 2021 05:39:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZUM3g0AapggDik8Z1rZHvs2MWHQLUMD9g57irG9XaTSkve2bjYn8newoz+LlpcYCVemPh X-Received: by 2002:a05:6e02:20cd:: with SMTP id 13mr6395209ilq.156.1631277539907; Fri, 10 Sep 2021 05:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631277539; cv=none; d=google.com; s=arc-20160816; b=LyatBsCkoC1DVaIJDuorSlXRe/eJYcQQKfycgqPec0IujxvSy+LIX9YVObq0+v2ZV2 ox3VJTsVwN3JXw8wrWySvLrV+SVrTXkfGiEwN7hazc/Z9Pmt7xl+elOEIngZbh84z8Og iioIEZkk9Mu18hBGHV98KxRrwxTkXDiUh5OOANbPVzaLbYBJ/LJmcifOOjieQt1/vN/F PaneHwMxI+ffBK2sJTR+FBomCYgzWQQEiHCqpONxR6muHXLjmwtTm5UwpDdGTIHHnABl +jMrnm1/vFSR9ON64WadrDULfAvZmWLgZrNnNuwMO6g4GW4SNwEPjqsA3atmT9QBb5Zj 3A8Q== 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=kL4X6i4myCjKsMp7C6jAppg6QeQOBfLyOpozLu3QgO0=; b=LoIoEAzSlXMDlKJpokg/VHmQJ0uBDz8UBNRzEsHZcu+s+hEZIhOSFG7IVbtyBEpBeX aTmmj15EO4DRMjdOeRxIF+E3RYe4JKTDLTgQQtemKgxXP74uUje+C/hI0crRfbph4Tqj Gwn6EgzqzR6Gf9jRpKww/I7ilFtumQT8uGnHDLVTvblKHnYiAGKXh4FbxwVOrTsc5nSB lmlNhi9UgKyQyxSMJFJvTb+9ZVUiUOqSXRtcIARr2KY/sHogvDcnegBa/ocs2UyisfTS Ftkm0iAJzbwyaawqFS4iKubb2AwxwfaxYqSzHarmlxWAIKKLbCMGCAbaDMQTMfzeeoiN itfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bpw9D+qS; 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 h15si5591752ili.51.2021.09.10.05.38.48; Fri, 10 Sep 2021 05:38:59 -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=bpw9D+qS; 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 S234712AbhIJMhu (ORCPT + 99 others); Fri, 10 Sep 2021 08:37:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:53954 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234003AbhIJMgT (ORCPT ); Fri, 10 Sep 2021 08:36:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90DAD6120D; Fri, 10 Sep 2021 12:35:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631277307; bh=uVG2v8bfcSk5/pw52dsj3vnO+YA9NzC4WrsjQDWfGwg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bpw9D+qS6qokjE5kco2WlPZLADrxFbra28zPFfwOHvxTJq6xZSx2s70XCYu1hH5d2 jzMSUTNvRfL3x/pgO1DRhyb0a4zB1ZYhAQwAfyNYo8SQ+UqD66/mNjIPyBKk21WRGx hTDkhlFieyoO7xRrRkAC3kVuPeVwDXSHhNSGaL+E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sai Krishna Potthuri , Michal Simek , Philipp Zabel , Sasha Levin Subject: [PATCH 5.4 09/37] reset: reset-zynqmp: Fixed the argument data type Date: Fri, 10 Sep 2021 14:30:12 +0200 Message-Id: <20210910122917.483820787@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910122917.149278545@linuxfoundation.org> References: <20210910122917.149278545@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: Sai Krishna Potthuri [ Upstream commit ed104ca4bd9c405b41e968ad4ece51f6462e90b6 ] This patch changes the data type of the variable 'val' from int to u32. Addresses-Coverity: argument of type "int *" is incompatible with parameter of type "u32 *" Signed-off-by: Sai Krishna Potthuri Signed-off-by: Michal Simek Link: https://lore.kernel.org/r/925cebbe4eb73c7d0a536da204748d33c7100d8c.1624448778.git.michal.simek@xilinx.com Signed-off-by: Philipp Zabel Signed-off-by: Sasha Levin --- drivers/reset/reset-zynqmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/reset/reset-zynqmp.c b/drivers/reset/reset-zynqmp.c index 99e75d92dada..8a7473b6ba58 100644 --- a/drivers/reset/reset-zynqmp.c +++ b/drivers/reset/reset-zynqmp.c @@ -46,7 +46,8 @@ static int zynqmp_reset_status(struct reset_controller_dev *rcdev, unsigned long id) { struct zynqmp_reset_data *priv = to_zynqmp_reset_data(rcdev); - int val, err; + int err; + u32 val; err = priv->eemi_ops->reset_get_status(ZYNQMP_RESET_ID + id, &val); if (err) -- 2.30.2