Re: [PATCH 2/3] ide: Fix siimage driver accessing beyond array boundary



On Thursday 18 October 2007, Benjamin Herrenschmidt wrote:

On Thu, 2007-10-18 at 16:02 +0400, Sergei Shtylyov wrote:
Benjamin Herrenschmidt wrote:

The siimage use an incorrect construct to access the other drive
of a pair, causing it to access beyond an array boundary on non-0
interfaces. This fixes it by using the new ide_get_paired_drive()
hepler instead.

Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Please update the driver version in the driver's heading comment. Otherwise

Acked-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>

I don't believe much in driver versions in tree... the kernel version is
what matter... Bart, what's your stance there ?

Similar opinion here but sometimes driver versions are useful, i.e.:

* during development or while debugging regressions to distinguish
real changes (which have to update driver version) from the core
changes and trivial cleanups (which don't do this)

* bugreports with partial dmesg info (hmm, doesn't matter for IDE
currently since we don't print this info - patches are welcomed)

* maybe some other that I forgot :)

I updated siimage driver version in separate commit
(no need to do it for cs5535 since it lacks driver version).

Thanks,
Bart
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Be a JLEDI or Cause Road Rage
    ... the matter at hand, you see. ... If it did, that was the MFFY's decision and his responsibility, ... Please explain how someone's tailgating forces another driver ... to attempt an unsafe lane change. ...
    (rec.autos.driving)
  • Re: Best encryption sw for home laptop
    ... longer need admin rights to remount it or mount another (the driver ... What you said you're repeating below, ... No need to keep its integrity. ... It doesn't matter. ...
    (alt.computer.security)
  • Re: CPS protest yesterday.
    ... It's no-one's business to bring it about, any more than it is anyone's legitimate business to encourage more driving or more drivers. ... It's a matter of free choice in an ominally free society. ... The driver, Sabrina Harman (24 of Apprentice Way, Clarence Road, ...
    (uk.rec.cycling)
  • Re: SMIDSY advert cheaters...
    ... you only make yourself look stupid, which rather irritatingly weakens the ... ludicrous, if nobody contests them, they will get believed, no matter ... Like the one about speeding being the worst thing you can possibly do as ... wasn't a bad driver and should be allowed to keep driving... ...
    (uk.rec.driving)
  • Re: SMIDSY advert cheaters...
    ... you only make yourself look stupid, which rather irritatingly weakens the ... ludicrous, if nobody contests them, they will get believed, no matter ... Like the one about speeding being the worst thing you can possibly do as ... wasn't a bad driver and should be allowed to keep driving... ...
    (uk.rec.driving)