> Introduce the scsi_get_vpd_buf() and scsi_update_vpd_page() > functions. The only functional change in this patch is that if > updating page 0x80 fails that it is attempted to update page 0x83. > > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx> > Acked-by: Hannes Reinecke <hare@xxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Johannes Thumshirn <jthumshirn@xxxxxxx> > Cc: Shane M Seymour <shane.seymour@xxxxxxx> > --- > drivers/scsi/scsi.c | 144 ++++++++++++++++++++++++-------------------------- > -- > 1 file changed, 66 insertions(+), 78 deletions(-) Reviewed-by: Shane Seymour <shane.seymour@xxxxxxx>