Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp336183rdb; Sat, 30 Sep 2023 06:29:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE7UnZrZGTkJzOkODOm09Qcj9XiR69y4QChyi1PfQTHrMJELR7T/o6RUTJ/rqro9sm3nP9a X-Received: by 2002:a17:902:ee41:b0:1c3:a215:a9ba with SMTP id 1-20020a170902ee4100b001c3a215a9bamr6634162plo.33.1696080583786; Sat, 30 Sep 2023 06:29:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696080583; cv=none; d=google.com; s=arc-20160816; b=fqAo6EvPuerxIIxcj7z+kcgICkdLBmkHHEiePLunt8F+wQRTGUUvKkkgGNGmEBvsQK zEAd5LiZMJWCRG82yc/nC4arwKCAGoCM0BaefxiwCMgrm6vxzTEd5zbxakzdyLPDTyYI znN0mwy+OpFRH6yiCH9rWkXyJ0f0lCqO27BaGabw66U2A/KbMKmLK3Dhq1ywO1ybd39K U0z+4C5n6w2je0YAL9OJq3LKZZh3CSuIY2iS39BRFSyBUbnjR4/IJR62Le+Jj889l82h 1Pg1FHMKKuUmnKuuVmaXXGCfiQRDsm4yusMxW/ytfawy448Nm6BsUNi0GwjhEj0gMuCS ktcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4SntffrzEx2qH+IFS5wR+6sCw20v0rKGfiPaNhdrFac=; fh=6QnbNwZowBMSThGsKPkyUwBQQmIZqPlNEvMnA6quHDM=; b=oqMRygQ6dmlpgY/Ed1hBH1z9XM2Ze5utNZ/cFlrchNvAQwifcgydxtvTKB148BO2Nm H03fFbDIZ4/4cQOc36F80cwaQAv8FlPGjg2CblGjvvhzewHsGMLdXeXAZxygn8x5S0Ya 9Grg41uUWDCYvHfRBCjA7CFWeys8D1/s+nn9a86DDWnJhth4mznenDzhnqqN7aUEEaus z/7G+VEz9Gt7WWTV3xQENFsvt/URnpDgrq4hb1p1VjsypbYGjUMUDqB5Yj4LOza/JeP5 lux22VosLxHNvKS9SGZxpz01vKDoYztSeTNx1wBEdJVw1kS7lwcY9oSFvJ4wvs532BjW cSDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p94r9rVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id x12-20020a170902ec8c00b001c43ff69d93si25149390plg.324.2023.09.30.06.29.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 06:29:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p94r9rVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DF45080A0E2D; Sat, 30 Sep 2023 06:29:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234167AbjI3N3g (ORCPT + 99 others); Sat, 30 Sep 2023 09:29:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230516AbjI3N3f (ORCPT ); Sat, 30 Sep 2023 09:29:35 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32067E6; Sat, 30 Sep 2023 06:29:33 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 786BCC433C8; Sat, 30 Sep 2023 13:29:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696080572; bh=i0Cj8+zi1/vHkGVilLWk62xFTOKNFQoM8Abg5edGgjc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=p94r9rVQFN59iFpiWFk/ENZwkqmWs6JRBQpTRt8RXhyJDU9eq8FlMSrDiKouQETgV cxBaBQnGh+LxbFWKKn5F+QdBNP866Cgt648s0IXD1+OiM9SwOzdgpLdGnYpA8mkng2 EdJK1EhghA2oD4utaE28AgzOU2TM22OwlCUBqEK6eZqGHWtJpfbvuBB/XtilQWkzbq V3+euyGGhH/RPxXfl4xFnj0GYs+s97l9fGpmTKIFa5kyMSqhoxisD8F3nJlRsJLaWo gW93BzsnzvPQT85Udhr0/X5Rrw/rrksBBOgukJp7n8D0lWVhnaKt0bBiFy/FLzX32M hfOkUgGHj9mgA== Date: Sat, 30 Sep 2023 14:29:21 +0100 From: Jonathan Cameron To: kernel test robot Cc: Dumitru Ceclan , oe-kbuild-all@lists.linux.dev, linus.walleij@linaro.org, brgl@bgdev.pl, andy@kernel.org, linux-gpio@vger.kernel.org, Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Walle , Andy Shevchenko , Arnd Bergmann , ChiaEn Wu , Niklas Schnelle , Leonard =?UTF-8?B?R8O2aHJz?= , Mike Looijmans , Haibo Chen , Hugo Villeneuve , Ceclan Dumitru , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] iio: adc: ad7173: add AD7173 driver Message-ID: <20230930142921.38006137@jic23-huawei> In-Reply-To: <202309290756.MgmIdaDl-lkp@intel.com> References: <20230928125443.615006-2-mitrutzceclan@gmail.com> <202309290756.MgmIdaDl-lkp@intel.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 30 Sep 2023 06:29:41 -0700 (PDT) On Fri, 29 Sep 2023 07:29:01 +0800 kernel test robot wrote: > Hi Dumitru, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on jic23-iio/togreg] > [also build test WARNING on linus/master v6.6-rc3 next-20230928] > [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/Dumitru-Ceclan/iio-adc-ad7173-add-AD7173-driver/20230928-205802 > base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg > patch link: https://lore.kernel.org/r/20230928125443.615006-2-mitrutzceclan%40gmail.com > patch subject: [PATCH v2 2/2] iio: adc: ad7173: add AD7173 driver > config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230929/202309290756.MgmIdaDl-lkp@intel.com/config) > compiler: sparc64-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230929/202309290756.MgmIdaDl-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/202309290756.MgmIdaDl-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > >> drivers/iio/adc/ad7173.c:829:23: warning: initialization of 'long unsigned int' from 'const struct ad7173_device_info *' makes integer from pointer without a cast [-Wint-conversion] > 829 | { "ad7172-2", &ad7173_device_info[ID_AD7172_2], }, > | ^ > drivers/iio/adc/ad7173.c:829:23: note: (near initialization for 'ad7173_id_table[0].driver_data') > drivers/iio/adc/ad7173.c:830:23: warning: initialization of 'long unsigned int' from 'const struct ad7173_device_info *' makes integer from pointer without a cast [-Wint-conversion] > 830 | { "ad7173-8", &ad7173_device_info[ID_AD7173_8], }, > | ^ > drivers/iio/adc/ad7173.c:830:23: note: (near initialization for 'ad7173_id_table[1].driver_data') > drivers/iio/adc/ad7173.c:831:23: warning: initialization of 'long unsigned int' from 'const struct ad7173_device_info *' makes integer from pointer without a cast [-Wint-conversion] > 831 | { "ad7175-2", &ad7173_device_info[ID_AD7175_2], }, > | ^ > drivers/iio/adc/ad7173.c:831:23: note: (near initialization for 'ad7173_id_table[2].driver_data') > drivers/iio/adc/ad7173.c:832:23: warning: initialization of 'long unsigned int' from 'const struct ad7173_device_info *' makes integer from pointer without a cast [-Wint-conversion] > 832 | { "ad7176-2", &ad7173_device_info[ID_AD7176_2], }, > | ^ > drivers/iio/adc/ad7173.c:832:23: note: (near initialization for 'ad7173_id_table[3].driver_data') > > > vim +829 drivers/iio/adc/ad7173.c > > 827 > 828 static const struct spi_device_id ad7173_id_table[] = { > > 829 { "ad7172-2", &ad7173_device_info[ID_AD7172_2], }, > 830 { "ad7173-8", &ad7173_device_info[ID_AD7173_8], }, > 831 { "ad7175-2", &ad7173_device_info[ID_AD7175_2], }, > 832 { "ad7176-2", &ad7173_device_info[ID_AD7176_2], }, Cast these to kernel_ulong_t as done in similar drivers like the ad7192 Jonathan > 833 { }, > 834 }; > 835 MODULE_DEVICE_TABLE(spi, ad7173_id_table); > 836 >