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 7EF02C0015E for ; Tue, 15 Aug 2023 15:14:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237830AbjHOPNl (ORCPT ); Tue, 15 Aug 2023 11:13:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237842AbjHOPNN (ORCPT ); Tue, 15 Aug 2023 11:13:13 -0400 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32DDC1BC1 for ; Tue, 15 Aug 2023 08:13:05 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 4D81A20004; Tue, 15 Aug 2023 15:13:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1692112383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eHudGMEyhYeKG88YzAkDWG9Nax8kvFylfT1Z2ot33EM=; b=ZyDYyxi88xv2zoXsgP4HpMgAdt28vf7rZTYrbUkxG2X3HNczJfbbGwrQ3jLQ3hbMO9Dced x/zG0jG5awb3gxWYLEpHnjq9nwGeW1zGWg5nAnOKDBguzLuWhPERyaNDBDXZvy2P6HKjM7 6cAxo9gYo+qG0l8zAQfh3DsnoGKPEC0Wq3G6mR8h8qR1fNWYFRVeLKNlc2mFDC8GoJKgNJ McuHfcJ/OxjP+whZaHdVa8nAmehlQC9bwF3jCuYPVB4yKQTaYXgiiSlQyGd7FTOJ2eF5eY 5scrL/n9rql6maJBYnwBLOGWh50eNDKCaPegocmGTzBSGtGD66v49tn253VzrA== Date: Tue, 15 Aug 2023 17:13:01 +0200 From: Herve Codina To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, Mark Brown , alsa-devel@alsa-project.org Subject: Re: [PATCH v1 1/1] minmax: Deduplicate __unconst_integer_typeof() Message-ID: <20230815171301.6076cbc0@bootlin.com> In-Reply-To: <20230815113534.10592-1-andriy.shevchenko@linux.intel.com> References: <20230815113534.10592-1-andriy.shevchenko@linux.intel.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, On Tue, 15 Aug 2023 14:35:34 +0300 Andy Shevchenko wrote: > It appears that compiler_types.h already have an implementation > of the __unconst_integer_typeof() called __unqual_scalar_typeof(). > Use it instead of the copy. > > Signed-off-by: Andy Shevchenko > --- > > As the initial code is in Linux Next via ASoC tree, it's assumed > to go via that tree as well. > > include/linux/minmax.h | 26 +++----------------------- > 1 file changed, 3 insertions(+), 23 deletions(-) > Sure. I missed the __unqual_scalar_typeof(). Sorry. Acked-by: Herve Codina Best regards, Hervé