Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1800960rwd; Thu, 25 May 2023 19:08:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7VWYCXM2gqJWa3zxDGg0YzlHvpZ7zu2440HK/lEobHASZsiEXtxPHu5Opp1O3KCMfS/L/5 X-Received: by 2002:a05:6a00:1595:b0:64f:a023:622d with SMTP id u21-20020a056a00159500b0064fa023622dmr939925pfk.9.1685066879768; Thu, 25 May 2023 19:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685066879; cv=none; d=google.com; s=arc-20160816; b=T6F7NwDdZO14Odts08tJC09W2UAc20aamRDTM44nK6anKiq+Jb/jRWednWbQrEcYCL 9ntvTmTT59fpI3RLfIwJE3zkcIWTCYCZ2VRK/SHX4DkAuQfffyBv7YoucDrJ/Cv8ZGUY 2aM7zROIdhBGxgyqMOQ8ZzXrS0Z8L9HrsrFzSaIJpljbDgXt6PP7WEljHABWWYgL+Sg6 8yJi8thhROJ6d3VPY5GAU52DpvlPG1tJ9hPUvptuWs2VgoV1HnZfcMcb4Td10brAsH/0 0xb0hFxcD7aNdPs7hFhR1cjMRlvqkRzL51pUUoI6GqI1AkVSsT7MfVThbMOSxInyvPl+ SwPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=9JZh6uxeahly723cee0FOBMC/RpyVLiLsKqyTprBdq8=; b=B02Mo+u25QYw2DAkFm7l9Sd92DPfmM4WcQIBFDE9iobm7hUI2vZGN1uuJvtUBHThuq h9Lej0y6ymexMkq9/6RyXpNYKVnOBjcldA9mD5wYuuwsmrqgu5wafpy4I42pGDv1hvmK x9vTKHD9xfKTaPEt0tbwZOzL9Mdwxo+kzzs2QsM+BJTVM5mQ+WTyBsXoSeZQwGOMnA05 QnRt6W0Grtp+ELMMNryOi2ppRrIiflm3YMd9du975dLMAu9y+5cGJq5p1kYQwZNU6/0b 9/8umHzuud7x+uOfbx2CekNLjz6h5D5OUfXzR2R2wFweWcbVpZSRnUgas1eXZ1hldZx4 bBcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h28-20020aa79f5c000000b0064378422f5fsi2641262pfr.169.2023.05.25.19.07.47; Thu, 25 May 2023 19:07:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235092AbjEZCEn (ORCPT + 99 others); Thu, 25 May 2023 22:04:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232547AbjEZCEl (ORCPT ); Thu, 25 May 2023 22:04:41 -0400 Received: from mg.sunplus.com (unknown [113.196.136.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A3294A3; Thu, 25 May 2023 19:04:38 -0700 (PDT) X-MailGates: (flag:3,DYNAMIC,RELAY,NOHOST:PASS)(compute_score:DELIVER,40 ,3) Received: from 172.17.9.202 by mg01.sunplus.com with MailGates ESMTP Server V5.0(23310:1:AUTH_RELAY) (envelope-from ); Fri, 26 May 2023 10:04:23 +0800 (CST) Received: from sphcmbx02.sunplus.com.tw (172.17.9.112) by sphcmbx01.sunplus.com.tw (172.17.9.202) with Microsoft SMTP Server (TLS) id 15.0.1497.47; Fri, 26 May 2023 10:04:23 +0800 Received: from sphcmbx02.sunplus.com.tw ([fe80::b840:bb05:862c:855c]) by sphcmbx02.sunplus.com.tw ([fe80::15f8:1252:3f23:8595%12]) with mapi id 15.00.1497.047; Fri, 26 May 2023 10:04:23 +0800 From: =?utf-8?B?V2VsbHMgTHUg5ZGC6Iqz6aiw?= To: Christophe JAILLET , "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 Subject: RE: RE: [PATCH] pinctrl:sunplus: Add check for kmalloc Thread-Topic: RE: [PATCH] pinctrl:sunplus: Add check for kmalloc Thread-Index: AQHZjzgEDweniQBlI0+p2RKJIg01Hq9rzFlA Date: Fri, 26 May 2023 02:04:23 +0000 Message-ID: References: <1684836688-9204-1-git-send-email-wellslutw@gmail.com> <1560e9c0e5154802ab020b9da846d65f@sphcmbx02.sunplus.com.tw> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [172.25.108.39] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksDQoNCj4gTGUgMjUvMDUvMjAyMyDDoCAwNToyMiwgV2VsbHMgTHUg5ZGC6Iqz6aiwIGEgw6lj cml0wqA6DQo+ID4+IExlIDIzLzA1LzIwMjMgw6AgMjE6MzcsIGFuZHkuc2hldmNoZW5rb0BnbWFp bC5jb20gYSDDqWN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