Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp524522ybt; Fri, 19 Jun 2020 07:29:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7+3GStPJ3dqW80nNoXxE+ctG5hlXnw1QOcq1GEbvuojh8f+CBkXTKG/A/X2PRNCOg2Ldm X-Received: by 2002:a50:8e16:: with SMTP id 22mr3653218edw.273.1592576947990; Fri, 19 Jun 2020 07:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592576947; cv=none; d=google.com; s=arc-20160816; b=nrXzXUafCBMgDV3k8XWXqeIAnnC+FL0hgj5naGs7p9ZF4GBAEw2oQk+w3eYe1bH18G XBp5LKNlsSoJur+ep9wVZKdOpW4LNN/YBTf3C6Qf/S0Arg6oBsX0XmtfHJfFVhMcKA/x qWWPYgJjbhkK1GmqdGHSM64PVYoo2cTf9+DofexJO0Vo6sLIPYCW2BBNTQoWmReFKukn +xdt1WMt8ae8Kj5sK2pe0MUpgvPPOxo6/XNy65i0a0YmP5v7qAVHabd7wHpX4dw9Kgar PL0ZVixz6iMNqC+dza/dIRPYV+W/V/5cqnjw+itgydfBbLT038ZjLDNGsUEH7mZ+oZYL R4Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=8bSED8zl4CrcAER1VVpY4315eH4pyEInk1CBmUlC8tM=; b=SG+TwUKto+MeqrxbpdplVJCvRUcNQQf2xtcqhzVkKarcwrQduypq4pfXe22hgPupnz Yn54AaMVavwwWHOAi5wkWIZQ0fVki7M0QON72g+5KJRfFZNvsrQLQJr67n/ozYpDuBaE rsutudSEthZtzQTcnm49GRv0DLVng7e9kPMXS3IlX8+FNWT5v6asaPTlK8MAgt8Yq79Y /frKyCPar2rrZJQ7ahZA8HF8S09TpEqC+wnwr+tv9c22Ol2UB8V5UsqTSblKgev93OxT dGyI09LG8IdIm/z6Rmu8dL9KRCAxbo7qOZROlqHwdjG10cUWwB+kL391ZdAPqWYP4+kZ EAzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iJvxOSOb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y26si3899027ejw.566.2020.06.19.07.28.46; Fri, 19 Jun 2020 07:29:07 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=iJvxOSOb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726993AbgFSO0c (ORCPT + 99 others); Fri, 19 Jun 2020 10:26:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726321AbgFSO0b (ORCPT ); Fri, 19 Jun 2020 10:26:31 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC92C06174E; Fri, 19 Jun 2020 07:26:31 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id w7so7794626edt.1; Fri, 19 Jun 2020 07:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8bSED8zl4CrcAER1VVpY4315eH4pyEInk1CBmUlC8tM=; b=iJvxOSObVw2uCB3dpRtcU1+kdibcBS4VTzuVUkFDbJVkDGJR2vlGw1hTcAs3wM2Tam XGi4UOs8uNemmHbnWqlm0CCGzeFJ81SiGAP0SwH7Pq2QUFjq0FJY5CzfOnE0Tcvvxa2m zuXPu5ApOTcKe/fumgtPG45HXts8sUHlDVrWYW02ekrxE9PYZ1ywUt16YRcoS/I3jUvL 91dteczkbB3+8EXmotE3WGfHl++X8J55oGhOmEYbvRuO5ckaTbuRvRyHKFPfe8f02czo lyY6L3nu3z9lFdHy1m0520iP8gG50EdpjIO7ycRH5byCsniK2u7Gtpwq+FFQI5OhqFqN xmhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8bSED8zl4CrcAER1VVpY4315eH4pyEInk1CBmUlC8tM=; b=OrdK/FQAzovE2j5cn4l10Qjlj66w63Jq/elSrXE4RpeK8BZtWl7f87/2EpL6acdSsp dTVW3Q40LxrjITZUdcdKHC+gmlmO04hkw/DZs1+CyQUkFrS5H+H3aHoiqHlb8eAZvb2U JH+dhkBgTMYTTjRSvZSDTTS1v/y+a17gBimZSOyrv/KAuCuQEh1ZRgySxCA5KhmCqIKP HkqGtUzGjFZ0YdvDBGMOC5shrg7hjkEPeylqiNmOGygrTIPABdw8dAzAOLLGuS9ISNp2 JOu68VrOlBvjB1O5QQmRv3Bos5VuXvytgU9Fbp7wO4a6Xsh2ajJjh4oz24ThH/n1J6eg QruA== X-Gm-Message-State: AOAM531sbVsm4xm3cb4qKdXtzrDg2DJIOgMCzzQlwImEh4fg0mtNwe+y f1yRdQopgZW96GTz+1DvA2M= X-Received: by 2002:a05:6402:a42:: with SMTP id bt2mr3539290edb.42.1592576789902; Fri, 19 Jun 2020 07:26:29 -0700 (PDT) Received: from ltop.local ([2a02:a03f:b7f9:7600:904f:be8d:1d92:9974]) by smtp.gmail.com with ESMTPSA id j16sm4736461edp.35.2020.06.19.07.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 07:26:29 -0700 (PDT) Date: Fri, 19 Jun 2020 16:26:28 +0200 From: Luc Van Oostenryck To: Syed Nayyar Waris Cc: kernel test robot , Linus Walleij , Andrew Morton , kbuild-all@lists.01.org, Andy Shevchenko , William Breathitt Gray , Bartosz Golaszewski , Michal Simek , "open list:GPIO SUBSYSTEM" , linux-arm Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH v8 4/4] gpio: xilinx: Utilize for_each_set_clump macro Message-ID: <20200619142628.burfxyjoe5uouzuz@ltop.local> References: <46c05c5deeada60a13ee0de83c68583d578f42fd.1592224129.git.syednwaris@gmail.com> <202006160420.iatdr9ab%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 16, 2020 at 11:27:18AM +0530, Syed Nayyar Waris wrote: Hi, > Regarding the compilation warning reported above: > > "sparse: shift too big (64) for type unsigned long" at line 639 > "sparse: invalid access past the end of 'old' (8 8)" at line 638 > > Kindly refer to the code above, at these line numbers. > > I am in the process of fixing this warning. But what would be the fix? > ? At the moment can't think of a code-fix to make the compilation > warning disappear (specially at line 639). Can anyone please explain > to me the meaning of the compilation warning more deeply? This error message is caused by sparse doing the check too early. There is thus nothing to be fixed for it in this code. Best regards, -- Luc