Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Dan Ehrenberg <dehrenberg@chromium.org>, fio@vger.kernel.org
Cc: gwendal@chromium.org
Subject: Re: [PATCH] Fix mtd valgrind warning
Date: Thu, 16 Apr 2015 16:36:12 -0600	[thread overview]
Message-ID: <5530395C.5090504@kernel.dk> (raw)
In-Reply-To: <1429221039-31612-1-git-send-email-dehrenberg@chromium.org>

On 04/16/2015 03:50 PM, Dan Ehrenberg wrote:
> strlen seems to operate in 32-bit chunks, but libmtd sometimes allocates
> strings without that much padding. This patch adds something extra to
> a string allocation so that the mtd ioengine is clean with respect
> to valgrind memory access checks.

Thanks, pretty nasty, but after all a small price to pay to get valgrind 
to shut up...

-- 
Jens Axboe



      reply	other threads:[~2015-04-16 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16 21:50 [PATCH] Fix mtd valgrind warning Dan Ehrenberg
2015-04-16 22:36 ` Jens Axboe [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=5530395C.5090504@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=dehrenberg@chromium.org \
    --cc=fio@vger.kernel.org \
    --cc=gwendal@chromium.org \
    /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