From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796433072; b=Pgz6exusRfCXOdvjKrozXxzaLItwtEZrJ76h/ZoNOWffnz3Wf8cbsUuXZZ+p2Mf1zcjS s6/FlB1BI3CdgjdEpx+0s10ZZpqS4pV4gz/ZqO7OLzmcMc4aOgeVo7PODpMPaqx41oGX8 42RStc5RN/y1aZrIwOQnpbTD2mbUnJ4HPTIKVdNsdinFHuCfzMK1mpJ+w7kvsiaUhg4jn 9Lipd7wCBo829DHITBWnJrQwgUxhiFhrZOigvwI9C4XKmEsKP6ZSarwDCo8Rt+miSrlLk gFnFR9Uhtz+t907mFHySPnWUc05SsesyEbRDI9+MYp5ZmhWICFiziF1RIcBxc8T4f8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796433072; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=grJLAB+f26fdjN2ijkkcIXUGgd/nADR+vgEWv+HWoX8=; b=kRvufYCVUqx8yg05Cp5hG19nD1KOfO5WeBlSSvcOv6OpKm1yyBigmJI9YsRDzsXinxd9 DsEfpvGxmNe1c5tFB6CiNhocHrCm5J00zjLaMlklNcDfe+Z+797ZgSpoyZJhdjihvYKEU sMcHm/2UL26uC+hkNN3m6NL8EMJ6xetgnuGZZuH0IuQpuHEEbT6ARD6KSirO6Lm2dTc75 dgYzudCq/S5MBjH4G6LQg9oDHY364VC0omyjrcvqu6RDsf+z8ASaaSTJSSEpQjUwW70an 7MFKTVF3UsgOOmq08/Df9ldudoj4TBmfayzhfDo/pM4dKST4WQx4oski5mBvrtGqW4Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=V6dMG7Xw; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B5DDB606A322; Sat, 5 Dec 2026 01:11:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=V6dMG7Xw Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD4211F00936; Sat, 5 Dec 2026 01:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796433072; bh=grJLAB+f26fdjN2ijkkcIXUGgd/nADR+vgEWv+HWoX8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=V6dMG7XwrHLU35rGwck84mxDtzti6yRVbuUSy3J3Ab5ZoZJDr9/MX6OqeknK+EwC9 Mu8B1JSQJnnOcPs6UK5bZD1ggCSNXdSQkBzDUS+Oh0Xg77AuPTILnJiiZw1iCyt6Gp vgtPHx4kpnSUh0Y+Sh9htGWRXH/pZLH1GGtPz6ohIqA8EfW/grD6oBsyFXl+AIsi8B UoLwRXABClWKr7KdGE7XYlEFfNGOjCE0EfNjKuoQI+7TLKHWeVnIigTFNuBY6QGOMv g8Qrh3gg2XRczLVCODy+81kYTnUAM3Vlxyq8OHQyL/RblupX+iTPXz4XmNU0CPcLOJ yjiYWwZkvbLCQ== Date: Sat, 5 Dec 2026 01:11:08 +0000 From: Jonathan Cameron To: Joshua Crofts Cc: Pengpeng Hou , dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: light: vl6180: select triggered buffer support Message-ID: <20261205011108.64f9a573@jic23-hlaptop> In-Reply-To: <76b0b601-d6ce-4495-8aad-aab8fd4df2e3@kernel.org> References: <20261130123954.73722-1-hppiscas@163.com> <76b0b601-d6ce-4495-8aad-aab8fd4df2e3@kernel.org> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Nov 2026 16:29:19 +0100 Joshua Crofts wrote: > On 30-Nov-26 13:39, Pengpeng Hou wrote: > > The VL6180 continuous-mode implementation registers and polls an IIO > > trigger and uses the triggered-buffer helpers, but VL6180 does not > > select the corresponding support. The driver cannot be built when > > the trigger infrastructure is absent, and buffer helpers also need a > > matching provider. > > > > Select IIO_BUFFER and IIO_TRIGGERED_BUFFER instead of relying on > > other drivers to enable them. > > > > The issue was found by our static-analysis tool and manually reviewed. > > > > Fixes: eeebe3937cfc ("iio: light: vl6180: Add support for Continuous Mode") > > Signed-off-by: Pengpeng Hou > > --- > > Tested-by: Joshua Crofts > Reviewed-by: Joshua Crofts > Applied.