From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49539414A3E for ; Thu, 8 Oct 2026 07:31:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791444727; cv=none; b=iMw7EA3/e2UtcwV6Zt1SCTSwvqtNe7oE955ApGS0/u+N1LVBuQGPlBgajJnW4n95SSvMXRihCR0DyLcdWzK1YviMV9PuoD8JNxhKaN5jLZ5v7VfEKl7MitKrjqbsAqD02ufFEgXkZCRcwY9NnlDnM/V16X54lJBvLu141UI7esQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791444727; c=relaxed/simple; bh=R1OauTk58FGLCJ/MOr79hoSoxQboPp2ENsJOfzmEyCY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YoYD2RgS27Ws12hpAbTeAQlSBnWC7WNl7Q67rJ97FqabdlxFot5iOr/ka3z6WKpQWzLLnQvcV4IQvzeV2k0pO3FOKblDWVrjzpBqDXaJ/KPc3bbHyPbniC98bEb/14SJiH3Zz3KZhfxt/M8kKWTKhkkAAgheleu69yE0BCkeHSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HWSzOQfM; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HWSzOQfM" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4a01933b584so23973125e9.0 for ; Thu, 08 Oct 2026 00:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791444707; x=1792049507; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=TBYqwnAjN95MxzXbUBiz1fIAS5G9TFt/mqAU6tkwBvk=; b=HWSzOQfMqXVe/4HDYaEpM+NCxCYL45MrZw9PDtZr85zDEPSsbkPeXb6rPcPfj4v98q oA9J1k+JDPHi5Cp/OWqBkwxaGZUiVActhpBCz+1ywWqm6SykFTzGMJdan58uIWLdMjIk MrN4/Rtg7MwbMvJeGpwFMZDiqE3Sn+UVhPvTyFgeS+9GUwxsBXzuRLHxO83hbQlYP2l1 oYbW83KXWUcQ4oFSe1QI12+3HU63lACniHlbYFkO/dR6XCf+f8JEcKq5CZ63zzyi70J5 m8eK/0lyYFYSlj+pDwPoN9+NSg7+dpN5UtfS+10kdSoLD1rDO6wm5ouHNTsliYXA0Glw 5Xtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791444707; x=1792049507; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=TBYqwnAjN95MxzXbUBiz1fIAS5G9TFt/mqAU6tkwBvk=; b=C4nfPania04gTFS/JrT9QfLz6lEXQp6j3EmwQV/QfAzZSjk47H4+32gUPNFlPdllsA DtenURIch1GlvQCANPR8dBg5p5uA49TyQYgCsAmBtoNN/9p69Wn1lB8o8SwLGcMSLra5 2GrTKS6Db7UTxzsMdbFaKWzW3t8+U/eGIi16onwp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vh +Pa1+6o+Kf7iHikc5iDMALPUBIED0sE/eh3LVKFMejSmp9Hk/HdAzEbxDlscDVgjjLaN8kfEdsf r8hBPlDs7qfr4gcg1m X-Received: by 2002:a05:600c:3b9f:b0:4a0:2644:80db with SMTP id 5b1f17b1804b1-4a180664e4fmr81750295e9.35.1791444707089; Thu, 08 Oct 2026 00:31:47 -0700 (PDT) Received: from localhost (90-182-112-124.rcp.o2.cz. [90.182.112.124]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4a1842abdb9sm47993535e9.6.2026.10.08.00.31.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2026 00:31:46 -0700 (PDT) Date: Thu, 8 Oct 2026 09:31:16 +0200 From: Joshua Crofts To: Alexis Bouzigues via B4 Relay Cc: BouziguesAlexis@JohnDeere.com, Jonathan Cameron , Nuno =?ISO-8859-1?Q?S=E1?= , Michael Hennerich , David Lechner , Andy Shevchenko , Lothar Rubusch , linux@analog.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] iio: accel: adxl345: select IIO_BUFFER and IIO_KFIFO_BUF Message-ID: <20261008093116.000077e1@gmail.com> In-Reply-To: <20261007-fix-adxl345-buffer-deps-review-v1-1-0c94c8d0443a@JohnDeere.com> References: <20261007-fix-adxl345-buffer-deps-review-v1-1-0c94c8d0443a@JohnDeere.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.51; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: stable@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 Wed, 07 Oct 2026 09:34:16 -0500 Alexis Bouzigues via B4 Relay wrote: > From: Alexis Bouzigues > > Since the addition of FIFO watermark support, adxl345_core.c calls > devm_iio_kfifo_buffer_setup() and iio_push_to_buffers(), but the > ADXL345 Kconfig entry does not select IIO_BUFFER and IIO_KFIFO_BUF. > Building with CONFIG_ADXL345_I2C=y and CONFIG_IIO_BUFFER=n fails to > link: > > ld: drivers/iio/accel/adxl345_core.o: in function `adxl345_irq_handler': > adxl345_core.c:(.text+0x145c): undefined reference to `iio_push_to_buffers' > ld: drivers/iio/accel/adxl345_core.o: in function `adxl345_core_probe': > adxl345_core.c:(.text+0x1db6): undefined reference to `devm_iio_kfifo_buffer_setup_ext' > > Add the missing selects on the hidden ADXL345 core symbol, as done for > ADXL367, ADXL372 and ADXL380, so both the I2C and SPI front-ends are > covered. > > Fixes: cf04212d1fe7 ("iio: accel: adxl345: add FIFO with watermark events") > Assisted-by: LLM > Signed-off-by: Alexis Bouzigues > --- Tested-by: Joshua Crofts Reviewed-by: Joshua Crofts -- Kind regards, Joshua Crofts