Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932748AbbLQUi0 (ORCPT ); Thu, 17 Dec 2015 15:38:26 -0500 Received: from mail-qk0-f181.google.com ([209.85.220.181]:36299 "EHLO mail-qk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932449AbbLQUiT (ORCPT ); Thu, 17 Dec 2015 15:38:19 -0500 MIME-Version: 1.0 In-Reply-To: <20150429192140.24909.56052.stgit@warthog.procyon.org.uk> References: <20150429192133.24909.43184.stgit@warthog.procyon.org.uk> <20150429192140.24909.56052.stgit@warthog.procyon.org.uk> Date: Thu, 17 Dec 2015 12:38:17 -0800 Message-ID: Subject: Re: [PATCH 01/13] Make the x86 bitops like test_bit() return bool From: Dan Williams To: David Howells Cc: linux-arch@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 13 On Wed, Apr 29, 2015 at 12:21 PM, David Howells wrote: > Make the x86 bitop functions like test_bit() return bool rather than an > integer. This permits gcc-5 to make better choices and can reduce the code > size overall and allows some warnings to be evaded. This also would have prevented this regression in -next: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003557.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/