From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0AF1DC433DF for ; Fri, 22 May 2020 19:32:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C7AA220757 for ; Fri, 22 May 2020 19:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590175945; bh=Ynbx8IZ7G1bfgH03l+Zmo5qVFUaYscgHGqtvzPtMUVU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=Npo2hejqaavDB68Pmwf58jaf6PwH2Bjc1Ymm3eLiqx6gnYPlfk6XBtKKcUzSKSRFE htcQ7a623/gNgrJ/bCmbilmgZmoAib5mLcoWbZ3th8Sg/br9yN64eVjkFP5VXa8/pl 94W6uJHjpVZD2GkiyKl/yXewLLwgOz0CVPz7KXbw= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730893AbgEVTcZ (ORCPT ); Fri, 22 May 2020 15:32:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:34390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730866AbgEVTcY (ORCPT ); Fri, 22 May 2020 15:32:24 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A22E2206D5; Fri, 22 May 2020 19:32:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590175944; bh=Ynbx8IZ7G1bfgH03l+Zmo5qVFUaYscgHGqtvzPtMUVU=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=FuWmob4WMH+HQrdFn/i2lfuxW/YS7aZONh5UVhlxdfkhDVRGCu+qMcc57RXu1MUzA 6gon6Wr6sUvdDWpBrm+WZ2INMDe0e6p01OPsvxDRzsO/76CCEB5SKK3QwUls9jBnkH EeG9WJKbp2sXk8WHQ1omuIAwOAaeuIx6VmrxzqoE= Subject: Re: [PATCH v3] selftests/timens: handle a case when alarm clocks are not supported To: Andrei Vagin Cc: linux-kernel@vger.kernel.org, Dmitry Safonov <0x7f454c46@gmail.com>, linux-kselftest@vger.kernel.org, Thomas Gleixner , Vincenzo Frascino , shuah References: <20200521075252.89475-1-avagin@gmail.com> From: shuah Message-ID: Date: Fri, 22 May 2020 13:32:23 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200521075252.89475-1-avagin@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On 5/21/20 1:52 AM, Andrei Vagin wrote: > This can happen if a testing node doesn't have RTC (real time clock) > hardware or it doesn't support alarms. > > Fixes: 61c57676035d ("selftests/timens: Add Time Namespace test for supported clocks") > Acked-by: Vincenzo Frascino > Reported-by: Vincenzo Frascino > Signed-off-by: Andrei Vagin > --- > v2: fix timer.c and timerfd.c too. > v3: add Reported-by and Fixes tags. > > tools/testing/selftests/timens/clock_nanosleep.c | 2 +- > tools/testing/selftests/timens/timens.c | 2 +- > tools/testing/selftests/timens/timens.h | 13 ++++++++++++- > tools/testing/selftests/timens/timer.c | 5 +++++ > tools/testing/selftests/timens/timerfd.c | 5 +++++ > 5 files changed, 24 insertions(+), 3 deletions(-) > Applied to linux-kselftest next for Linux 5.8-rc1 thanks, -- Shuah