The original patch removed a default: break from the switch, which ignited a warning message regarding an unhandled enum value. This enclosed patch leaves the default case in to suppress the warning. This attached patch is against current scsi-misc-2.6. ObligatoryDisclaimer: Please accept my condolences regarding Outlook's handling of patch attachments. Signed-off-by: Mark Salyzyn <aacraid@xxxxxxxxxxx> drivers/scsi/aacraid/aacraid.h | 5 +- drivers/scsi/aacraid/commsup.c | 96 ++++++++++++++++++++++++++++++++--------- 2 files changed, 79 insertions(+), 22 deletions(-) Sincerely -- Mark Salyzyn > -----Original Message----- > From: Salyzyn, Mark > Sent: Friday, January 11, 2008 11:15 AM > To: 'linux-scsi@xxxxxxxxxxxxxxx' > Subject: [PATCH 1/1] aacraid: respond to enclosure service events > > Feature enhancement. > > Added support to respond to enclosure service events > (controller AIFs) to add, online or offline physical targets > reported to sg. Also added online and offlining of arrays. > Removed an automatic variable definition in a sub block that > hid an earlier definition, determined to be inert as the > sub-block use did not interfere. Bumped the driver versioning > to stamp the addition of this feature. > > This attached patch is against current scsi-misc-2.6 *after* > series of patches from past week are applied, as there is > some overlap on the aacraid.h file. > > ObligatoryDisclaimer: Please accept my condolences regarding > Outlook's handling of patch attachments. > > Signed-off-by: Mark Salyzyn <aacraid@xxxxxxxxxxx> > > drivers/scsi/aacraid/aacraid.h | 5 +- > drivers/scsi/aacraid/commsup.c | 99 > +++++++++++++++++++++++++++++++---------- > 2 files changed, 79 insertions(+), 25 deletions(-) > > Sincerely -- Mark Salyzyn >
Attachment:
aacraid_enclosure2.patch
Description: aacraid_enclosure2.patch