Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp232082imn; Mon, 25 Jul 2022 14:53:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vqWGdp33795Fnko1jGu+kPOqlxT78ATeC5gF1ClRelYibgcrmp8x7ZMar7aw4/jzSME5Qt X-Received: by 2002:a05:6402:31f7:b0:43b:ca75:cb4 with SMTP id dy23-20020a05640231f700b0043bca750cb4mr15541391edb.383.1658785999730; Mon, 25 Jul 2022 14:53:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658785999; cv=pass; d=google.com; s=arc-20160816; b=0OVQsLcgyqe2Ds4Q3lIJLiW62DuseByetksyrtqo4K37uT2ZHRt2KuP/t4EbfI++3n U9vJMdtU0Wq0gvKbDVqtEKni675W8L9Clj78N56dnj7LbNEHA42dAjQBPC1NZoLp5s9P DzoKwle2vNc+bqZBNBIuW6RT5ebFtYsEe6RIrj5EFZ6GWxUET+lTRCHEOWRhD4cKFtmN 42ZKSEBV9M8/m/7fkK55AGLMjCzDw5Unp54qKEMEerFIcCLJqJHrDG1c757c00ncgpjI 4QN1wHK9SvZHr4vizMH+ywS28v17Uqn5oPJLD9NdhJBGI+LbksAz4HPQM7GRUhT2rgIW hK3w== ARC-Message-Signature: i=2; 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:dkim-signature; bh=mWvG++yO7Hw8F7wKvr8hSQVnPbJIkogJ6kNVpuaKTHE=; b=xTjYn3kDEoZ/9ii+KgqM4SgvGYL8+RCi8mZ4WF8scRN/3OnYcbnJBd2+fAQyB5OvFX LCRUDlUx+8DkTqQUPOM4ss4TbSra1IkB/kuCMsXNlwhaKFmc1TP06MsxpqHgxBBvnVwE x8aU5JZIcJ+AxVNm512QobrA/SXvWPpCrosk4cGKCK9is9chZz+1Z6wHNXVY0GH0BKwA 7BHpUtx0Xq0Wu8s8ap282+FlgaNd2hMxU/TaMJDPdafMY+FabPQvCNUFxT8H3GJf01JW hSuOwPgi6eadkAS9rg7pOuapvEfl7YTpDIRbxBCbzwwAJOl78H+XEUswk5f78p8RmmDG SVgg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@outlook.com header.s=selector1 header.b=PEoNOvGY; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a17090629c800b00722fc5e328asi7994032eje.321.2022.07.25.14.52.55; Mon, 25 Jul 2022 14:53:19 -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; dkim=pass header.i=@outlook.com header.s=selector1 header.b=PEoNOvGY; arc=pass (i=1); 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235512AbiGYVeb (ORCPT + 99 others); Mon, 25 Jul 2022 17:34:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236708AbiGYVeF (ORCPT ); Mon, 25 Jul 2022 17:34:05 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2099.outbound.protection.outlook.com [40.92.22.99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DD1B24970 for ; Mon, 25 Jul 2022 14:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NjASgTNOsZ/+1nwJ40dO3mNidIVJ0cCAFNt8gcdU3binbiCOgYmmnFMh0Hykr6PfKpdKiFkp3UrslW5/2P3Xafd05V5bjC2yLgkUYKAkLALzNpAZTaO9/KBdMM8rREKr4MSbug00iiUflJ8yLzvajog+gjFcBSpClkkwr2o7p8S01+qhWny/FInCLbiphzyxbvz3ey4u1DCwoJO7GJRSw+5CirPTz3jTtc6nZ8Mgo1KeHEEuu3E+JqY5i6CYFmtw11GahSyeWLOj1OSrAOJ3esid36rlurF3Test+DIzUuS9IHWihhlSRRAMZs+ZkBBroXoFlmFWRLveCVDDxOq9Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mWvG++yO7Hw8F7wKvr8hSQVnPbJIkogJ6kNVpuaKTHE=; b=eFiWwdiLOlclC86aD1LhgpMXqpe0YCY42BBxA6kF8lukG/zWUgBiPfzsDAtKY6vX+OJLr48k1KNw9+iyWQlFKTJLa88m2gwkmUmDUVDgioOOxCb2U2t4b9SPQxG8BPSrtQ9KUzT0/ZljDaoRm0YfKt+Afu/ReENZj2T+1DWZu5gs67UqLXaKc5vjC8p6x8jxvL76bMpOKnzOWMs4kw5065P5ujYINyeJhiTW7Ub+wYQAwQzY3dtgep5j+TRl6P0WxIw0JZuHFQLiWoVsMnW3yyA8rD2KZdpbt7unoW8OjMaa/SD2PneKKuZx4CszpwJfPb2N1VWyqGuKVQfUO8NimQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mWvG++yO7Hw8F7wKvr8hSQVnPbJIkogJ6kNVpuaKTHE=; b=PEoNOvGYgoo8ISUBVngJ91TzWjAg0jmG/Iq/GCAYZrkrg/C93k4eCAYQgvmBUEew62TNRAoCX6XLBujnXZeGHtZ/0DgvJuAHXR66kILFfQSrt9n7Cw5AYwQpy2B51YTRdTGvrTePH+c0ovjLQFo15ufwEnIEjpoKNjGjftYX3M25uyBmAeOTo6CB9lPjiwazIesnaWHa/EnyBZXHYW+QNkp3h0ixHH1dxxRq35U8N9bhBnLuJH5rfBVzWJ+hr1+vNLoZ8AuODUb+11MEJcn1cJCugzUzIIAFmfdpKS59YYv/8VdihGOpAF7ANVsywNx+BqbwbcKS8aelfUVrz0jwPQ== Received: from MN2PR17MB3375.namprd17.prod.outlook.com (2603:10b6:208:13c::25) by DM8PR17MB4918.namprd17.prod.outlook.com (2603:10b6:8:3c::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.24; Mon, 25 Jul 2022 21:32:33 +0000 Received: from MN2PR17MB3375.namprd17.prod.outlook.com ([fe80::3409:88f8:6069:ccba]) by MN2PR17MB3375.namprd17.prod.outlook.com ([fe80::3409:88f8:6069:ccba%3]) with mapi id 15.20.5458.024; Mon, 25 Jul 2022 21:32:33 +0000 From: Vanessa Page To: "GONG, Ruiqi" CC: Miquel Raynal , Naga Sureshkumar Relli , Richard Weinberger , Vignesh Raghavendra , "linux-mtd@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Wang Weiyang Subject: Re: [PATCH] mtd: rawnand: arasan: stop using 0 as NULL pointer Thread-Topic: [PATCH] mtd: rawnand: arasan: stop using 0 as NULL pointer Thread-Index: AQHYoBjwrgb3QDZZqk2l3gKc/X6vea2Pm+f5 Date: Mon, 25 Jul 2022 21:32:33 +0000 Message-ID: References: <20220725112108.686347-1-gongruiqi1@huawei.com> In-Reply-To: <20220725112108.686347-1-gongruiqi1@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [6y6mxmzx+MJlshDnzi5nh0YVavVm1mOrqo1Dx3LtlWaTAo/jmJvm07qpKozg5D7P] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd807660-7c4a-45cc-6334-08da6e852f8f x-ms-traffictypediagnostic: DM8PR17MB4918:EE_ x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 82KJ7UQuJHvcxnSgyCY/Zon5lL1RZJkKkauZpXB/tvvBuu0pMUf+95wsX2lZsG6You7A966aBvp5zU69UxZiv9ErZbBuwoLv5ZaYB2NX0LWoQx+jstEHVHnbdhkcHeBroyHZ9hFsqG7nwrVqbISMedQoOIsBLYD3eBoPqVfT5rnQ5r6FVdwSrzQpPV8LmRpScLLvcKIMtkjpZKwvmK8Akc585YigiWgIWqTJmbKmLMOaynH/1SGQhJLklghocW+rcrGXsuFK0U2ncDflT/AeZiooNSv4QpeGkiNlTm0YJjQjnGr4uwmqsoAgLj0rwL501H6z+JsaVu40qmUv0k79xYFQQRN2vX8ADX2o00QLpwmgH0NLBUxCUKVL6rmtA6I2ReBdXa6ytd4uTTRdlbRiHwiOjgBb8+Xv3OkUbUZ/HviG6S+1pqlRGbnkF+LZ3JgP4AUa6kZpH+lqFU0zfCIvfd3n03LffMK95hMH+rhsoyscuYb+f/Tl6V6LSHrd+jbTUsa51I1VsWAFC1hCBJ7B5H9+HOhdz+NQ+rSUhPyPHfTTBPiUz6N0v+iE0bpUhluwC9GRQ4ZeRhDiH4EGKF41/rHwW2DuND4ZIqkcOyKyqEsIt4IynAEfTwzj5uwbkwnrvBkrBXZdWdRzPn2P5TS3AGKhttVtEK+D6hSrh+Bdx2uSKya8SbXfb0AmeX3mknuN x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RG14WjZYYz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-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR17MB3375.namprd17.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: bd807660-7c4a-45cc-6334-08da6e852f8f X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2022 21:32:33.3665 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR17MB4918 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS 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 U3RvcCBmdWNraW5nIGVtYWlsaW5nIG1lIHlvdSBwYXRoZXRpYyBsb3Nlcg0KDQpTZW50IGZyb20g bXkgaVBob25lDQoNCj4gT24gSnVsIDI1LCAyMDIyLCBhdCA3OjIzIEFNLCBHT05HLCBSdWlxaSA8 Z29uZ3J1aXFpMUBodWF3ZWkuY29tPiB3cm90ZToNCj4gDQo+IO+7v0ZpeCB0aGUgZm9sbG93aW5n IHNwYXJzZSB3YXJuaW5nczoNCj4gDQo+IGRyaXZlcnMvbXRkL25hbmQvcmF3L2FyYXNhbi1uYW5k LWNvbnRyb2xsZXIuYzo5MTg6NzA6IHdhcm5pbmc6IFVzaW5nIHBs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