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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 93E93CDB47E for ; Thu, 12 Oct 2023 04:52:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347036AbjJLEwh (ORCPT ); Thu, 12 Oct 2023 00:52:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343533AbjJLEwh (ORCPT ); Thu, 12 Oct 2023 00:52:37 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 207C190 for ; Wed, 11 Oct 2023 21:52:34 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 93D786732D; Thu, 12 Oct 2023 06:52:31 +0200 (CEST) Date: Thu, 12 Oct 2023 06:52:31 +0200 From: Christoph Hellwig To: "Darrick J. Wong" Cc: linux-xfs@vger.kernel.org, osandov@osandov.com, hch@lst.de Subject: Re: [PATCH 3/3] xfs: rt stubs should return negative errnos when rt disabled Message-ID: <20231012045231.GC1637@lst.de> References: <169704720334.1773263.7733376994081793895.stgit@frogsfrogsfrogs> <169704720379.1773263.4032428007620392316.stgit@frogsfrogsfrogs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <169704720379.1773263.4032428007620392316.stgit@frogsfrogsfrogs> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Wed, Oct 11, 2023 at 11:02:35AM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > When realtime support is not compiled into the kernel, these functions > should return negative errnos, not positive errnos. While we're at it, > fix a broken macro declaration. I would love to eventually see these as inline functions to also improve error checking. I'm not going to burden that on you now, though. Reviewed-by: Christoph Hellwig