Skip to content

Commit

Permalink
[SCSI] advansys: Make advansys_board_found a little more readable
Browse files Browse the repository at this point in the history
 - Put all the error cleanup at the end of the function and goto the
   appropriate label
 - Split advansys_wide_init_chip out of advansys_board_found
 - Split advansys_wide_free_mem out of advansys_board_found.  Use it
   from advansys_release
 - Use GFP_KERNEL, not GFP_ATOMIC, when allocating memory during
   initialisation
 - Eliminate lots of PROC_FS ifdefs by removing the ifdefs around the prtbuf
   struct member

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent 605fe59 commit b2c16f5
Showing 1 changed file with 158 additions and 236 deletions.
Loading

0 comments on commit b2c16f5

Please sign in to comment.