diff --git a/.gitignore b/.gitignore index ef6440d..743cdd5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /ledmon-0.40.tar.bz2 /ledmon-0.72.tar.bz2 /ledmon-0.74.tar.bz2 +/ledmon-0.75.tar.gz diff --git a/ledmon-0.74-coverity-fixes.patch b/ledmon-0.74-coverity-fixes.patch deleted file mode 100644 index 36a580f..0000000 --- a/ledmon-0.74-coverity-fixes.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- ledmon-0.74/src/scsi.c.orig 2012-08-09 15:57:15.000000000 +0200 -+++ ledmon-0.74/src/scsi.c 2012-11-15 10:12:43.387078547 +0100 -@@ -436,11 +436,11 @@ static void print_page10(struct ses_page - printf("\tDevice type: 0x%01x\n", ((sas[0] & 0x70) >> 4)); - printf("\tSMP Initiator Port: 0x%01x\n", ((sas[2] & 2)>>1)); - printf("\tSTP Initiator Port: 0x%01x\n", ((sas[2] & 4)>>2)); -- printf("\tSSP Initiator Port: 0x%01x\n", ((sas[2] & 8)>>4)); -+ printf("\tSSP Initiator Port: 0x%01x\n", ((sas[2] & 8)>>3)); - printf("\tSATA DEVICE: 0x%01x\n", (sas[3] & 1)); - printf("\tSMP Target Port: 0x%01x\n", ((sas[3] & 2)>>1)); - printf("\tSTP Target Port: 0x%01x\n", ((sas[3] & 4)>>2)); -- printf("\tSSP Target Port: 0x%01x\n", ((sas[3] & 8)>>4)); -+ printf("\tSSP Target Port: 0x%01x\n", ((sas[3] & 8)>>3)); - printf("\tSATA Port Selector: 0x%01x\n", ((sas[3] & 0X80)>>7)); - printf("\tAttached SAS Address: 0x%02x%02x%02x%02x%02x%02x%02x%02x\n", - sas[4], sas[5], sas[6], sas[7], sas[8], sas[9], sas[10], sas[11]); -@@ -597,7 +597,7 @@ static char* get_drive_end_dev(const cha - if (!s) { - return NULL; - } -- p = calloc(s-c, sizeof(*p)); -+ p = calloc(s-c+1, sizeof(*p)); - if (!p) - return NULL; - diff --git a/sources b/sources index cca816a..dd2b92b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4e34588e249c2f6e7713a2447be85db0 ledmon-0.74.tar.bz2 +6743aa8fe0c5d9890e8f643d6916b1ce ledmon-0.75.tar.gz