Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753700AbdLMTFL (ORCPT ); Wed, 13 Dec 2017 14:05:11 -0500 Received: from mx3.wp.pl ([212.77.101.9]:51731 "EHLO mx3.wp.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752751AbdLMTFI (ORCPT ); Wed, 13 Dec 2017 14:05:08 -0500 Date: Wed, 13 Dec 2017 11:04:55 -0800 From: Jakub Kicinski To: Al Viro Cc: Linus Torvalds , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC][PATCH] new byteorder primitives - ..._{replace,get}_bits() Message-ID: <20171213110455.144a955d@cakuba.netronome.com> In-Reply-To: <20171213142212.GD21978@ZenIV.linux.org.uk> References: <20171212194532.GA7062@ZenIV.linux.org.uk> <20171212120409.64b6362e@cakuba.netronome.com> <20171212234856.GZ21978@ZenIV.linux.org.uk> <20171212155933.03c88eab@cakuba.netronome.com> <20171213003659.GA21978@ZenIV.linux.org.uk> <20171212170437.4b129e50@cakuba.netronome.com> <20171213013056.GB21978@ZenIV.linux.org.uk> <20171212173528.340cd002@cakuba.netronome.com> <20171213015125.GC21978@ZenIV.linux.org.uk> <20171212184400.13b27cf8@cakuba.netronome.com> <20171213142212.GD21978@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-WP-MailID: b57d5096a75e8b4aa27eed35397fe013 X-WP-AV: skaner antywirusowy Poczty Wirtualnej Polski X-WP-SPAM: NO 000000A [oQOk] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 217 Lines: 5 On Wed, 13 Dec 2017 14:22:12 +0000, Al Viro wrote: > IMO it's not worth the trouble; let's go with the check inside of > static inline and accept that on clang builds it'll do nothing. Ack, thanks for investigating!