From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 150B52EAB6F for ; Sat, 22 Aug 2026 23:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787441162; cv=none; b=oKvw91zTdjFd0nbYZdSJ/4LS25F91OGAaxpr4WZPOpJJcFcRVACbmIEJTu8MNa6rLzHhGTsrqHimKfYhYrxzqByjNXUJnFW3cTGo9Y5Vdr19FaCj+v1IbZc4mOvHD0AcKcao1+YvmZVxJNyn1+6ZXMFwtS7hDQbABzetosx8uC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787441162; c=relaxed/simple; bh=Z0BHmih3zwEKVf1UIhHjS8FRlzSBcON1os9HbVW1lco=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=DLWHT0j+WeY0iojZmSvhDIIKbq2NpyW6AHrZgF4951k2prIlKV4wGsbuHMzgZmESWSePrcNLDD0cm70tmtuo1GH9iygx1iess6WKki6zh+Ay3pkO552+vipzjLTiVCxV/HPXjCGUJO8a12x0QKDEkrsQSts1mLYT72FYp7qgUrU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=To1mWPHW; arc=none smtp.client-ip=209.85.210.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="To1mWPHW" Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-7f18c0e03e3so1447852a34.2 for ; Sat, 22 Aug 2026 16:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1787441159; x=1788045959; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+s92g3OyO+nluogZsGa9t2jIOxlCnJFatsZxBV9VB9s=; b=To1mWPHWIy3rdNYnzXZzbmubNMywJw+PVuMVth2piE8cGer090UD3jIAZZUBuAHwN5 0asVlhba4mIGxat8jlteMmFBAj4PWbRgyB2izLcDrnHIceE6P9r+txb5Q/UxsPT9UGrt RT4wKn8cU0em74hcE7c40RybQ6cb6hbkfd0i1AyWUDECt0ln49A15Ft7lYd9utrVeKA0 dd5OB4GlemTYO/LtMbyHWuYp3a286Sxpx7aGIOmPXr1Gxe2jU1s4mApuWTfipsjoa5QL dfrO2a9xqJSor/S/ekqzQioGninSxt0DxrnsdrRpYysZgEul1ON5MT81U4VAez1ZWpT4 O1qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787441159; x=1788045959; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+s92g3OyO+nluogZsGa9t2jIOxlCnJFatsZxBV9VB9s=; b=aRwcAxvGXqKfo+H2ffi78IpU/KXMQ8poOl0ZWwxEdN32sC3OGgXE4qArdZk8kjP5af pl6Cqfuk9LtVwsASUYjzqJXmcQt2ycbELQKYUGj302jdry3UdnpkVhBEL+5eGqs50M6o yL58bcsC6dIp4Sqcku6zyP/kTJhUbZP+iH0QsY8yaw8PeftREktSaCzbe6rraflqjhHR 112uZOcs2qG7IcaPAxqxP5u9Wfv5eVNQ4U8zIV9+K6Tzp157ztDRKrH1x9SxrwpY9j0a G9tMdpUvAlOQjv5SqY0wRZoKTZimeK056n3ElZPx7TyNNerSSNNl4TwUePF2jZVj77cA ykyQ== X-Forwarded-Encrypted: i=1; AHgh+RojKBvo8tpEkQ144TSr6BJG+VX0eEGA/5gjp1izdJshQU127EVvSRxiejg4j4eLwy9gISfIn/FBZFJrHnw=@vger.kernel.org X-Gm-Message-State: AFuF++nPtnAr/FThmJVVxIiknou3s+xT5x6FumdxUCHAHpxr3LxHHVNi rWtfwaDLpAAY9YflC2P/dKXq71r7DZhG2aUX08ikabPxqJ6X4aEVAm1bGlfKxI8Sdd0= X-Gm-Gg: AR+sD12UIIiTPaQoPnRio3w1SI2cYxJZPCH7BbX13RUKsRr7mmzdVA4n7dbm23DYBWi HasvIZ7uMMe+P8yEoJWk4b0139s65TLTdE3lRoQDc+98IqF48mYE6qpPIX908AxUrB2vX3CyWGi Km6Mdpvy+4oBrW4SfFRSdOJ27+RDrsswooApxN6LrHJtzljTkssGqMRmtZ19glovoIEJ3552Ukr fXooJuTVKWxiXoyqb4h/4eX4Vqs2+zNZ+RMZiXGHmJPo1zQ+7yOtzlK6EpFhRYEyYw+27NmR/vG EenD5ed/Ii9+2ES83cw5clgTwpbC4PICffl3oYxIFtZ3e4TGydFfUJL3kj8rQr+daWkR3FuIksV BH3hCuLb63QnhQRv7CBkapiHc8iLu5UMLwF0CeuzfYkD88R0RtP12RQ+PHuOhfELGhp1HgxBQOF yl2jRWzfv8xmSWF657It569F2iaT6zn+a4JmJWVmWSxBezgjLBrFgkhcDXMU4BTCzASkj+IS57c WVQQiGnZCepVCI5j6329uoq/AvnU/1LukwmpYNBBlSDpTLLig== X-Received: by 2002:a05:6830:380f:b0:7e9:8867:cb23 with SMTP id 46e09a7af769-7f476556758mr11377836a34.16.1787441159024; Sat, 22 Aug 2026 16:25:59 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:500:e0ca:316a:4629:d835? ([2600:8803:e7e4:500:e0ca:316a:4629:d835]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7f48fc89283sm108603a34.24.2026.08.22.16.25.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Aug 2026 16:25:58 -0700 (PDT) Message-ID: <886f7b8a-ccd5-4a71-b5f0-3d3453dffefe@baylibre.com> Date: Sat, 22 Aug 2026 18:25:57 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] iio: gyro: convert to iio_push_to_buffers_with_ts() To: Gabriel Rondon , Jonathan Cameron Cc: =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , Michael Hennerich , Nishant Malpani , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260821140553.80246-1-grondon@gmail.com> Content-Language: en-US From: David Lechner In-Reply-To: <20260821140553.80246-1-grondon@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8/21/26 9:05 AM, Gabriel Rondon wrote: > Convert the gyro drivers that still use the deprecated > iio_push_to_buffers_with_timestamp() to iio_push_to_buffers_with_ts(), > which takes and checks the destination buffer size. > > Each pushes a struct with an aligned_s64 timestamp, so the change is > passing sizeof() of that buffer at the push site. No functional change. > > Gabriel Rondon (3): > iio: gyro: adxrs290: use iio_push_to_buffers_with_ts() > iio: gyro: bmg160: use iio_push_to_buffers_with_ts() > iio: gyro: itg3200: use iio_push_to_buffers_with_ts() > > drivers/iio/gyro/adxrs290.c | 4 ++-- > drivers/iio/gyro/bmg160_core.c | 4 ++-- > drivers/iio/gyro/itg3200_buffer.c | 3 ++- > 3 files changed, 6 insertions(+), 5 deletions(-) > These check out. I also looked for alignment/DMA issues. Reviewed-by: David Lechner