Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp968866ybk; Wed, 13 May 2020 18:51:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaKR7w0fdft8EfreGx5gNFHEvUUQIsr27BW2PUSWfeX+WEWyd83DMBZqdueM0q54lgRzqD X-Received: by 2002:a17:906:5918:: with SMTP id h24mr1815276ejq.210.1589421104271; Wed, 13 May 2020 18:51:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589421104; cv=none; d=google.com; s=arc-20160816; b=tUTK9P0S4dQ0xY1vvrnRjINZzpko8ZCu0kI8wjCfk2rELwRALUPALrTttlrCNdZmoI nkto4CxxCJbvotAOjDq4H0UwBoHZvUgCnUkvtWz4howH7PRsDfPsKszbFKNkpSv1drDy NovusTyrWRgrZZRONrzd7D74NSd8lD/QyXJuddvzHL3uM4wg0S0YtGWtS7SMU6Qpdd8U chvQ9T4nnYBSqokVXtqnr2FXPXu9GJrzfsoN4Bff4O4v5Zya/MYdobL/ZEs2sdNH8rSP r5l1cR7/0cxzTsZSvJw9wM5bFE7xM9mVkqu6s8Lb4tsm2vbmI0q87FWqECmc0NcLai8l qj1A== 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:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=bK6mfQ4ckeAdkv1dsCVVDLylAl/+Agdf7oWKJrWJGOI=; b=JL3lzbx69JuK+ocqg9oEJiqXdN2Py3uQZQA/xdW7e/dtJXK7TltZQh5V5MqBJKlYzB ifev5cHvCj/cwcXh+KnCtg6etqAj8Mp0sJLGxqquPO/OxErT3eDrS/CDw83gMgP2vygL 7IO5s3e3Pz3b2yD48LGXpEsNXqawc8OkaZ0iMU+udkqN9BAEEpoHIw+qrarJdkEbRrAr +T/PERTbtFhFA08hnS5TotybvsVnaHCO7tdKAiqVotQ8PiLdQOhTa5NCo/ahZJ/2kXFR MBTA/PL/85gsQHp4OBGqCi7nL95HE10iMHy0JMY6E+UgZTL2LXVOSQSR8qaoCru1C/re LpDw== 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 d9si906786ejb.393.2020.05.13.18.51.21; Wed, 13 May 2020 18:51:44 -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 S1728511AbgENBrU (ORCPT + 99 others); Wed, 13 May 2020 21:47:20 -0400 Received: from smtp.h3c.com ([221.12.31.13]:58168 "EHLO h3cspam01-ex.h3c.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725925AbgENBrT (ORCPT ); Wed, 13 May 2020 21:47:19 -0400 Received: from DAG2EX03-BASE.srv.huawei-3com.com ([10.8.0.66]) by h3cspam01-ex.h3c.com with ESMTPS id 04E1kP5b046938 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 14 May 2020 09:46:25 +0800 (GMT-8) (envelope-from tian.xianting@h3c.com) Received: from DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) by DAG2EX03-BASE.srv.huawei-3com.com (10.8.0.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 14 May 2020 09:46:26 +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; Thu, 14 May 2020 09:46:26 +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/6imCT8AgADM2eA= Date: Thu, 14 May 2020 01:46:26 +0000 Message-ID: <90b599bbd90e47e9b0171df6862ae034@h3c.com> References: <20200508020222.15791-1-tian.xianting@h3c.com> <875zcz1qf9.fsf@nanos.tec.linutronix.de> In-Reply-To: <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: h3cspam01-ex.h3c.com 04E1kP5b046938 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVGhvbWFzDQpUaGFua3MgZm9yIHlvdXIgcmVwbHkgOikNCkkgYW0gc29ycnkgZm9yIGluY29u dmVuaWVuY2luZyB5b3UgYWJvdXQgdGhpcy4NCnRpYW4ueGlhbnRpbmdAaDNjLmNvbSBpcyB0aGUg bWFpbCB3aGljaCBpcyBwcm92aWRlZCBieSBteSBjb21wYW55LA0KTXkgY29tcGFueSBtYXkgYWRk ZWQgc29tZSBsaW1pdCZzaWduYXR1cmUgd2hlbiBJIHNlbmQgdGhlIG1haWwgb3V0IG9mIGl0LA0K SSB3aWxsIHJlLXNlbmQgdGhlIHBhdGNoIHZpYSBteSBwZXJzb25hbCBtYWlsLCBJIHV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