From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16F74C7EE2C for ; Fri, 26 May 2023 05:19:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235416AbjEZFT6 (ORCPT ); Fri, 26 May 2023 01:19:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232149AbjEZFTz (ORCPT ); Fri, 26 May 2023 01:19:55 -0400 Received: from smtp.smtpout.orange.fr (smtp-26.smtpout.orange.fr [80.12.242.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC4B189 for ; Thu, 25 May 2023 22:19:53 -0700 (PDT) Received: from [192.168.1.18] ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 2PriqiGNB8SAU2Priq0xRk; Fri, 26 May 2023 07:19:51 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1685078391; bh=R6G7vkcYS8zlOgnSGCnCfG/yugvrJXcxtCb5k84ADOs=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=A/6vgAQo4iT2nUnz4fRJtn5JGtOBRbYQ8NNMqBlVX+ueQv+CcRls2Hw0KjsC1j9C6 HdCkViZHGQ22znRWN1snMh0nXgwKUGF6in8B3ziXEpA8HBws1NG8sGb8pv8+I/IVCI bk8IKZXIz3m873vVYqlaHc5L2Yh+pcX4q2KpGrHUrogzWHQG2dx270K8xOpvxnq4+l ZbbE2TgXnJ1T/IxqqHnhP39Y0Uyk+SJLvDnAw8qRyyr9ngcxxDBhG1U2QVDJvrALxi ggcWagqL5w8RhXE4qUudgTshbO0I18kW+DjYc88wKS6EZn+FUui4Y8qD8XXsKmqb3s AA94upSBNFcCA== X-ME-Helo: [192.168.1.18] X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Fri, 26 May 2023 07:19:51 +0200 X-ME-IP: 86.243.2.178 Message-ID: <9c01906d-5f2d-e522-a487-3120c5b2e404@wanadoo.fr> Date: Fri, 26 May 2023 07:19:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: RE: RE: [PATCH] pinctrl:sunplus: Add check for kmalloc To: =?UTF-8?B?V2VsbHMgTHUg5ZGC6Iqz6aiw?= , "andy.shevchenko@gmail.com" , Dan Carpenter Cc: Wells Lu , "linus.walleij@linaro.org" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kernel Janitors References: <1684836688-9204-1-git-send-email-wellslutw@gmail.com> <1560e9c0e5154802ab020b9da846d65f@sphcmbx02.sunplus.com.tw> Content-Language: fr From: Christophe JAILLET In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 26/05/2023 à 04:04, Wells Lu 呂芳騰 a écrit : > Hi, > > I forced sppctl_dt_node_to_map() to always return -ENOMEM when it configs GPIO pins. > Here is the report of kmemleak: > Nice, thanks. CJ