linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Karen Dombroski <karen.dombroski@marsbioimaging.com>
Cc: Michal Simek <michal.simek@xilinx.com>,
	linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] spi: spi-zynq-qspi: fix stack violation bug
Date: Fri, 4 Dec 2020 17:50:54 +0000	[thread overview]
Message-ID: <20201204175054.GD4558@sirena.org.uk> (raw)
In-Reply-To: <CAArsxNtnCuALXLHLETo5w_EbjrRJdSSte7Xa3nEnVcVw+hV=sQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

On Fri, Dec 04, 2020 at 10:13:19PM +1300, Karen Dombroski wrote:
> When the number of bytes for the op is greater than one, the read could
> run off the end of the function stack and cause a crash.

This doesn't apply against current code, please check and resend:

Applying: spi: spi-zynq-qspi: fix stack violation bug
Using index info to reconstruct a base tree...
error: patch failed: drivers/spi/spi-zynq-qspi.c:528
error: drivers/spi/spi-zynq-qspi.c: patch does not apply
error: Did you hand edit your patch?
It does not apply to blobs recorded in its index.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2020-12-04 17:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-04  9:13 [PATCH] spi: spi-zynq-qspi: fix stack violation bug Karen Dombroski
2020-12-04 17:50 ` Mark Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201204175054.GD4558@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=karen.dombroski@marsbioimaging.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).