Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1870154rdb; Sun, 4 Feb 2024 05:06:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOT0yXpe4Yuq93ER5eDvCqocEBoHJzE+f17hMlG0MngdIG4Mf8icV1iDLscjIj8faNUJzf X-Received: by 2002:a05:6870:7248:b0:206:6db:dff9 with SMTP id y8-20020a056870724800b0020606dbdff9mr4780963oaf.58.1707051986485; Sun, 04 Feb 2024 05:06:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707051986; cv=pass; d=google.com; s=arc-20160816; b=asdl3ROoSy/0/nwyiqcTbsUYH2guOBHTX3/bZOYMDckzBePuLVtAq8ygp5oO87ncht FRs/XE30sBgWdeTU3WiOGhkdX5Y7OQ6gpdKdOADtdDuRbQAUSiZVqAl6/8bxQX3Ao+qR gEx/sRaQZekUWzX3C4IVaOspvih2V9+Sa9eyNVtVJ8iSXRBb+l0NdB154dsH08W/SffV Cf+eHgAuK6AREzMaH/SpxtDd2ns9MnXoJg6V7oE02TbMBLMIbH14fcSvw3dMzTrpdz92 +XQmGhUnt4M2GfkQmoEq5mgnN1Y4rbNxq2GkQaN3XZya75C4yFIbv/QNveGgNayDY2JQ VG5Q== 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=VUbcHwi71vYufg/Vs2sTDDmXRJJrewdKdOyjQKg+ch8=; fh=fUyHI67xUDU1MoczhnGxJ4DnOS1HIUuKQQqN1MlfduQ=; b=cqc0E9zU/nor8Yb2CE5FOONPpAuRq3ilOz97Kxc+FXrMDLYBH4+vf6JTCZRYleTpSb V1vp8ZScXCnwbae8bahFdyx0NnXAeaEOlqmivpkRGuq9iRwu9ZBTe2REE4+5NNb0pyji B6XSpP80N5sxTh5ekn+8AguGfW/JYn0tEjIZMlLNag7K48xKpiQSRNrPHhD/bzftfBul vEQ/TEmVUpXJP2tveS5xzMKTgx5UzM1i4g19ORlmeRx1sj+bJZ7eXbPiHwJQYUmKcIHE BUoUrQa34zgY1btmer4HLeyv7tnKz+aaxnoRii1rMyTPGqjjNrsAbYZATtr8DD7mTZ8h aHSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gzwBeV4L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51655-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCWSHTIQQmhJwj1NPEJHUnkMmj0z4WnF9AMJRp7D7ZXXkG/wd928C0xzNKL2NKjw3HWwWTpwRQnlG9HjAj0yUiycGggRK8uSx8Iz8ZZlUQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id px11-20020a056214050b00b00683699ff517si6156758qvb.345.2024.02.04.05.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 05:06:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51655-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=gzwBeV4L; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51655-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 3CD361C22934 for ; Sun, 4 Feb 2024 13:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8B120224D8; Sun, 4 Feb 2024 13:06:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="gzwBeV4L" 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 B0C53224CC; Sun, 4 Feb 2024 13:06:16 +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=1707051976; cv=none; b=mrTVfABiGMTS1QmCsErWRFhXtYENCscGRXdUh3z+ygLp6Rxmj4em1OJhoqcUVJFb5pCgMMlRgJtEsFldeGKRbJOC+pNZItFy2B0gqp1YCL5jmvwIrmLNnAPXU/ejw5ECc6eBbK9Uo3Gfd4Cc2pFj94bWjQppktGx46Yn49Z/9Qw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707051976; c=relaxed/simple; bh=8F9gI+12tY7oFI2qZxOeJGqM/wEKqf6RNcHmEbMRFuE=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jh3tpy7xGV77bdpgDBPVw0eOZCPW4Ng31nwWlhTsMJhF9scpxxXkLd4stbpGL4QCQgCa5tp82mCcyR9r62PuhgrPEcjuTPBW3DFt1cn8rc5HpZ91EfcbQjmALxU2cwbayWVmwrMVjH5FyAIRi2lusZ6LpF4nesYd5UgpIfNu2no= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gzwBeV4L; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 123F1C43390; Sun, 4 Feb 2024 13:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707051976; bh=8F9gI+12tY7oFI2qZxOeJGqM/wEKqf6RNcHmEbMRFuE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gzwBeV4LI6rpss0OpFsc4P00jJEDtTqGmXyexsgmffYKA+vP0gStrZUc6+2hYb1gI /WQn7FNcD33eroxSvvx0eSQwE5G9GDuk65zG2wj353zGPk8okMN+mDLXC5kcmaZDWT 2Q9sY3UAtDGHD0LxsmfIc23DuwyfOvR0shoT5D48eWjpnOa1C4mbVnbvYh6sZIPFq0 a7wRlIo/sryVSBeTOovBOXuMI1OV79q5t2jrPPgChEsMkf4WfD2nYAD6cgvLTJFfFH 09MXjQ3s6MuwUskcnwUe0Rx6ciebohYF5YGvk85rI03cWX32DGkx8KxpWhC5jBZe5a 47XKhdkTCUYRQ== Date: Sun, 4 Feb 2024 13:06:00 +0000 From: Jonathan Cameron To: Andy Shevchenko Cc: Mike Looijmans , devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Arnd Bergmann , Haibo Chen , Hugo Villeneuve , Lars-Peter Clausen , Lee Jones , Leonard =?UTF-8?B?R8O2aHJz?= , Liam Beguin , Liam Girdwood , Maksim Kiselev , Marcus Folkesson , Marius Cristea , Mark Brown , Niklas Schnelle , Okan Sahin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] iio: adc: ti-ads1298: Add driver Message-ID: <20240204130600.37083440@jic23-huawei> In-Reply-To: References: <20231213094722.31547-1-mike.looijmans@topic.nl> <1b153bce-a66a-45ee-a5c6-963ea6fb1c82.949ef384-8293-46b8-903f-40a477c056ae.27993507-256d-4b05-88df-c8643e7f1a68@emailsignatures365.codetwo.com> <20231213094722.31547-2-mike.looijmans@topic.nl> <406d445a-3ce3-4253-8966-de2dac6f7c23@topic.nl> 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 Thu, 1 Feb 2024 13:38:16 +0200 Andy Shevchenko wrote: > On Wed, Jan 31, 2024 at 05:10:08PM +0100, Mike Looijmans wrote: > > On 13-12-2023 15:55, Andy Shevchenko wrote: > > > On Wed, Dec 13, 2023 at 10:47:22AM +0100, Mike Looijmans wrote: > > First of all, please remove unneeded context, don't make me waste time on doing > that for you! > > ... > > > > *val = sign_extend32(get_unaligned_be24(priv->rx_buffer + chan->address), > > > 23); > > > > Doesn't fit, first line is 83 characters by my count... > > Is it a problem? To add a bit more info here. For IIO at least (and most of the rest of the kernel) it's fine to go over 80 chars if there is a significant cost in readability to break the line. Here that is the case + you are only going 3 chars over so it's fine to do so. Jonathan > >