Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp123931ybk; Thu, 14 May 2020 18:19:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWUJQUKZDW3FiHhOO/L70k2Gsym2DrKkhyIRa9UHbQvy9a9TqfRHZo3M7ysKJKcIZyIiLB X-Received: by 2002:a17:906:404a:: with SMTP id y10mr683447ejj.130.1589505540264; Thu, 14 May 2020 18:19:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589505540; cv=none; d=google.com; s=arc-20160816; b=jEuGbIJ2ub6KeyhzRJQYAZjCO4W3htTxNvDzyurYLLBIaJTvBQAgWAqhAJiae4TIXn mSZnjDnoaQtMwoOcDAder6N07FoNtspWNrxi5MDoWmVLcugg0UrJsFD+HfySQ/NoWm9z kBdxtEv3mvNVel0kEQO1hTd84gxRFyZsfYOAXbfu2Ua6V2yJAZcngMC+5ALuAqNU8sdj gH3loyImZtQpC4eWovmQhKhXeuD9AdQWCqFtGncyTO+Sh+EwRtV72OCrHSbSN9FV9T6B ki3CeGFf4PqYU+tQ/6CUwm43DETemF0uIsyz69DSd0wvY3LjNytAV9R4nEakAdi2ne9r tWQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=TFJALC9265dXW+9Z2VTWHv499feNI/W17R3o7O5PmW0=; b=Z0CalIkA2tWwUvMii5u1zBiyJyU5wUfHj9JFgf9J9hviezYXDK333mBzODiRYLsG/L rjv9X2ppV7N2dGs6D6a4zn0I/BYYxFt+iaMBsRxHq4BIpUoyWibCheVV86xRicJUrJ+P jOjGCF6/pErzjT/pR/GZDtVAk7RDM4aEVOP6Sb0YMrVSAXVaJix3G0DJCQrPcak5rk2s Bz7Bhqp30VykGtwZzDRINagFW3P4eB+RmUjx1DmcAhqLSl1J6Sruz13WYtAQuLm11des ezJiojLzYC43T+Ixk409ZdYmWXhrClSekFDIRgs7k8bScaO88kPhtzfl/l1DZuDOY/WG /+Rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq12si320869ejb.472.2020.05.14.18.18.37; Thu, 14 May 2020 18:19:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728228AbgEOBQh (ORCPT + 99 others); Thu, 14 May 2020 21:16:37 -0400 Received: from smtp.h3c.com ([221.12.31.56]:33062 "EHLO h3cspam02-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726168AbgEOBQh (ORCPT ); Thu, 14 May 2020 21:16:37 -0400 Received: from DAG2EX04-BASE.srv.huawei-3com.com ([10.8.0.67]) by h3cspam02-ex.h3c.com with ESMTPS id 04F1FmFo031401 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 15 May 2020 09:15:48 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX04-BASE.srv.huawei-3com.com (10.8.0.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 15 May 2020 09:15:49 +0800 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074]) by DAG2EX03-BASE.srv.huawei-3com.com ([fe80::5d18:e01c:bbbd:c074%6]) with mapi id 15.01.1713.004; Fri, 15 May 2020 09:15:49 +0800 From: Tianxianting To: Thomas Gleixner , "john.stultz@linaro.org" , "sboyd@kernel.org" CC: "linux-kernel@vger.kernel.org" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0hdIHRpbWVyczogdXNlIHNldF9jdXJyZW50X3N0YXRl?= =?utf-8?Q?_macro?= Thread-Topic: [PATCH] timers: use set_current_state macro Thread-Index: AQHWJN1i8nvFEDn09kuOWWA9opf9/6imCT8AgADM2eCAAYyy8A== Date: Fri, 15 May 2020 01:15:48 +0000 Message-ID: References: <20200508020222.15791-1-tian.xianting@h3c.com> <875zcz1qf9.fsf@nanos.tec.linutronix.de> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.99.141.128] x-sender-location: DAG2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-DNSRBL: X-MAIL: h3cspam02-ex.h3c.com 04F1FmFo031401 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UGxlYXNlIHJldmlldyB0aGlzIG9uZSwgdGhhbmtzLg0KaHR0cHM6Ly9sa21sLm9yZy9sa21sLzIw MjAvNS8xNC83OTYNCg0KLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0K5Y+R5Lu25Lq6OiB0aWFueGlh bnRpbmcgKFJEKQ0K5Y+R6YCB5pe26Ze0OiAyMDIw5bm0NeaciDE05pelIDk6NDYNCuaUtuS7tuS6 ujogJ1Rob21hcyBHbGVpeG5lcicgPHRnbHhAbGludXRyb25peC5kZT47IGpvaG4uc3R1bHR6QGxp bmFyby5vcmc7IHNib3lkQGtlcm5lbC5vcmcNCuaKhOmAgTogbGludXgta2VybmVsQHZnZXIua2Vy bmVsLm9yZw0K5Li76aKYOiDnrZTlpI06IFtQQVRDSF0gdGltZXJzOiB1c2Ugc2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