Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp342711pxt; Fri, 6 Aug 2021 03:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwG99jjC+A7ue563sOIGosoVq5a5yQB9d85Hyu0pTNmhZouqJ7VgwCaawJ42qYLlKmhWtL X-Received: by 2002:a05:6e02:b43:: with SMTP id f3mr240266ilu.94.1628245629740; Fri, 06 Aug 2021 03:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628245629; cv=none; d=google.com; s=arc-20160816; b=ScApC9dfJJ+9vLdGK3Qv72wyRnTyMfqYA5J4BJ/qLBzhvczgTiL2k3Gu9hxrSMB6Mx 7Qo81Caz+C1s7eFkBaMhZR/BRXAZp05RI2q9EB4t5eB+InwA6uADtCCcPskOyOqw8t7N tapSBnKt6uDRdFljGXRK7CEx4+6tFLSsa47WsL6EOZeCN308/oqgvLPxVFP4U1FyYiah G2ab5lRe8ZiR1UMvsmTabxpoo/qku9J3cgQDK+b6wmUwbN93JUU67Oq0O2arX18AeTdn 3tTQyLkLaMricu3noR3CQmBHI5ofC8r6krtaGgnp5VPbdm9AOHeUQuRZbCzPsJ2qUeOx P0rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mF+yL+47/DsWHQZArdqtb40AfaqAOgDr8uoJ3fcRW3M=; b=MAcg84+Z3eARrmuRpzaDeEuxRPi/8uAa+CcqdNhcZZrjt3R86WZ5MvPDJvkeUov4Ze aH0VPaLdZAxJKw+NGwr2LapCQlHdWmOljIwRM2duSiX8OBleGzYTNlVwWpxsNi5IFFT/ hdYyk4+aRXq55LkxwEZbluYI6OullffdW65qlN9n+KTrFzOaT6S3VYdR5z+WOl2A4FK3 Jdd/57Usz3qYbovenKySFEcW0LI0vAeIqMmUcysssuATdNUbtZeht7dYeDdOA/xc09PF OUcXUTbkrfhhyonEBTnyimk4fvQ7ZNTARWzbU4PCd5grvCcn2sIStXJdg+Df0qaNF+mr fDAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=i5ieuuAc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si8703556ilm.61.2021.08.06.03.26.49; Fri, 06 Aug 2021 03:27:09 -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=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=i5ieuuAc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244928AbhHFKZu (ORCPT + 99 others); Fri, 6 Aug 2021 06:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237382AbhHFKZt (ORCPT ); Fri, 6 Aug 2021 06:25:49 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98ADFC061798 for ; Fri, 6 Aug 2021 03:25:33 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id f13so12325159edq.13 for ; Fri, 06 Aug 2021 03:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=mF+yL+47/DsWHQZArdqtb40AfaqAOgDr8uoJ3fcRW3M=; b=i5ieuuAcW5JSbO+j07fpYlK8pdDnKCDyvCHm6hQxPrezOnpEGkc+3G/oNRLWjmgqyg nsDNwKjyqXLa8k716U/zGpuT/OCZEANp0L1DtuHtss2AaPVeaFA9rBY2dTfIT4LKr+2o YXG0heX/nQdhdUKrB8aThPPbmDbdxClho9WSKRD/W1RwFBfPrWGgcIBoMc/oznd9OawV jB3cFSwdqbbdzNGXNNsGqeneFC0adljwVvLJ9ln7BWkVQ5HsGHrGEXWZPXAx0QYG8v7J WilaOA0hxXoBqX0qwzYt6BiwJ0eOF+o7epGy+WbYbxG2oIEuV29SisvzJOp/hxdpJGsJ O/bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=mF+yL+47/DsWHQZArdqtb40AfaqAOgDr8uoJ3fcRW3M=; b=l+NApiKktJ9Ltc/t2VUWb8XsH83Mvj9KFp5Bvdt/RolFTw9Y40cYL83Jvaz+bdEYvM I62h9pctbt6DHVT/jmcsUjS0NSYBdRyW2QrJSXy4Sw7MeOFGca+B7Cak6SSA8e4XiFC3 PmVRhb591PJFJVczPiS4rcueqC4aHPQMq+Wq72QC6LbNCDPlhb+z4LH7eSO4eLtYWYcy HHy3uWTTv8+026QWY1t1WTa0DheSSHIoehmNKqjC0efjymrhfB/xMQq7M5PBgu/To04l WKoTYxgyAzgvz0pad+r/B3OdR1vayrkg8HLfz53tnmqg1bUdLjH78XYlPmHy1nddKQjG r8hA== X-Gm-Message-State: AOAM531TI8JM9HEAhGJ6gOVvXWeqUzSCtN6QFdPCmNm5azmzBqhrZbfN GkqxdmVuL/LmW1NtmfsjnnzZNnrGt4lJ8eMla68bm2HXzDM52g== X-Received: by 2002:a50:9ae3:: with SMTP id p90mr12036657edb.154.1628245532009; Fri, 06 Aug 2021 03:25:32 -0700 (PDT) MIME-Version: 1.0 References: <925cebbe4eb73c7d0a536da204748d33c7100d8c.1624448778.git.michal.simek@xilinx.com> In-Reply-To: <925cebbe4eb73c7d0a536da204748d33c7100d8c.1624448778.git.michal.simek@xilinx.com> From: Michal Simek Date: Fri, 6 Aug 2021 12:25:21 +0200 Message-ID: Subject: Re: [PATCH] reset: reset-zynqmp: Fixed the argument data type To: LKML , Michal Simek , git Cc: Sai Krishna Potthuri , Philipp Zabel , linux-arm Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Philipp, st 23. 6. 2021 v 13:46 odes=C3=ADlatel Michal Simek napsal: > > From: Sai Krishna Potthuri > > This patch changes the data type of the variable 'val' from > int to u32. > > Addresses-Coverity: argument of type "int *" is incompatible with paramet= er of type "u32 *" > Signed-off-by: Sai Krishna Potthuri > Signed-off-by: Michal Simek > --- > > 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 daa425e74c96..59dc0ff9af9e 100644 > --- a/drivers/reset/reset-zynqmp.c > +++ b/drivers/reset/reset-zynqmp.c > @@ -53,7 +53,8 @@ static int zynqmp_reset_status(struct reset_controller_= dev *rcdev, > unsigned long id) > { > struct zynqmp_reset_data *priv =3D to_zynqmp_reset_data(rcdev); > - int val, err; > + int err; > + u32 val; > > err =3D zynqmp_pm_reset_get_status(priv->data->reset_id + id, &va= l); > if (err) > -- > 2.32.0 > Can you please take a look at this patch? Thanks, Michal --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs