From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752650AbdKUDFF (ORCPT ); Mon, 20 Nov 2017 22:05:05 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:43725 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427AbdKUDFD (ORCPT ); Mon, 20 Nov 2017 22:05:03 -0500 X-Google-Smtp-Source: AGs4zMZhtWaX45TCikrmqKivXykMNYdErvn/3TKSE5FODpqelcKkrqG5i8BGyPb0u0bF2YZe9/eglA== Date: Mon, 20 Nov 2017 19:05:00 -0800 From: Richard Cochran To: Arnd Bergmann Cc: Michael Kerrisk , linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, John Stultz , Thomas Gleixner , Stephen Boyd Subject: Re: [PATCH] [man-pages] adjtimex.2: document clock_adjtime Message-ID: <20171121030459.swng4eyke34uf3sv@localhost> References: <20171120225302.3379657-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171120225302.3379657-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 20, 2017 at 11:53:02PM +0100, Arnd Bergmann wrote: > .B EINVAL > +The > +.I clk_id > +specified is not supported on this system. We return EINVAL when the clockid is not valid. That can mean two things. Either the SYS-V style hard coded positive clockid is out of range, or the dynamic negative clockid does not refer to a valid instance of a clock object. Dynamic clocks might also return ENODEV in case a hot-plugable device (like USB) has disappeared after its character device was opened. Thanks, Richard