Commit bf470875 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix sign handling bugs in aacraid

From: Ravikiran G Thirumalai <kiran@in.ibm.com>

As we'll be checking `status' for errors, it had better not be unsigned.
parent 550fef0d
...@@ -229,7 +229,8 @@ static char *aac_get_status_string(u32 status); ...@@ -229,7 +229,8 @@ static char *aac_get_status_string(u32 status);
int aac_get_containers(struct aac_dev *dev) int aac_get_containers(struct aac_dev *dev)
{ {
struct fsa_scsi_hba *fsa_dev_ptr; struct fsa_scsi_hba *fsa_dev_ptr;
u32 index, status = 0; u32 index;
int status = 0;
struct aac_query_mount *dinfo; struct aac_query_mount *dinfo;
struct aac_mount *dresp; struct aac_mount *dresp;
struct fib * fibptr; struct fib * fibptr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment