Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1158196pxu; Fri, 27 Nov 2020 00:45:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIQu+mZz2zqIRl2WmTmFKk8HhgJOjiYpZXf5jdHVWFTMjixqSTV9hAmQ97i26h6Bh7/ang X-Received: by 2002:a05:6402:54d:: with SMTP id i13mr6733987edx.3.1606466752657; Fri, 27 Nov 2020 00:45:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606466752; cv=none; d=google.com; s=arc-20160816; b=lGaKdRdK7hcnUkNIGndgiuK6EAHv82Lle5kIyPM65HRu4Eet7u3Tk9IKG8m1Ta2sGb 4LXJQms/A98VbFB2dZkp/U0pbyL1j1yceLltU26BUt3HbuHMr91sLrTczHtcBnzu1wlM AqFTByDOFZzUym5/BVneanQ+SjE5xosliNyN1C8buQlXlFiP6MdBhTDPgE96t3ILPW3N ua/EXFFqYh7xudM8cdxx0wzKcAV6vt/gwI247nZ1IP93SwrHJBuDETN8Qq8kvnMY9wr4 UwNn7bw//G5GRcb1vIEKAO6ijBjtBI4RX1W17pXz6wumusdSnY2MVNFLH3yleQPPECXc wQTQ== 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:in-reply-to :references:mime-version:dkim-signature; bh=xyAGZbF2XZTc0HZSbh/ZZVibzXOl/zvLgv9c2CTS+3Y=; b=COtAQ8YOKff97w6YIzh1Tcq+nUCMcxCOsaK/RFnVkZO2nwK9QbKgARr6Ttr/5GQ6Wf U0yUmjJqCdlgWiAeebIKHgSwuHTy45H+uoPZHFbVuwknHXGXTEm56OU4mD2No7GfNLlP BkPE1+htCtLL0hUFEzHo8wmu332X9SZXNK/hUBZsQ9imWerY7ah73AVR0/uKnbnsJPie almoQjsXjdZc4URCC9iUHTi4T545Vor617DtPfozH41/l0Jj+TofnBfOYS/qtcPSxMTm ZXnb/Jo+rKKqklLgAMB70KWxFBx2m7rRQpbpVXbzBoaqyLn9aaSqTjhZZLvWKWvhSnpQ iCnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EtNZ0loC; 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 l20si4460044ejn.671.2020.11.27.00.45.30; Fri, 27 Nov 2020 00:45:52 -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=EtNZ0loC; 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 S2388253AbgKZWxo (ORCPT + 99 others); Thu, 26 Nov 2020 17:53:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726250AbgKZWxo (ORCPT ); Thu, 26 Nov 2020 17:53:44 -0500 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44F12C0613D4; Thu, 26 Nov 2020 14:53:44 -0800 (PST) Received: by mail-yb1-xb43.google.com with SMTP id 10so2849058ybx.9; Thu, 26 Nov 2020 14:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xyAGZbF2XZTc0HZSbh/ZZVibzXOl/zvLgv9c2CTS+3Y=; b=EtNZ0loCIigTeQVF78AVeynbc/Y/JNxjuka9KZlczsavXPTW0PTEp1Jio6eaOKkp8z FLP4+3hacF1TNRxsAsU8qvaPt5/N7J1aPDHSJ7dtihrjF9FuxH/ZMRajOPEAsWF+4mJC pmTeS3+sHt7RXA0Yo5LjbMN3RIQv5YOZWwdKIlNt1MkN2En1ewueQv/jKIQaqWT93+GE EnCyB1uFMGao6fsJsTbID+xIB61ACd2p2e55c6ZfvH/53kzGiX+6Bxi424bfLce61Hcj qY8dDIm0DHQC4cdo0njYP+MgN+vSYNad18CSMGoN7wQzS/0fxzRx9ReHhrK+/or8mxbt 0pAA== 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; bh=xyAGZbF2XZTc0HZSbh/ZZVibzXOl/zvLgv9c2CTS+3Y=; b=eWsHgrXovPPFUXrTLcM6mX2EDwFZ8m/ebgXw4LQsWXADGNJTeJFohwX8Gv2c5zfYSl IkdldYvpU/8CDMO0tdzEZUZ1watXhaKeViSERPW7eD9wd89jMb47vnqMc08GpNpMAObD vwo3QsxbtCp77itiTR7FPJ7aEqlFiCw6DH1YMVCRjesWp8/Kp9VWgBNiF1CXhWC44xyB Kz5oy87yZMfN+AE1lblcj+/X8ihiZwjuZEtABXV7V7KZH/zz2/w4e1nTpLNcQ+KdWSpr 17ObOebcaHZC2xqXm3R7jY1qe0uaxXlv8vXhGTur80VM9k8YFTQ8dSZbqzg+KIE8uDAL S3kg== X-Gm-Message-State: AOAM532p2Dj0n1yYim2UdCTV5tG0gWe1OP+v/kBKHcjiTKHJYhx2hIH6 C9b3BZRS6ZhogL3baNPQMVlm+Hs6OqRa0bDVXI0= X-Received: by 2002:a25:cad2:: with SMTP id a201mr6900779ybg.327.1606431223367; Thu, 26 Nov 2020 14:53:43 -0800 (PST) MIME-Version: 1.0 References: <1606404819-30647-1-git-send-email-bongsu.jeon@samsung.com> <20201126170154.GA4978@kozik-lap> In-Reply-To: <20201126170154.GA4978@kozik-lap> From: Bongsu Jeon Date: Fri, 27 Nov 2020 07:53:32 +0900 Message-ID: Subject: Re: [PATCH net-next 1/3] nfc: s3fwrn5: use signed integer for parsing GPIO numbers To: Krzysztof Kozlowski Cc: Bongsu Jeon , 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 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? > Best regards, > Krzysztof