Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1160766pxu; Fri, 27 Nov 2020 00:50:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwsvUiyr/vAw40+cQ9197wuId9GGSb2EtCPnoXpka0zkbyPTWe5uhegJvPTkkN5Y6JLcChY X-Received: by 2002:a17:906:3807:: with SMTP id v7mr6470277ejc.441.1606467049098; Fri, 27 Nov 2020 00:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606467049; cv=none; d=google.com; s=arc-20160816; b=PfAS/AGVxJ3Z+Mss8e1uMOMT4euxa9e8DuitUa/brd0phEgNfVMONxzcmTwMveThBy 2UIAeIJ/9GXzenz8fkhQBcVXQO1YsU31vEiBLnt8WuUFaFqgQ/VYjYhbwiY0E7Ip8LfH D4fcv0z7G9QL9pTp/sHe/ENcpp60h/ACnTZuSJPu8s/Y4XJAOjxADNfKiM0SAeyQnbc+ i+nH49t8EaC8quu/4gxt6hC5SDcj1BACB+FhD5inhtrKxUSXeQNcmn0TfnxUfaDc/Dz6 QZLf5Ge8dDpilPOuaoysIPDyaOVM0osWdPjclc6RrM7XBLg84WgEVEUhBYlTs6ojtcv4 f8BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:references :in-reply-to:mime-version:dkim-signature; bh=jTbdJPLCPCmKC1sQucjkCurKOKfvRNOl0rPRqRFsYFs=; b=hcgtnw5yDWOyD0HDYyyPJrp/asmy9EwYXjP/04OXMjnXpWOLOAsBO7a3YZbXwRxOga tyrv5vYJJn+d1FEyhqJH1HNcqLQyjJtCqoU5VNsYxW5dx3mfYRWXjvXG/eXiEd5Gmdoj gQEhi3os5eVUSi9LEPKao2GWp2z+8ENq9HCZMRab0mGtieRVwGPxQFWg0ERCHuc4kQzP +qZ5i2ILVHjCDg+Cn5GBIZ29XBtSr4CvSQ0J+1xEeFJzQJvHCLKoPcFXyuXSIx8PBAHh H/1AE7z8+NtKgiCFFscbf7wCXakZVA17vY9qMUvpQPsA7eLhG/a9xB7A+lGRk61SbLwU GJkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lFl6N3Dg; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si405347ejb.158.2020.11.27.00.50.26; Fri, 27 Nov 2020 00:50:49 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=lFl6N3Dg; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389200AbgK0Fl3 (ORCPT + 99 others); Fri, 27 Nov 2020 00:41:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729830AbgK0Fl3 (ORCPT ); Fri, 27 Nov 2020 00:41:29 -0500 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2685C0613D1; Thu, 26 Nov 2020 21:41:27 -0800 (PST) Received: by mail-lf1-x144.google.com with SMTP id d8so5432694lfa.1; Thu, 26 Nov 2020 21:41:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jTbdJPLCPCmKC1sQucjkCurKOKfvRNOl0rPRqRFsYFs=; b=lFl6N3Dg+QQ82za+rkFQ0TN+wf6XTCAJuruvQ/rrIsW+JH+D44/zJlOW3SqcRKZIzT lrRUUZPKbtB2kqYAq+AG/QGqZnD3PXXa8rUpw0vPmd3QOKe8zCEtDvYkazvF7Y4BEMAL 9uMKD7Um+UjqidjIlmJB1Gz24rF2LRwt89wKJlaBEOvo5X67mE2q44rxEr+e0Gzfr8P8 Km+FaG/xOR4VkuWgezqfjuDohMKNDO928+38/BHAOd2G36s7mO7/NdYODdGc5YzNI4qd j7Mmc3ReOCJX5xWGgLsjyniTKsBTL7SfoyFF+ZZ6UJxdrXfpCVrG0BJWXM49wLTuMUWg LGqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jTbdJPLCPCmKC1sQucjkCurKOKfvRNOl0rPRqRFsYFs=; b=Rseq4T825vTcZ9fY5qZbdG86OABoDRlcwN33GBHkV3qpb+jsOSus7qTEUb1G6ErWRB BFGBbw9K69KnRw8BP5+gfAKRAvEhSg9ljkautRGI9q6U2oDTuM99wJt9sgJdDtQ8nTgq IK7whHO7pgsJINrbZF48N6qhqoxOFB5wOnJAt2fjFnikNixLwVWarriTnn4Vm4ZBdqeG AD9YaVz6y49nzS7vmjKtfF5Mb1+9dYFV4cN9lz53vz8v30+p9cm+S0InrGzTumSCh08z t/JnCA80m1gTLuC1AkDlEvaAWbNAC+3f9W3JIrawXsT47QRG5z7ozBKzNSMxcKSZErTj RxZg== X-Gm-Message-State: AOAM530jLHLYZY1zpi299V3B9hv1ojZTytrwrSGUC7xzWZh3D4V5uS1c GFHLzU/tG7mwzwhDEs3Oxf6jn76lnFTlOHcKHxY= X-Received: by 2002:a19:f60e:: with SMTP id x14mr2458236lfe.199.1606455686176; Thu, 26 Nov 2020 21:41:26 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a9a:999:0:b029:97:eac4:b89e with HTTP; Thu, 26 Nov 2020 21:41:25 -0800 (PST) In-Reply-To: References: <1606404819-30647-1-git-send-email-bongsu.jeon@samsung.com> <20201126170154.GA4978@kozik-lap> From: Bongsu Jeon Date: Fri, 27 Nov 2020 14:41:25 +0900 Message-ID: Subject: Re: [PATCH net-next 1/3] nfc: s3fwrn5: use signed integer for parsing GPIO numbers To: krzk@kernel.org Cc: Krzysztof Opasiak , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/20, Bongsu Jeon wrote: > On Fri, Nov 27, 2020 at 2:06 AM Krzysztof Kozlowski > wrote: >> >> On Fri, Nov 27, 2020 at 12:33:37AM +0900, bongsu.jeon2@gmail.com wrote: >> > From: Krzysztof Kozlowski >> > >> > GPIOs - as returned by of_get_named_gpio() and used by the gpiolib - >> > are >> > signed integers, where negative number indicates error. The return >> > value of of_get_named_gpio() should not be assigned to an unsigned int >> > because in case of !CONFIG_GPIOLIB such number would be a valid GPIO. >> > >> > Fixes: c04c674fadeb ("nfc: s3fwrn5: Add driver for Samsung S3FWRN5 NFC >> > Chip") >> > Cc: >> > Signed-off-by: Krzysztof Kozlowski >> >> Why do you send my patch? >> > > I think that your patch should be applied before refactoring for this > driver. > So, I applied your patch to net-next branch and included your patch at > my patch list. > Is this the wrong process? > Sorry to confuse you. I found your patch when i updated my workspace using git pull. >> Best regards, >> Krzysztof >