linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "René Bolldorf" <xsecute@googlemail.com>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH]drivers/ata/libata-eh.c:1509 unneeded memset()
Date: Wed, 30 Dec 2009 23:59:50 +0100	[thread overview]
Message-ID: <4B3BDB66.6000008@googlemail.com> (raw)

We don't need this ;-).

Best regards René Bolldorf & a happy new year in advance.

--- ./drivers/ata/libata-eh.c  2009-12-30 23:44:05.578988545 +0100
+++ ./drivers/ata/libata-eh.c  2009-12-30 23:45:06.991987607 +0100
@@ -1505,9 +1505,6 @@ static unsigned int atapi_eh_request_sen

  	DPRINTK("ATAPI request sense\n");

-	/* FIXME: is this needed? */
-	memset(sense_buf, 0, SCSI_SENSE_BUFFERSIZE);
-
  	/* initialize sense_buf with the error register,
  	 * for the case where they are -not- overwritten
  	 */

             reply	other threads:[~2009-12-30 22:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 22:59 René Bolldorf [this message]
2010-01-07 19:15 ` [PATCH]drivers/ata/libata-eh.c:1509 unneeded memset() Jeff Garzik
2010-01-07 20:34   ` René Bolldorf
2010-01-07 20:40     ` René Bolldorf
2010-01-08 11:30       ` Rolf Eike Beer
2010-01-08 15:28   ` James Bottomley
2010-01-08 20:47     ` René Bolldorf
     [not found] <5543f88f1001111129u362be554kd97027d977b5dff3@mail.gmail.com>
2010-01-11 19:41 ` Marc Bejarano
2010-01-11 20:18   ` René Bolldorf
2010-01-12  0:55     ` Marc Bejarano

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=4B3BDB66.6000008@googlemail.com \
    --to=xsecute@googlemail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).