lkml.org 
[lkml]   [2014]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3.12 13/72] floppy: bail out in open() if drive is not responding to block0 read
On Thu, 3 Jul 2014, Olaf Hering wrote:

> > From: Jiri Kosina <jkosina@suse.cz>
>
> > commit 7b7b68bba5ef23734c35ffb0d8d82079ed604d33 upstream.
>
> > +static void floppy_rb0_cb(struct bio *bio, int err)
> > {
> > - complete((struct completion *)bio->bi_private);
> > + struct rb0_cbdata *cbdata = (struct rb0_cbdata *)bio->bi_private;
> > + int drive = cbdata->drive;
> > +
> > + if (err) {
> > + pr_info("floppy: error %d while reading block 0", err);
>
> This change lacks a newline...

Fixed by 1c65df3d7 in Linus' tree.

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2014-07-04 23:41    [W:0.108 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site