Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5575640rwp; Mon, 17 Jul 2023 06:27:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlG+5OyYEwsEhSLW4wb1NWqS7RG7/pC5/v3TO4MXMIKH3nDf50kmpfwllans5PeWvMdRHqUf X-Received: by 2002:a17:902:e5c4:b0:1b6:6a14:3734 with SMTP id u4-20020a170902e5c400b001b66a143734mr13293247plf.29.1689600465413; Mon, 17 Jul 2023 06:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689600465; cv=none; d=google.com; s=arc-20160816; b=Cl8HWMT+7Ek0bYyX91ryY6u5IF0Q2VgLDmkLQRQMLSGmfbB8fujcJAfkqm9UzwEz2b Tc/I6nK0o4+Q0e647GGLSGSUzYAlubGj57/PP0078d02eFrcAuNZIzumwAOKY+zfhlcS pmE9lfanqyXRnxqef59NTj0IFANqXPMjw+c+LRu33TdY8l2iO5BLMaXNeHAvqmovZx8d ZfuKNPNUOd1hSPDEO7ONCFypXlHblAgdeE+UgayIMBPW+qr4doJ+DyVsVHM9SqozEyVV /ZT8M6cGGEFcLdmYqjZIQ9PrP87qot2XSMAV32R4sGmIQK0L4lOAk95hOMKA791vASlN xPag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=SZ8rM1d28ZYBttanIcpvIAEl3ZFQTUrgi0gxwnXH9+c=; fh=epZ6ZrEWurqjjpiUBWhhAhs8F6mYQo2uSmyLL/qzEBY=; b=ZA+n1oiXsBg/s2GCkLEoD3JfK2JaNMszgisISYnz0hjAuEXXTKnMCIKAZbdIo31Hx2 oGmpKjY5jiKSRYw6i+gBXrn0cjtGrtyv+4rl1rEGellyPB5/btTrMo/SLvK9tVgYPbrt fkpNaL0jKf0VTv85/a/mNncS1hvJwWMkgktK/dpfv/k1hWQF0TzRt6fuyDgPQp2zU+z/ w/FvvZtoEwnfXyteIOJ+Y22zEbvcd27vQgi/APevbBG42pLEgbfMTpxUvrB82tdECnJw qZEAqEbXfEV8kj7kuuPwPmFgabl9cJcF/nZ+i2hI8g/6AlHSjfAh9/3ccevIbAXhJOEk djJw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o2-20020a170903300200b001b9eb5d1e39si11479037pla.114.2023.07.17.06.27.32; Mon, 17 Jul 2023 06:27:45 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbjGQNTV (ORCPT + 99 others); Mon, 17 Jul 2023 09:19:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbjGQNTH (ORCPT ); Mon, 17 Jul 2023 09:19:07 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 697EF26A5 for ; Mon, 17 Jul 2023 06:17:45 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-310-MKii5FwAMlKdoCNe_Twzww-1; Mon, 17 Jul 2023 14:17:35 +0100 X-MC-Unique: MKii5FwAMlKdoCNe_Twzww-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 17 Jul 2023 14:17:34 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 17 Jul 2023 14:17:34 +0100 From: David Laight To: =?utf-8?B?J0phc29uLUpIIExpbiAo5p6X552/56WlKSc=?= , =?utf-8?B?Q0sgSHUgKOiDoeS/iuWFiSk=?= , "amergnat@baylibre.com" , "chunkuang.hu@kernel.org" , "angelogioacchino.delregno@collabora.com" CC: "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , =?utf-8?B?U2luZ28gQ2hhbmcgKOW8teiIiOWciyk=?= , =?utf-8?B?Sm9obnNvbiBXYW5nICjnjovogZbpkasp?= , =?utf-8?B?SmFzb24tY2ggQ2hlbiAo6Zmz5bu66LGqKQ==?= , =?utf-8?B?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= , =?utf-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , "dri-devel@lists.freedesktop.org" , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" , "matthias.bgg@gmail.com" Subject: RE: [PATCH v3 3/4] drm/mediatek: Add casting before assign Thread-Topic: [PATCH v3 3/4] drm/mediatek: Add casting before assign Thread-Index: AQHZpCpze4o/ajTsOEOlfRNPyXn/w6+45FuAgAAQ54CABSNGEA== Date: Mon, 17 Jul 2023 13:17:34 +0000 Message-ID: References: <20230621102247.10116-1-jason-jh.lin@mediatek.com> <20230621102247.10116-4-jason-jh.lin@mediatek.com> <9d2e3526bd30e9f307eab32b67f487fa4ab102eb.camel@mediatek.com> In-Reply-To: <9d2e3526bd30e9f307eab32b67f487fa4ab102eb.camel@mediatek.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 RnJvbTogSmFzb24tSkggTGluDQo+IFNlbnQ6IDE0IEp1bHkgMjAyMyAwNzo0Ng0KPiANCj4gSGkg Q0ssDQo+IA0KPiBUaGFua3MgZm9yIHRoZSByZXZpZXdzLg0KPiANCj4gT24gRnJpLCAyMDIzLTA3 LTE0IGF0IDA1OjQ1ICswMDAwLCBDSyBIdSAo6IOh5L+K5YWJKSB3cm90ZToNCj4gPiBIaSwgSmFz b246DQo+ID4NCj4gPiBPbiBXZWQsIDIwMjMtMDYtMjEgYXQgMTg6MjIgKzA4MDAsIEphc29uLUpI LkxpbiB3cm90ZToNCj4gPiA+IDEuIEFkZCBjYXN0aW5nIGJlZm9yZSBhc3NpZ24gdG8gYXZvaWQg dGhlIHVuaW50ZW50aW9uYWwgaW50ZWdlcg0KPiA+ID4gICAgb3ZlcmZsb3cgb3IgdW5pbnRlbmRl ZCBzaWduIGV4dGVuc2lvbi4NCj4gPiA+IDIuIEFkZCBhIGludCB2YXJyaWFibGUgZm9yIG11bHRp cGxpZXIgY2FsY3VsYXRpb24gaW5zdGVhZCBvZg0KPi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