Found another bug with cciss_vol_status - if there is a "gap" in the list of reported physical drives (for example a drive that has gone offline), then "cciss_vol_status" seems to stop printing drives at that entry... You can see that if you enable the debugging printout at the end of "do_report_luns()" and then compare the number of printed drives in "check_ctlr_physical_drives()" - it stops at the first "gap" due to the call to "bmic_next_phy_disk()" failing. Ah well, I'll see if I can fix that...
Please find enclosed a patch for cciss_vol_status.c v1.12 that fixes a couple of bugs: Incorrect usage of "&&" (logical-and) instead of "&" (bitwise-and) Writing 1 byte outside of char array Use "%%" instead of "%" in printf() And some formatting fixes
Please find enclosed a patch for cciss_vol_stats.c v1.12 that fixes a couple of bugs: Incorrect usage of "&&" (logical-and) instead of "&" (bitwise-and) Writing 1 byte outside of char array Use "%%" instead of "%" in printf() And some formatting fixes