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 53DA0C0015E for ; Fri, 28 Jul 2023 07:16:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CE0206B0072; Fri, 28 Jul 2023 03:16:23 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C8FD36B0074; Fri, 28 Jul 2023 03:16:23 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B314C6B0075; Fri, 28 Jul 2023 03:16:23 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 9F5226B0072 for ; Fri, 28 Jul 2023 03:16:23 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 7CF15161034 for ; Fri, 28 Jul 2023 07:16:23 +0000 (UTC) X-FDA: 81060162246.10.AA22FF6 Received: from mgamail.intel.com (unknown [134.134.136.31]) by imf27.hostedemail.com (Postfix) with ESMTP id 2EA544001D for ; Fri, 28 Jul 2023 07:16:20 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Y0d3uqxB; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690528581; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=S1jYHyGJPW9WAUteO/3aeNM6sV6X8ts3xEjaQkUB0Eg=; b=UsWFYznerZ+e2jNor2ADXtQg46OW0k9g5pDzC9BkNzVl1zaeqsItZwXbgMTH2r4CTWkHk1 qshVAva3M0vpKopirw8gbXC33vReTXybRDbBRlUUDLoC244tJFDmNT+2rImDyohXxiWdVW F28zGHs2bl00S/ZLuTcyKKvJKZdHoww= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Y0d3uqxB; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690528581; a=rsa-sha256; cv=none; b=fSd1be22xv7Hw8qSQcaLVIJKLstNJGyiYmIC8foWZfBPotnU+kBu1VMLrESSqrifh1sluI upRKXHdvJ7ZAWbGLK9i5QQMh/AQ5F8Rhtb+9kvVT1665EwsCIq6kWwG/wiUHoFiZ7IBKDN nr/ECAbgRIHxh/7Q3u1G8hqdaKvZbY8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690528581; x=1722064581; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=RqAKBI2brZz0iglwT4+ws3oysl4sVcuHnFYFiwjZ04w=; b=Y0d3uqxBg2XDrOUYZ4PQuRqn11q7dX2gSZ27iKOS1sstTANWfD68u4Ks oCASQI7WrSnEuO7LIshlQ7IgERwelVaaVU7SrGcbgg0BblF2ekKxbfBCg Uzj5iLfrLO8ntVnZsW3NRMfm4L/iG8axU7JfGGJIXA0Dbx8MSgSle5ZbP Cya18Ah2M/EKtAX3AJu7yMQF+l2FoxrAJWR3STOaCdH5JSVBFqMv5tgcC iHCNxzYLPe2v24jQOs3M3fayUJUxfi7Vl5ld1sCeUSGdZv3UydnhwnCls jRq1GmotTlyDebEXQicHx48zBorD2wPt6m6mXYFMaCxun7lbiqmCTf5b8 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10784"; a="432340441" X-IronPort-AV: E=Sophos;i="6.01,236,1684825200"; d="scan'208";a="432340441" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2023 00:15:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.01,202,1684825200"; d="scan'208";a="870759216" Received: from lkp-server02.sh.intel.com (HELO 953e8cd98f7d) ([10.239.97.151]) by fmsmga001.fm.intel.com with ESMTP; 28 Jul 2023 00:15:56 -0700 Received: from kbuild by 953e8cd98f7d with local (Exim 4.96) (envelope-from ) id 1qPHha-0002yB-14; Fri, 28 Jul 2023 07:15:54 +0000 Date: Fri, 28 Jul 2023 15:15:42 +0800 From: kernel test robot To: David Laight , "'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 resend 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. Message-ID: <202307281520.WNoM3bxU-lkp@intel.com> References: <48c2cd0407f14859919d4fcbe526234a@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48c2cd0407f14859919d4fcbe526234a@AcuMS.aculab.com> X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 2EA544001D X-Stat-Signature: 7f5mnaqpghi6wh3o43y1snus4gubx94m X-HE-Tag: 1690528580-848213 X-HE-Meta: U2FsdGVkX18scTnzQiF+EW29I39d+AvCU5X3otsRYc7xPys9DH7ce4yVEu5JpHhzilXfrVKFwmL7I+KUNzHIR2CkdtqOsMjOrlLcbgNcMIzAmJPI++o4mF79bKX3g2vEVZGl4YkQHEDZMiLUVWl4RXhr5A1t6p2ED84dBhveHJldq3icUbzKnAsj9MGvEFBusdUeHnNbpyavRENPGHudE5GKk5f6YFgToClVFzNa8+NoMgLnk+8HAU/WHGHAYkvTvbrvesezln/TED0A5WjX+WKqzHzkovY03KQi0Skru35nzGqaoZpFcOur18ojoi4hfW/Hp/4//s3SJC5dohY9B0HZ/mlhM/JFt0OPvT9+z6qTkou6LcQ+AlA3SthoN+ZciGMMy4rk46DP9WujJZzA78DvOcxMib94mq4lNIUDaMJXJADAnvu9HzTyONZKU2sxd6/0N6FNwTaON5JMVNOquk5baY3ks/f8UaON4lFVybEd/Rfnj47/BJpoS8Gm/deZvySrmahDnNxthpgEX/yxA+/VLdueCP56ZozjaPqO+9h8D6MMaXgHDqJf4OCRgLDr+BdEhABXgNc6fGk3n8pOFD2pRbxy3BT91cqqbhI1uWupajka7k3hZw0xJjYTGt/Qcz4wgBy9tKvc0KblEcmOVRzQl3whSTokWcJ2b6tZCTfMEu6eoSe4fENcy6aeo+DwOPnJJQFmZcg4LGbQurTGRt0SDjU7w7NH2r+y+m/N5WjrTqgbIs2y94cHxr+eEdjOtz6upemmDwaNpo08ep79n8SKUpGQteEba7IUDZwtT5E8b9v/okOI5Y9MwZsjA6rqxXTKXwMCGyQCVBSwb7qHAd2N43UgCMv5f2IJsPzt2glLek5fSxVL2pw6+8Lj/MAWhz+RGI3dJHMJHD2U64GsRcCIlOIgfLMImrgqS9EZoat78DxDL90oml0jw5osOIIAMh2u+Y76RV51ZalqBnN 8brz7h2i w54tAeifEz/hipqGXNIvNrW/XxzenZWH0l0sCmTm3kMm/mIkdS7J1GmlaGApDVLOPb1NKGXIeGAAEMEJouOZ+U6ofgabJaIXIUS6kGgkanawMa2rfpe8+v6atIlujROdHVhZKblWUx7qHxrR2aIFTGW9TPb9C1UmWDaDErnuxNDzt6VjtcHFaQUAThlpt7HosNV2oSeG8ga05Jyq2f3ALYHBBPzjFhxGojtpDeCmoQsQWmotA41eNLoS5kGHhcQ/qDtbF/WdQZl+UQYrZaLiaME8an5vK6jCTjAVuRzVHwFAadOl/R6VW1vTpU5WW5ypo3rCpyWkwV//AdbhNXB/La9nl2o+ysA8wWN/6SPvVOZGUyAaQz4a9ojip1OeDKHnCjNaF4blrabLNUH1I2c16hXlBpe9aXhk2gfIbJd8HWRnWfUENSIz+R4i9lZG5eqLSCOyokSG+ioGASoAf9k16jp0IouIRIzYfC4Lw 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: Hi David, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v6.5-rc3 next-20230727] [cannot apply to next-20230725] [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] url: https://github.com/intel-lab-lkp/linux/commits/David-Laight/minmax-Allow-min-max-clamp-if-the-arguments-have-the-same-signedness/20230725-204940 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/48c2cd0407f14859919d4fcbe526234a%40AcuMS.aculab.com patch subject: [PATCH next resend 5/5] minmax: Relax check to allow comparison between int and small unsigned constants. config: microblaze-randconfig-r092-20230725 (https://download.01.org/0day-ci/archive/20230728/202307281520.WNoM3bxU-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230728/202307281520.WNoM3bxU-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202307281520.WNoM3bxU-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: bad constant expression type >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *end_page >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *end_page >> crypto/skcipher.c:80:16: sparse: int crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>): crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___x297 crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___y298 >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *end_page >> crypto/skcipher.c:80:16: sparse: int crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>): crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___x297 crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___y298 >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *end_page >> crypto/skcipher.c:80:16: sparse: int crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>): crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___x297 crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___y298 >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *start >> crypto/skcipher.c:80:16: sparse: int >> crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>=): >> crypto/skcipher.c:80:16: sparse: unsigned char [usertype] *end_page >> crypto/skcipher.c:80:16: sparse: int crypto/skcipher.c:80:16: sparse: sparse: incompatible types for operation (>): crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___x297 crypto/skcipher.c:80:16: sparse: bad type __UNIQUE_ID___y298 -- drivers/gpu/drm/drm_modes.c: note: in included file (through include/drm/drm_plane.h, include/drm/drm_crtc.h): include/drm/drm_color_mgmt.h:52:16: sparse: sparse: bad integer constant expression include/drm/drm_color_mgmt.h:52:16: sparse: sparse: static assertion failed: "clamp() low limit (typeof(val))(0) greater than high limit (typeof(val))(max)" >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>=): >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: char *bpp_end_ptr >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: int >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: bad constant expression type >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>=): >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: char *[addressable] bpp_end_ptr >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: int >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>=): >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: char *[addressable] refresh_end_ptr >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: int >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>=): >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: char *[addressable] bpp_end_ptr >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: int >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>=): >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: char *[addressable] refresh_end_ptr >> drivers/gpu/drm/drm_modes.c:2474:29: sparse: int drivers/gpu/drm/drm_modes.c:2474:29: sparse: sparse: incompatible types for operation (>): drivers/gpu/drm/drm_modes.c:2474:29: sparse: bad type __UNIQUE_ID___x334 drivers/gpu/drm/drm_modes.c:2474:29: sparse: bad type __UNIQUE_ID___y335 -- >> net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (>=): >> net/ceph/osdmap.c:1773:54: sparse: void * >> net/ceph/osdmap.c:1773:54: sparse: int >> net/ceph/osdmap.c:1773:54: sparse: sparse: bad constant expression type net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2000:46: sparse: void * net/ceph/osdmap.c:2000:46: sparse: int net/ceph/osdmap.c:2000:46: sparse: sparse: bad constant expression type net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2007:57: sparse: void * net/ceph/osdmap.c:2007:57: sparse: int net/ceph/osdmap.c:2007:57: sparse: sparse: bad constant expression type >> net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (>=): >> net/ceph/osdmap.c:1773:54: sparse: void * >> net/ceph/osdmap.c:1773:54: sparse: int >> net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (>=): >> net/ceph/osdmap.c:1773:54: sparse: void *end >> net/ceph/osdmap.c:1773:54: sparse: int >> net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (>=): >> net/ceph/osdmap.c:1773:54: sparse: void * >> net/ceph/osdmap.c:1773:54: sparse: int >> net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (>=): >> net/ceph/osdmap.c:1773:54: sparse: void *end >> net/ceph/osdmap.c:1773:54: sparse: int net/ceph/osdmap.c:1773:54: sparse: sparse: incompatible types for operation (<): net/ceph/osdmap.c:1773:54: sparse: bad type __UNIQUE_ID___x318 net/ceph/osdmap.c:1773:54: sparse: bad type __UNIQUE_ID___y319 net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2000:46: sparse: void * net/ceph/osdmap.c:2000:46: sparse: int net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2000:46: sparse: void *end net/ceph/osdmap.c:2000:46: sparse: int net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2000:46: sparse: void * net/ceph/osdmap.c:2000:46: sparse: int net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2000:46: sparse: void *end net/ceph/osdmap.c:2000:46: sparse: int net/ceph/osdmap.c:2000:46: sparse: sparse: incompatible types for operation (<): net/ceph/osdmap.c:2000:46: sparse: bad type __UNIQUE_ID___x322 net/ceph/osdmap.c:2000:46: sparse: bad type __UNIQUE_ID___y323 net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2007:57: sparse: void * net/ceph/osdmap.c:2007:57: sparse: int net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2007:57: sparse: void *end net/ceph/osdmap.c:2007:57: sparse: int net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2007:57: sparse: void * net/ceph/osdmap.c:2007:57: sparse: int net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (>=): net/ceph/osdmap.c:2007:57: sparse: void *end net/ceph/osdmap.c:2007:57: sparse: int net/ceph/osdmap.c:2007:57: sparse: sparse: incompatible types for operation (<): net/ceph/osdmap.c:2007:57: sparse: bad type __UNIQUE_ID___x324 net/ceph/osdmap.c:2007:57: sparse: bad type __UNIQUE_ID___y325 -- >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (>=): >> lib/lzo/lzo1x_compress.c:53:54: sparse: unsigned char const *const ip_end >> lib/lzo/lzo1x_compress.c:53:54: sparse: int >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: bad constant expression type >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (>=): >> lib/lzo/lzo1x_compress.c:53:54: sparse: unsigned char const *const ip_end >> lib/lzo/lzo1x_compress.c:53:54: sparse: int >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (>=): >> lib/lzo/lzo1x_compress.c:53:54: sparse: unsigned char const * >> lib/lzo/lzo1x_compress.c:53:54: sparse: int >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (>=): >> lib/lzo/lzo1x_compress.c:53:54: sparse: unsigned char const *const ip_end >> lib/lzo/lzo1x_compress.c:53:54: sparse: int >> lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (>=): >> lib/lzo/lzo1x_compress.c:53:54: sparse: unsigned char const * >> lib/lzo/lzo1x_compress.c:53:54: sparse: int lib/lzo/lzo1x_compress.c:53:54: sparse: sparse: incompatible types for operation (<): lib/lzo/lzo1x_compress.c:53:54: sparse: bad type __UNIQUE_ID___x182 lib/lzo/lzo1x_compress.c:53:54: sparse: bad type __UNIQUE_ID___y183 vim +80 crypto/skcipher.c b286d8b1a69066 Herbert Xu 2016-11-22 72 b286d8b1a69066 Herbert Xu 2016-11-22 73 /* Get a spot of the specified length that does not straddle a page. b286d8b1a69066 Herbert Xu 2016-11-22 74 * The caller needs to ensure that there is enough space for this operation. b286d8b1a69066 Herbert Xu 2016-11-22 75 */ b286d8b1a69066 Herbert Xu 2016-11-22 76 static inline u8 *skcipher_get_spot(u8 *start, unsigned int len) b286d8b1a69066 Herbert Xu 2016-11-22 77 { b286d8b1a69066 Herbert Xu 2016-11-22 78 u8 *end_page = (u8 *)(((unsigned long)(start + len - 1)) & PAGE_MASK); b286d8b1a69066 Herbert Xu 2016-11-22 79 b286d8b1a69066 Herbert Xu 2016-11-22 @80 return max(start, end_page); b286d8b1a69066 Herbert Xu 2016-11-22 81 } b286d8b1a69066 Herbert Xu 2016-11-22 82 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki