lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 3 Jul 2014 12:12:33 +0200
From:	Olaf Hering <olaf@...fle.de>
To:	Jiri Slaby <jslaby@...e.cz>
Cc:	linux-kernel@...r.kernel.org, Jiri Kosina <jkosina@...e.cz>
Subject: Re: [PATCH 3.12 13/72] floppy: bail out in open() if drive is not
 responding to block0 read

On Fri, Apr 18, Jiri Slaby wrote:

> From: Jiri Kosina <jkosina@...e.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...

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ