Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2853136rwd; Mon, 22 May 2023 05:27:16 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ791lMtGUSwaZtyVNAjfYZVeFovpy5jt1fYj85kNmyIAPonXtE5++ndvqni8yf6Bf2ebJl0 X-Received: by 2002:a17:90a:ead8:b0:252:ad83:5907 with SMTP id ev24-20020a17090aead800b00252ad835907mr10450357pjb.16.1684758436454; Mon, 22 May 2023 05:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684758436; cv=none; d=google.com; s=arc-20160816; b=eKNl659nmLyZ2FN1+bqUUEb1ofX/fPvhrK/5mI5AmwSvOv6O4JYlkG463n+fFqREXf ciLRBL7phyJSTI6zuUk30avCqSz5aSE9m4H+P8TnxaKsRakOqbW1rXld2OXlLqp7eJI3 A6cQgLPoTikmGOb+BEuGCOLkgsrUTMHpwqjqIsTLZx0mpi353kVX+DpM/uMBVqN2YsgN SlKQruz0yZ87/CK4IN1SFe2n7PaG2vBUL9lMfd9lX3kJ8G5bnPITZ8RAIy3thUDnu9qq VRwaMev+9lagwr4O+JjWZ6Couvq7MWGlXynM8Mc6lPQg0hqA30wOwNLZvXBsDgJTY3Ej dfaA== 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=yk8Y5f3MZ1AemHNHNc+MERwPkqLHKkBw0BdKJ9b+rWU=; b=e+L7KOE8P5t2g4q716qbGB1/CkqflnvX0k5i4dVui835Pk9K4ei1hiJRdE4tBy6RrH 7FhGMsYZ9Qpox5b4cvr7XBuYUum+PRUIWq32/sKzwwpqk2oEa80bF3e9j69NO6QNTkX0 p+wu/F6XllZTKTy6ss9TdRN24U9Bht9BzGawkYEbktS993T4Yq+/PBTcEYVSRpOPC90Q I6tuToTGRZMAUkrkgB8HHzt0lnquhA4VRIMXopTCQH71Vcs134tRFcWLHO+PyEVHpQ+O GyGn8ki1hF+j3zVObOduvJkiu643T5GpC/rXs3SYdV61fVn3RQpQul0ts+faNdppq0aR j7xw== 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 co4-20020a17090afe8400b002509203c8b2si1278910pjb.47.2023.05.22.05.27.04; Mon, 22 May 2023 05:27:16 -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 S233721AbjEVMHx (ORCPT + 99 others); Mon, 22 May 2023 08:07:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233619AbjEVMHs (ORCPT ); Mon, 22 May 2023 08:07:48 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9EF6AA for ; Mon, 22 May 2023 05:07:46 -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-75-nEeo5WdKNgC3tzWX8ags8w-1; Mon, 22 May 2023 13:07:35 +0100 X-MC-Unique: nEeo5WdKNgC3tzWX8ags8w-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 22 May 2023 13:07:23 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 22 May 2023 13:07:23 +0100 From: David Laight To: "'15330273260@189.cn'" <15330273260@189.cn>, Jani Nikula , Li Yi CC: Thomas Zimmermann , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "loongson-kernel@lists.loongnix.cn" Subject: RE: [PATCH] drm/drm_vblank.c: avoid unsigned int to signed int cast Thread-Topic: [PATCH] drm/drm_vblank.c: avoid unsigned int to signed int cast Thread-Index: AQHZiBwkXHI4wBkIl0yfSK4Xtptrs69eSnTggAfuD9GAAADacA== Date: Mon, 22 May 2023 12:07:23 +0000 Message-ID: References: <20230516173026.2990705-1-15330273260@189.cn> <871qj8ob7z.fsf@intel.com> <7f81c053-ba60-a4d2-23d6-d0f032acbcff@189.cn> In-Reply-To: <7f81c053-ba60-a4d2-23d6-d0f032acbcff@189.cn> 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_H2,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-M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