Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp388281rwd; Wed, 24 May 2023 20:35:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6WZtEBi3k7BEW+tI2wGimo63DicZbPe6gta19uEnVkFmJKreCp+eDEPewNG+ThXSxnXNsn X-Received: by 2002:a05:6a00:1596:b0:63b:8778:99e4 with SMTP id u22-20020a056a00159600b0063b877899e4mr7751235pfk.2.1684985740099; Wed, 24 May 2023 20:35:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684985740; cv=none; d=google.com; s=arc-20160816; b=QskUsAvS0d/9F6DxfyXbS6upPOCy6WImEwqpqs6oWFpnrxysKwkuYa6rwtRDyfRzwS olKuJDEd+hUgo+2uHHqOlaPh/iwugck5vhMFbtaffMCVPBPmKMyndX4jPU7pZcYZhCbR OkKSoKg7botsNvUvVYqInj67olbWC0RVH9qOTT+fyAsShbXo4UFpazoCRI1+L5naDgp0 WZeKnkYgm4IOuZW8gWuckX0vG0oVVqfBMtijHlpNUB7W4xDEN0ll0BOykhIdtSHV3hgu ofd3YR1XMWic0MItt2Zmffhlb6kNpsbcwaElmBBWHRynsreYtMsQfxurdPySCOUst4u5 1Zpg== 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=/JpETejvEz6HFanGFcGSWU5TF4zuIOz0rV/6J5W6rHA=; b=mP9wBaTSXblJe+hUvnJccipzpDbnpd31tCmxS3rIS2+Yh73clFJXMjATZyEquFpRyj YPmY6xQOCruLK3JjFP6/2rQkd0pEXdhqeEBTkfFmW9zZVNGSkC+sd8zCZpPEKqaC+jvV PO8Isthl7PVkM9gNErkQqLA/jounAz4WLxS0Cfi+T/E9RP4KZKLF9k2BSIDlt8ZNmrqZ LOqDdZ/52RiwOLDxoA1D26bOV+CkoH0L6PjoYCc0Ds/27NiPtbEk5598oQTOuiW3qIVV x1NTfpmde8gidk02Y5LCGqhtsZXEwHV/x7nQL9nvx7bY+/3Qpf8F8QShzSHyc4S7xFIX RlHg== 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 r76-20020a632b4f000000b00534839d1219si148444pgr.138.2023.05.24.20.35.19; Wed, 24 May 2023 20:35:40 -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 S232458AbjEYDWq (ORCPT + 99 others); Wed, 24 May 2023 23:22:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjEYDWo (ORCPT ); Wed, 24 May 2023 23:22:44 -0400 Received: from mg.sunplus.com (unknown [113.196.136.146]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 409CFC5; Wed, 24 May 2023 20:22:40 -0700 (PDT) X-MailGates: (flag:3,DYNAMIC,RELAY,NOHOST:PASS)(compute_score:DELIVER,40 ,3) Received: from 172.17.9.112 by mg02.sunplus.com with MailGates ESMTP Server V5.0(55639:0:AUTH_RELAY) (envelope-from ); Thu, 25 May 2023 11:22:28 +0800 (CST) Received: from sphcmbx02.sunplus.com.tw (172.17.9.112) by sphcmbx02.sunplus.com.tw (172.17.9.112) with Microsoft SMTP Server (TLS) id 15.0.1497.47; Thu, 25 May 2023 11:22:28 +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; Thu, 25 May 2023 11:22:28 +0800 From: =?utf-8?B?V2VsbHMgTHUg5ZGC6Iqz6aiw?= To: Christophe JAILLET , "andy.shevchenko@gmail.com" CC: Wells Lu , "linus.walleij@linaro.org" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] pinctrl:sunplus: Add check for kmalloc Thread-Topic: [PATCH] pinctrl:sunplus: Add check for kmalloc Thread-Index: AQHZja4A9WmSM0R1vk23IxEYxkRzTK9nwneAgAKNY0A= Date: Thu, 25 May 2023 03:22:28 +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 PiBMZSAyMy8wNS8yMDIzIMOgIDIxOjM3LCBhbmR5LnNoZXZjaGVua29AZ21haWwuY29tIGEgw6lj cml0wqA6DQo+ID4gVHVlLCBNYXkgMjMsIDIwMjMgYXQgMDU6Mzk6NTFQTSArMDAwMCwgV2VsbHMg THUg5ZGC6Iqz6aiwIGtpcmpvaXR0aToNCj4gPj4+PiBGaXggU21hdG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