Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2526528pxb; Sun, 23 Jan 2022 07:28:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLrnAX6/SA0MC2KwuZSXd151nWNhsdNlLW9y4s2tMWSMmIN/QVOtjfnhl6cRmDWL+i6ojG X-Received: by 2002:a63:1607:: with SMTP id w7mr9153509pgl.526.1642951713455; Sun, 23 Jan 2022 07:28:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642951713; cv=none; d=google.com; s=arc-20160816; b=cR/7un0l9yaqdPTHDZmA1EdYEUC9CVR+UCUzmvZoTQShaFuHTfnyQlJtpSuifzUEIP bGJX/XExAVcc2xP1OLyFm1wigJtcip8BABhKlDAuPFQvSNKF2cvZnt7vRVRijTHjqkxp j7+lPxkVWWFXF+wpPKdOVNEhiGPd09DguM5ggpFlnlqMNy+LPq++3P0QA6O8Bo/6BRfs xtWhYmu/Lu56LuzX/12E2cV+JpCdI1MHl9+8qXzUHUxnj1BkxwbnEXOPtSi9raz+2NZD aTHCc2aB+04Wp1GlzyD/BI8mISZ2Ob8frnf5oEES9glMm4tbGo/rwRpmV5xvTOKYLUjT O6gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iFBuaE4otMAYJfH5b2i7kwfnQaRdpq/cX0lkHyia+Vg=; b=A9LTkKWoWAwM4p06KeP8utDkxYp73ezoEl9wOCCKpzlaTCPykcJTQ0SHSnh+YyeDt/ jULwBjdCayBHVYDo0oQJy069ejPR+b2VSOLPKg8M82AkaSBzIOcf52AV6ssBzg5raasK eNWuLKHroXr4D/Dh44gn8m4Q+sMImR7tQg5pZY0/HBtVpuTnruxHwMeX+GJXgji364aw xb4f57JGfR3jfszFjgas2ojLz63UCcymfA8gB4xlvMuuNxBRdZOeDaGdUBAn8j9tKRFa +Ac9OQupzzXDv0gV86UYF3xIYiAsjxkJJ3PZdvGT3nZLLOMoKsGHMO72mSdxPj+iIcdi 651Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="V/ipXv88"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx2si9662537pjb.52.2022.01.23.07.28.21; Sun, 23 Jan 2022 07:28:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="V/ipXv88"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234791AbiAVTTH (ORCPT + 99 others); Sat, 22 Jan 2022 14:19:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbiAVTTG (ORCPT ); Sat, 22 Jan 2022 14:19:06 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 260F5C06173B for ; Sat, 22 Jan 2022 11:19:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description; bh=iFBuaE4otMAYJfH5b2i7kwfnQaRdpq/cX0lkHyia+Vg=; b=V/ipXv88zeDj4TChE7RqFhRWiQ U5+c8xRykqDGFDIejnR8q/m6SPqxhzouvBS+7CGQC+Bip6LvDXPqczynU4ObOfaWgSUolNlCaxqbT xo15B8j8soJ0OCaLBKA0yQJ8/hdxQoX6oe647aernEjOquqKfaw11sStEcMSqveKD1X6fFIzW0sQD DwhcKZlVQ9X5twVsdXv/GbAk6ekStTxeA/sWxGTD8k5bz6OXPiZXQBNCE/LdoGj7kEkRWUZd6f5Be d1Sk1ChJ6zy6L736QVnWeX4Ijji5fU/9v64vOQG85vZm3oPatlybVFaULxJoay9ajZ7xbY7y2ZnmO hn/YtDwQ==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBLua-00GYkG-TV; Sat, 22 Jan 2022 19:18:57 +0000 Message-ID: <91901e7b-7d82-116c-aaf2-c74c6a6b999c@infradead.org> Date: Sat, 22 Jan 2022 11:18:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: fs/dlm/midcomms.c:913:22: sparse: sparse: restricted __le32 degrades to integer Content-Language: en-US To: Alexander Aring , kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, David Teigland , cluster-devel References: <202201221028.YKA8kSdm-lkp@intel.com> From: Randy Dunlap In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/22/22 10:28, Alexander Aring wrote: > Hi, > > On Fri, Jan 21, 2022 at 9:45 PM kernel test robot wrote: >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 9b57f458985742bd1c585f4c7f36d04634ce1143 >> commit: 658bd576f95ed597e519cdadf1c86ac87c17aea5 fs: dlm: move version conversion to compile time >> date: 3 months ago >> config: x86_64-rhel-8.3-kselftests (https://download.01.org/0day-ci/archive/20220122/202201221028.YKA8kSdm-lkp@intel.com/config) >> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 >> reproduce: >> # apt-get install sparse >> # sparse version: v0.6.4-dirty >> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=658bd576f95ed597e519cdadf1c86ac87c17aea5 >> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> git fetch --no-tags linus master >> git checkout 658bd576f95ed597e519cdadf1c86ac87c17aea5 >> # save the config file to linux build tree >> mkdir build_dir >> make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash >> >> If you fix the issue, kindly add following tag as appropriate > > I have it on my list but it isn't easy to make sparse happy here... > this is the second time the robot reported this issue. Is there a way > to turn the robot off in that case? > > Maybe some human who reads that knows the answer? Hi Alex, In the source file, you can surround the "offending" line(s) with #ifndef __CHECKER__ ... #endif to prevent sparse from checking those lines. Sometimes there needs to be an "#else" branch also. 'git grep __CHECKER__' will show you quite a few other examples. kernel test robot might have a different way to disable this test for a specific source file. I dunno. -- ~Randy