From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8742ACCA47A for ; Wed, 22 Jun 2022 07:15:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352488AbiFVHPV (ORCPT ); Wed, 22 Jun 2022 03:15:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350659AbiFVHPT (ORCPT ); Wed, 22 Jun 2022 03:15:19 -0400 Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE2F36E1D; Wed, 22 Jun 2022 00:15:18 -0700 (PDT) Received: by mail-qv1-f43.google.com with SMTP id n15so19900375qvh.12; Wed, 22 Jun 2022 00:15:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lHEhufuR0BCwdgBJ9UiDykLCzo+7fjj1KMdN8Y47avc=; b=osZL6e19UyN+wUDEWFphga5cbgcSKq902CLx+IBBOgQH2ryjjvsrsV4gHRg0+jCvdM l7+9VPhaDlDy/zOnPdxwiX39Tdpd3RloXlpAQZ1biUT6y/zwBSsR8ZqPERrcuYJNNUO1 yKJkh1Ek+AWj+CYKERuKtaZx866REk4LS+uRwkqC6eP1+TkUzLzQc5g/AVtN+WNAu64X +Gb/52jCszcKvRO4gTLw/T+CSeFasnRwOMfghvVGHWfuWb+I0hOvBeWTsr8tol41haUv 7gv+mQdnlTMU9IIa5imCN+zyIo0WsljlQaIep6aUxfPKLruxR1Dq6wJBUpnDxFzahFdm 8ykA== X-Gm-Message-State: AJIora8pTZB0yxE7PjkuNhge68t5IfSVfBROPfCUfBfI7J2iKrJ5FdWZ Dpe/nBLTJfYmhjGsEGexHYtL2PxEIudn0g== X-Google-Smtp-Source: AGRyM1vLlVlUEYkp6KfhJmCWmyg6tRO82+0hpeHTNPYk9pbj49uvmhJFD3QGvb+9g2InOcnCWzg2bQ== X-Received: by 2002:ac8:7dc2:0:b0:306:6881:2693 with SMTP id c2-20020ac87dc2000000b0030668812693mr1803460qte.16.1655882117867; Wed, 22 Jun 2022 00:15:17 -0700 (PDT) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id bp15-20020a05620a458f00b006a72b38e2ecsm15450053qkb.51.2022.06.22.00.15.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jun 2022 00:15:17 -0700 (PDT) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-3176b6ed923so153599027b3.11; Wed, 22 Jun 2022 00:15:17 -0700 (PDT) X-Received: by 2002:a81:574c:0:b0:317:7c3a:45be with SMTP id l73-20020a81574c000000b003177c3a45bemr2586631ywb.316.1655882117218; Wed, 22 Jun 2022 00:15:17 -0700 (PDT) MIME-Version: 1.0 References: <20220621204928.249907-1-sashal@kernel.org> <20220621204928.249907-5-sashal@kernel.org> In-Reply-To: <20220621204928.249907-5-sashal@kernel.org> From: Geert Uytterhoeven Date: Wed, 22 Jun 2022 09:15:06 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH AUTOSEL 5.18 05/22] eeprom: at25: Split reads into chunks and cap write size To: Sasha Levin Cc: Linux Kernel Mailing List , stable , Brad Bishop , Eddie James , Joel Stanley , Greg Kroah-Hartman , Andy Shevchenko , Kees Cook , Christophe Leroy , Ralph Siemsen , Mark Brown Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sasha, On Tue, Jun 21, 2022 at 10:57 PM Sasha Levin wrote: > From: Brad Bishop > > [ Upstream commit 0a35780c755ccec097d15c6b4ff8b246a89f1689 ] > > Make use of spi_max_transfer_size to avoid requesting transfers that are > too large for some spi controllers. > > Signed-off-by: Brad Bishop > Signed-off-by: Eddie James > Signed-off-by: Joel Stanley > Link: https://lore.kernel.org/r/20220524215142.60047-1-eajames@linux.ibm.com > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Sasha Levin Please drop this, as it breaks operation on devices that don't need the split, and may cause a buffer overflow on those that do. https://lore.kernel.org/r/7ae260778d2c08986348ea48ce02ef148100e088.1655817534.git.geert+renesas@glider.be/ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds