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-next>] [day] [month] [year] [list]
Message-Id: <200811180154.49395.s.L-H@gmx.de>
Date:	Tue, 18 Nov 2008 01:54:44 +0100
From:	Stefan Lippers-Hollmann <s.L-H@....de>
To:	gregkh@...e.de
Cc:	linux-kernel@...r.kernel.org, lalit.chandivade@...gic.com,
	andrew.vasquez@...gic.com, James.Bottomley@...senpartnership.com,
	stable@...nel.org
Subject: Re: patch scsi-qla2xxx-correct-atmel-flash-part-handling.patch added to 2.6.27-stable tree

Hi

On Montag, 17. November 2008, gregkh@...e.de wrote:
> 
> This is a note to let you know that we have just queued up the patch titled
> 
>      Subject: SCSI: qla2xxx: Correct Atmel flash-part handling.
> 
> to the 2.6.27-stable tree.  Its filename is
> 
>      scsi-qla2xxx-correct-atmel-flash-part-handling.patch

This unfortunately breaks the build.

drivers/scsi/qla2xxx/qla_sup.c: In function 'qla2xxx_get_flash_info':
drivers/scsi/qla2xxx/qla_sup.c:628: error: 'scsi_qla_host_t' has no member named 'fdt_odd_index'
make[6]: *** [drivers/scsi/qla2xxx/qla_sup.o] Error 1
make[5]: *** [drivers/scsi/qla2xxx] Error 2
make[4]: *** [drivers/scsi] Error 2

> A git repo of this tree can be found at 
>     http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> 
> 
> From 821b3996001508e872582dcafc7575021f122728 Mon Sep 17 00:00:00 2001
> From: Lalit Chandivade <lalit.chandivade@...gic.com>
> Date: Fri, 24 Oct 2008 15:13:44 -0700
> Subject: SCSI: qla2xxx: Correct Atmel flash-part handling.
> 
> From: Lalit Chandivade <lalit.chandivade@...gic.com>
> 
> commit 821b3996001508e872582dcafc7575021f122728 upstream.
> 
> Use correct block size (4K) for erase command 0x20 for Atmel
> Flash. Use dword addresses for determining sector boundary.
> 
> Signed-off-by: Lalit Chandivade <lalit.chandivade@...gic.com>
> Signed-off-by: Andrew Vasquez <andrew.vasquez@...gic.com>
> Signed-off-by: James Bottomley <James.Bottomley@...senPartnership.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...e.de>
> 
> ---
>  drivers/scsi/qla2xxx/qla_def.h |    1 -
>  drivers/scsi/qla2xxx/qla_sup.c |   19 +++++++------------
>  2 files changed, 7 insertions(+), 13 deletions(-)
> 
> --- a/drivers/scsi/qla2xxx/qla_def.h
> +++ b/drivers/scsi/qla2xxx/qla_def.h
> @@ -2546,7 +2546,6 @@ typedef struct scsi_qla_host {
>  	uint8_t		fcode_revision[16];
>  	uint32_t	fw_revision[4];
>  
> -	uint16_t	fdt_odd_index;
>  	uint32_t	fdt_wrt_disable;
>  	uint32_t	fdt_erase_cmd;
>  	uint32_t	fdt_block_size;


2.6.27.7-rc2:
$ grep -nR -A 3 -B 3 fdt_odd_index drivers/scsi/qla2xxx/
drivers/scsi/qla2xxx/qla_sup.c-628-     DEBUG2(qla_printk(KERN_DEBUG, ha, "Flash[MID]: (0x%x/0x%x) erase=0x%x "
drivers/scsi/qla2xxx/qla_sup.c-629-         "pro=%x upro=%x idx=%d wrtd=0x%x blk=0x%x.\n", man_id, flash_id,
drivers/scsi/qla2xxx/qla_sup.c-630-         ha->fdt_erase_cmd, ha->fdt_protect_sec_cmd,
drivers/scsi/qla2xxx/qla_sup.c:631:         ha->fdt_unprotect_sec_cmd, ha->fdt_odd_index, ha->fdt_wrt_disable,
drivers/scsi/qla2xxx/qla_sup.c-632-         ha->fdt_block_size));
drivers/scsi/qla2xxx/qla_sup.c-633-}
drivers/scsi/qla2xxx/qla_sup.c-634-

Regards
	Stefan Lippers-Hollmann
--
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