lkml.org 
[lkml]   [2011]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [GIT PULL] First round of SCSI updates for 2.6.38 merge window
From
On Thu, Mar 17, 2011 at 21:10, James Bottomley <James.Bottomley@suse.de> wrote:
> This represents the usual round of driver updates (fcoe, lpfc, qla2xxx,
> zfcp, bnx2i, mpt2sas, megaraid_sas, iscsi, cxgbi and hpsa) plus one new
> driver (bnx2fc) and as a bonus we move libsas from the old libata eh to
> the new one paving the way for junking the old one (once we can get ipr
> converted).

> Martin K. Petersen (3):
>      sd: Logical Block Provisioning update

drivers/scsi/sd.c: In function ‘sd_prep_fn’:
drivers/scsi/sd.c:544: warning: ‘ret’ may be used uninitialized in this function

Actually it's in scsi_setup_discard_cmnd(), which is inlined:

int ret;

[...]

switch (sdkp->provisioning_mode) {

[...]

default:
goto out;
}

[...]

ret = scsi_setup_blk_pc_cmnd(sdp, rq);
rq->buffer = page_address(page);

out:
if (ret != BLKPREP_OK) {

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-03-19 21:03    [W:0.053 / U:7.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site