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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AA855C00528 for ; Sun, 30 Jul 2023 16:56:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 41721900002; Sun, 30 Jul 2023 12:56:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 34D8A280006; Sun, 30 Jul 2023 12:56:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1A046900006; Sun, 30 Jul 2023 12:56:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 08E39900002 for ; Sun, 30 Jul 2023 12:56:04 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id CF172A0949 for ; Sun, 30 Jul 2023 16:56:03 +0000 (UTC) X-FDA: 81068880606.29.79F4502 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by imf19.hostedemail.com (Postfix) with ESMTP id 78C1C1A000A for ; Sun, 30 Jul 2023 16:56:01 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=aculab.com; spf=pass (imf19.hostedemail.com: domain of david.laight@aculab.com designates 185.58.85.151 as permitted sender) smtp.mailfrom=david.laight@aculab.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690736161; h=from:from:sender: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=LC0DRVUTtHdGXVjE/7ZFOJthvV7nCs/Z1CHv9eXa7dA=; b=EfItfdCH6y4H5SEJGZk3d4PGZUdYGNrJJ8SI35mItQwHAZw4Z78g78N1yGiwl7cc+buIlt Dj4rWFjabRSZ3ivY6LVEuw94EqMHESL5RD7eJSctE0yd+6lTA4lB+1jh86yiLjaBhLJsjR lAavkXfT0Tfr/tThthV/YRfLQlwTaTY= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=aculab.com; spf=pass (imf19.hostedemail.com: domain of david.laight@aculab.com designates 185.58.85.151 as permitted sender) smtp.mailfrom=david.laight@aculab.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690736161; a=rsa-sha256; cv=none; b=rVv2wQEhSrl+yRTdhSq2eqOJP6o4xL/rBrqwuz6DH8rlQBvBhRVC3HF0IGF812pC0w/Pk1 /mMKnYYXmUiiMD+DVPb3vkAfT4sn4J82lLcDuywig/QnCzL7LzWgRimjmdUT6Pxukd/+BL mv41hLEFBQCnvadNkWYpj/hSsGkcmmI= Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-72-eY2T3pPnPJSSwBaPh9habg-1; Sun, 30 Jul 2023 17:55:53 +0100 X-MC-Unique: eY2T3pPnPJSSwBaPh9habg-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 30 Jul 2023 17:55:52 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 30 Jul 2023 17:55:52 +0100 From: David Laight To: 'kernel test robot' , "'linux-kernel@vger.kernel.org'" , 'Andy Shevchenko' , 'Andrew Morton' , "'Matthew Wilcox (Oracle)'" , 'Christoph Hellwig' , "'Jason A. Donenfeld'" CC: "oe-kbuild-all@lists.linux.dev" , "Linux Memory Management List" Subject: RE: [PATCH next v2 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. Thread-Topic: [PATCH next v2 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. Thread-Index: AdnBY0Y9GCHZV09FSTWgIDzdl1LkkgAMN6AAAFxzVbA= Date: Sun, 30 Jul 2023 16:55:52 +0000 Message-ID: <9b85dfdbf967418a8be605bd0e6a8c52@AcuMS.aculab.com> References: <202307290538.EtRKfGgC-lkp@intel.com> In-Reply-To: <202307290538.EtRKfGgC-lkp@intel.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspam-User: X-Stat-Signature: 4ibopgwywi18rhh1oyord1j7dka4so1q X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 78C1C1A000A X-HE-Tag: 1690736161-237399 X-HE-Meta: U2FsdGVkX1/sVfq7mcoI4Dpr1y5sfqUkiWT5s8U3qf2x/r8AehEzr3UZ6txtxrvKEPGe7jMGKL4iFd2rjPDFxnGYLYF32H0af7UXGeX6yCGbb8C8KfirpohtH6gpcnKfQzt3j8PWxkb0DtcEULyG1FZxxc7pIh7giuO+TTHd22hXtjzZEM67HZD4h4Xgqx0Hsxn0zOwkGgPkmcwYVfXXqhnRSEUVleSN/c+pccr1ODst/1ep1G9auRIduzRDlgmR3akCuT51eqx0PMwarAtxwXLEDwpdZvtknboYkk0bHD8C8Xr4cdz2vAFQXWV2SnZ9JlVrhKlFNxYVKDDAkJmAfpJmYCrqKrZzJtJzAa3isBUj6iuj2gRZQyDO4QSNY4CwlW8/q0S1h32MXsYWWVlJlV077D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qovyK0JjCg4dHo1i X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: kernel test robot > Sent: 28 July 2023 22:43 >=20 > kernel test robot noticed the following build warnings: >=20 > [auto build test WARNING on akpm-mm/mm-everything] > [also build test WARNING on linus/master crng-random/master v6.5-rc3 next= -20230728] > [cannot apply to next-20230728] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] >=20 > url: https://github.com/intel-lab-lkp/linux/commits/David-Laight/minma= x-Add-min_unsigned-a-b-and- > max_unsigned-a-b/20230728-225439 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-ev= erything > patch link: https://lore.kernel.org/r/b4ce9dad748e489f9314a2dc95615033= %40AcuMS.aculab.com > patch subject: [PATCH next v2 5/5] minmax: Relax check to allow compariso= n between int and small > unsigned constants. > config: alpha-randconfig-r024-20230727 (https://download.01.org/0day- > ci/archive/20230729/202307290538.EtRKfGgC-lkp@intel.com/config) > compiler: alpha-linux-gcc (GCC) 12.3.0 > reproduce: (https://download.01.org/0day-ci/archive/20230729/202307290538= .EtRKfGgC- > lkp@intel.com/reproduce) >=20 > If you fix the issue in a separate patch/commit (i.e. not just a new vers= ion of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202307290538.EtRKfGgC-lkp= @intel.com/ >=20 > All warnings (new ones prefixed by >>): >=20 > In file included from include/linux/kernel.h:27, > from include/linux/cpumask.h:10, > from include/linux/mm_types_task.h:14, > from include/linux/mm_types.h:5, > from include/linux/buildid.h:5, > from include/linux/module.h:14, > from net/ceph/osdmap.c:5: > net/ceph/osdmap.c: In function 'osdmap_decode': > >> include/linux/minmax.h:26:22: warning: ordered comparison of pointer w= ith null pointer [-Wextra] > 26 | ((x) >=3D (typeof(x))0 && (x) <=3D (typeof((x)= + 0))(long)__INT_MAX__)) I have a cunning plan to fix this (and warnings about testing 'unsigned >= =3D 0'). Basically replace the first test with: =09__builtin_choose_expr(is_signed(x), x, 1) >=3D 0 (Also fixes the build with clang < 16.) Hopefully that v3 will keep the build robert happy :-) =09David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1= PT, UK Registration No: 1397386 (Wales)