Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1072574lqo; Sat, 11 May 2024 06:23:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVG2nQL8KxJ+qduXGuKPxpTW7asszTCmHvaovAZhpZHvfNrJLa6P3OK3xZJCdiyRJQ9+OwTX+pJLwFBvZoEJBXZv7gevxw3CHGaB8sA6Q== X-Google-Smtp-Source: AGHT+IHqAeMO9umI5yOloQbgR+ZBLOHZFlCXy4ptqYX0AYKZzrVjheRfcqDTjA4JdYg5xCtlr6bY X-Received: by 2002:a05:6358:52d2:b0:18f:9dda:502d with SMTP id e5c5f4694b2df-193bcfda60bmr642275455d.22.1715433792379; Sat, 11 May 2024 06:23:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715433792; cv=pass; d=google.com; s=arc-20160816; b=gJkV4iawwZnX8/EIHRr/fF4Cr49SJEe/m64WIpBunTrdyd2K9e+OFEIpzVHZ5m1Dvx AxAUC45WB2+M3TveZhKs9coQYHQjatuw3rNLmCS8KgEMuyg+GoYNmX0WNmbSh+ebiXWW AxGr6e892cZRzsfah8DsGfuCR34aJKaupI1rs+RvP4lo5o4MhaSnW8qbqL55fvVqB6zi /VePoCb/3iFd3w5DVZgUvfQ6rtvhTaYjrBr85dEdz/Q0UrCKdNcnCTVGjZgReJp3e3/C xX8WanzPbeQrFJ0G14SVNHrC+UEGnSHSUOJ61YSZuJUzTY3I0fIp3apCr197yb1/jU5S Ji7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=h8LovFxJhUdHQ4XG1b2xe9Bd/xym8qSh7x61wtXjYhc=; fh=kwM+HFcQgGTc4cc0p8qWgOrYic9V6opaqYUiFaRzdOY=; b=c8jxRdKBPDQY0UZNcLxYACQN83kD9+ruIwJcR0NB04OXP4xax4rFVAAsw0rP7eLOP+ giWe1dTTZEP8efvr92xSXsMl4PV+iaTfxz+8+pvV7wbZC6C3sfPY9xCd3vsz9HwBHFAt ncr3lE7cr7RvcAI1q+LOvZhW6l3PVB0BNyvTd2MSctlMScS3+IPCfgekUuYPohqyQ53X FtMREra/p7Kkm0d27WkDCLxPDqkdxe2Sr3DFNVGmym9RK3+utMuLAzpgTv8pWklv23Ec gV7XIfzWbXjlLYv7Z4DO+V3OdpZJFvnnDDZ1i0glZUP6znCiCbC13VS+whi70N+i16yB KRyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JXtmD/zk"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df549d13csi53433681cf.134.2024.05.11.06.23.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 06:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="JXtmD/zk"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-176556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 16CB71C20BEC for ; Sat, 11 May 2024 13:23:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36BB3524A0; Sat, 11 May 2024 13:23:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JXtmD/zk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5315D51034; Sat, 11 May 2024 13:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715433784; cv=none; b=bRSktxDUwBXUghLW5OruANTyHQ60GNyBbZS9lzXdTVXNYxahjLWtelZxsmZtiXTTW+1gNYIkqYxfZflb1cUACyIg2W3jVdxcm8cPSYFR+wnb8CRyuvSObYDFKlzlLLYERjDQIIUc/ZnP9rCtM7u7vvU47BgVN2NV92w0yC9X7lU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715433784; c=relaxed/simple; bh=nMMGfSK4wOZIKca9fxpU6gUwCMQgGMZfXqeXKxACGhU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mhQP0Dur90OgQGl6k3rdKsFUezMGkKfgAi7a2bIXwQKmNxZ8mG85FU+xgxjwbfCdPAKOhJmXlkN7Yo06XAAVH257JHXycD/I9zbN8iCobA24IusZHjhi1v2ZJgjewxOD+nMsco6TU5TEIGnvhGNy3EMtCNUUIrRq9BVoOr9xlfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JXtmD/zk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E783C2BBFC; Sat, 11 May 2024 13:23:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715433783; bh=nMMGfSK4wOZIKca9fxpU6gUwCMQgGMZfXqeXKxACGhU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JXtmD/zkf7sWXZqSKrL10bz6muqF3rOATCIjQXqKOe3+n5W0Y2Bmymxb0s3s84Ou+ X8aTx3RM8taxKbPO1Jt9nuLp7y9hKR+DyjexbQpt6eeueJJnROtK7QQx1CFuCk+F/y vtyv0YvQ07Po7fUPVQUkkQ0uNdAPBWR6GoUiDd4X+lzuRr0DYT6cygLHHMTudthDjg xIxkGeTE6zZgQyTnt8hyKpAT7p7NzSd/k+E3mND0BNteLVWIc0nr0b65DeMrE+DbN6 LNvbeVt6YUKCgIKzxq5ktPyOrI/xJZh/HnvFdYYu0SN6bG8BQUz0XdtqUvPZ0QAwLI NZwZH4lgghmNQ== Date: Sat, 11 May 2024 14:22:52 +0100 From: Jonathan Cameron To: kernel test robot Cc: Ramona Gradinariu , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh@kernel.org, nuno.sa@analog.com, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v2 4/8] iio: imu: adis_buffer: Add buffer setup API with buffer attributes Message-ID: <20240511142252.4c3b11f0@jic23-huawei> In-Reply-To: <202405110642.5PmTepVs-lkp@intel.com> References: <20240508131310.880479-5-ramona.bolboaca13@gmail.com> <202405110642.5PmTepVs-lkp@intel.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 11 May 2024 06:21:53 +0800 kernel test robot wrote: > Hi Ramona, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on jic23-iio/togreg] > [also build test WARNING on linus/master v6.9-rc7 next-20240510] > [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/Ramona-Gradinariu/dt-bindings-iio-imu-Add-ADIS16501-compatibles/20240508-211559 > base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg > patch link: https://lore.kernel.org/r/20240508131310.880479-5-ramona.bolboaca13%40gmail.com > patch subject: [PATCH v2 4/8] iio: imu: adis_buffer: Add buffer setup API with buffer attributes > config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240511/202405110642.5PmTepVs-lkp@intel.com/config) > compiler: m68k-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240511/202405110642.5PmTepVs-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/202405110642.5PmTepVs-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > In file included from drivers/iio/imu/adis16400.c:24: > >> include/linux/iio/imu/adis.h:530:60: warning: 'struct iio_dev_attr' declared inside parameter list will not be visible outside of this definition or declaration > 530 | const struct iio_dev_attr **buffer_attrs); > | ^~~~~~~~~~~~ > > > vim +530 include/linux/iio/imu/adis.h > > 524 > 525 int > 526 devm_adis_setup_buffer_and_trigger_with_attrs(struct adis *adis, > 527 struct iio_dev *indio_dev, > 528 irq_handler_t trigger_handler, > 529 const struct iio_buffer_setup_ops *ops, > > 530 const struct iio_dev_attr **buffer_attrs); > 531 > Forwards declaration needed. I don't think we'd want to include linux/iio/sysfs.h in here so struct iio_dev_attr; before this is the cleanest solution Jonathan