Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp463203lqb; Thu, 29 Feb 2024 06:14:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+7D77196WBIADH1w+662Cp1U3ovp7F1WgFoiNR2Yz31weraqJnFsvdPjfg64ivgC7MWueq4PK+Pz7N97NGY9dzkEVtqWSCeYxIG2j0Q== X-Google-Smtp-Source: AGHT+IEkis1pkyFLF0rKZcrIDYlMi2ydPq9Fa4N0DpbeOygNl6JKRPIGZX4MGTRbvJNIuFnTKhzX X-Received: by 2002:aa7:8faa:0:b0:6e1:3cdb:76f1 with SMTP id t42-20020aa78faa000000b006e13cdb76f1mr2013476pfs.20.1709216085488; Thu, 29 Feb 2024 06:14:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709216085; cv=pass; d=google.com; s=arc-20160816; b=iDcVarrLo18qBSgIDPPJ/DmtV1boeOuKnqIkMwnSYcjVyhkv4nzwWsrM9ZFFquRwbe PMnRV0Uktgn6GuNCeUCrRRAT1tvjDhwaSM1oT7imRmURopK7rzk3lMwofZyK39KlgL3Q h0JWLZYO6FsWJ25k9ivNkOfp7LLJhuoiexGw5V9Ix4b2xLK2fp90Sc6AcsA4/QEXAy5d +JvmeftUV7/a0Gaoj8u7jb4zwAAofTM7apl4YIQYJE8vILlVYPXixYdO4UobdyEortk0 JNnIihmdJamaUTrIrkeayhaMKCzEg9EHm9ASHgn4LE8wIolfEKHTPUOiyv139YOi10XP 6vxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=LzlCXQZmFHhLJ1DjG6JRBVcR3tnpUJ4s13B8bN/dIdA=; fh=kua3g+5nsQo5dLdqTj7I/ER+s+dC47Hu5C7/hSqeUxI=; b=fSw2tbk2WwxuFBZHO6DoZJJlOl5tT8U6YTeH3fNEsnpizfOWgnFNXXlVHt/xPBtNjn 8rBR50nj8GBTY7+XoQoaALjWn06AWdCr7nXQw5zdNJtEtgEmTGFvuV0IVsiVZzJ6ykSq puDMQkNwdraE5AAi8KaG/m+fpSSIIDzpoL86TAeBf7d5PPwgMEZ203XOH1sLK4xX+E+Y GylWLZ3auSqc4hacaQnGesApzecZCyW2sS56yHwWEmDbl4WcSoE2rRz3iLDE9bjS4UKs uw3QhzGB3n0lrdwm14tuVenfMPb2G7tRtKIxbjl7qHBDGTgbd4J31WpRAzIAhFA1gTN+ DGPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7rNCS5Q; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86810-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t28-20020a056a00139c00b006e59a08cc17si901775pfg.134.2024.02.29.06.14.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 06:14:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86810-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U7rNCS5Q; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-86810-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86810-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 2F2ED2872A1 for ; Thu, 29 Feb 2024 14:14:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 236D21361DB; Thu, 29 Feb 2024 14:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="U7rNCS5Q" Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com [209.85.219.181]) (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 9C8B91350D1 for ; Thu, 29 Feb 2024 14:14:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709216058; cv=none; b=jWptm7u64d0vZ2G3ZKH9paSVNDEnLUB6n225ywiXf9WJ4PJCDJ99TZV+o0oNMZ5h0lf3KHmfqy/MluBABZm6AR3KOR9O5rIzyJ2QC82s0tfcOjngYK7WgvWeNn40AWyTTk7pabyGN6jSH4qkunuclR2Ah94G0jN+TdmS7MwSGNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709216058; c=relaxed/simple; bh=LzlCXQZmFHhLJ1DjG6JRBVcR3tnpUJ4s13B8bN/dIdA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=uYA5j4I3P200HWW7lTkbgo6Fb3hQsm4rx3G/nS2F4Z8E81mXAApzjK8OWMdT9mUCQ5ji6xMiHvGjvnVO2OKSxEmH1r6qGyW+C0DRs/kci+NJCEgSkcxb5i6wSqMqZekuhzXXTDbiZhtEXkdsxoo3jpSKdE/Fq+NSbYpruZ5QAuk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=U7rNCS5Q; arc=none smtp.client-ip=209.85.219.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yb1-f181.google.com with SMTP id 3f1490d57ef6-dc6d8bd618eso1076013276.3 for ; Thu, 29 Feb 2024 06:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709216055; x=1709820855; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LzlCXQZmFHhLJ1DjG6JRBVcR3tnpUJ4s13B8bN/dIdA=; b=U7rNCS5Q4Wm6KFwyDDzrg5qUX5k15bLbOzYxyKpo11u4DgwTEBLJB5E5A1DPSvUXIt 9KyqSTSMWO+5JZ3wJa+L7U8ytSVOtniIDk04s2kLIS1oGrLO6wGdKpR6TX6sCX+YgTw/ +feAuAoPMYppHzEdfhX/88mmAbrTf//8qxREx/pSnHwQu7lscGXrhORQ12/yvcaNfnMK /EQvPrx3GRFgOW2S5tyYbkdoCN+JcaVSDLCNrTTpRiyJ6AKGst3/Iz04AjBvlrZXOeop OF1foZGOdiJRrydRJps4wJhNi4z579QE1E3C81hcM6hlAiNhG/ZuB6xGhAz6/phBxIiK WJNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709216056; x=1709820856; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LzlCXQZmFHhLJ1DjG6JRBVcR3tnpUJ4s13B8bN/dIdA=; b=gSKITFRUR+3Vf2hlnLkk+skTz8nRbD3yxdwcNCm87uONbDf879FwMarXdNClr1lrLT MF9Zj7cgfrdKpwuAfV+tp3fDo49hp1XHe99gG0yDYo7rKkQ9BcWP4pjpqkY4AtJMcRLQ b0fgrq315Pn/v0MRced1kx0NBYCDnm4Hk1xsG1tEYRS2tIuyixBQFTE3jb1+rEZkhRDZ DGuLsFQbzzw700/VFb468iayJQdCGQS7y94tp+4TZrz6jvDwIThySGoJ3r5/KiOTkfBi h/dQ26IssLSAULJEkdFLwjNoTYV241TEfqMLWGfQIBFI8ME5XIPGGoYnoJpg5oxQ1WeI qUAg== X-Forwarded-Encrypted: i=1; AJvYcCUxtHhlJrMCcIXZCDaQMaNLpdj6VsMX7Kbc/oQFseBRSphTtn9+bzq7jmFFUAiTj/6c+vWjzqeMzqxJrgNrzxWhg12nEMHWgPnUrV96 X-Gm-Message-State: AOJu0YzNp5IPjjAMsC41r/bCchrf2wwgu9DAXQMuW1Pt/Q2GoG2h7nRJ e+VO9Fsitq4wkBFj13itodIP/GNPdL/RazRI2OaKEPvhxMknf4ihHG6H0zcqlYL7urWBcbPy7dJ zFTfnmF1L7/Tne8trmDK16y2G0cb1DJsyP821rQ== X-Received: by 2002:a5b:f05:0:b0:dc2:2e01:4ff0 with SMTP id x5-20020a5b0f05000000b00dc22e014ff0mr2149084ybr.45.1709216055678; Thu, 29 Feb 2024 06:14:15 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240228204919.3680786-1-andriy.shevchenko@linux.intel.com> <20240228204919.3680786-9-andriy.shevchenko@linux.intel.com> In-Reply-To: <20240228204919.3680786-9-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Thu, 29 Feb 2024 15:14:03 +0100 Message-ID: Subject: Re: [PATCH v4 8/8] dmaengine: ste_dma40: Use new helpers from overflow.h To: Andy Shevchenko Cc: Vinod Koul , Jonathan Cameron , Mark Brown , Kees Cook , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-spi@vger.kernel.org, netdev@vger.kernel.org, linux-hardening@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "Gustavo A. R. Silva" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 28, 2024 at 9:49=E2=80=AFPM Andy Shevchenko wrote: > We have two new helpers struct_size_with_data() and struct_data_pointer() > that we can utilize in d40_hw_detect_init(). Do it so. > > Signed-off-by: Andy Shevchenko Wow really neat! Much easier to read and understand the code like this. Reviewed-by: Linus Walleij Yours, Linus Walleij