Created
August 31, 2012 13:22
-
-
Save sp3c73r2038/3552607 to your computer and use it in GitHub Desktop.
patching drivers/scsi/lpfc/lpfc_scsi.c for kernel 3.4.9 gentoo workaround with -Werror while compile WITH CONFIG_LPFC_SCSI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/src/linux/drivers/scsi/lpfc/lpfc_scsi.c 2012-05-21 06:29:13.000000000 +0800 | |
+++ lpfc_scsi.c 2012-08-31 21:12:33.619966584 +0800 | |
@@ -1897,7 +1897,6 @@ | |
dma_addr_t physaddr; | |
int i = 0, num_bde = 0, status; | |
int datadir = sc->sc_data_direction; | |
- uint32_t rc; | |
uint32_t checking = 1; | |
uint32_t reftag; | |
unsigned blksize; | |
@@ -2034,7 +2033,6 @@ | |
int datadir = sc->sc_data_direction; | |
unsigned char pgdone = 0, alldone = 0; | |
unsigned blksize; | |
- uint32_t rc; | |
uint32_t checking = 1; | |
uint32_t reftag; | |
uint8_t txop, rxop; | |
@@ -2253,7 +2251,6 @@ | |
uint32_t reftag; | |
unsigned blksize; | |
uint8_t txop, rxop; | |
- uint32_t rc; | |
uint32_t checking = 1; | |
uint32_t dma_len; | |
uint32_t dma_offset = 0; | |
@@ -2383,7 +2380,6 @@ | |
uint32_t reftag; | |
uint8_t txop, rxop; | |
uint32_t dma_len; | |
- uint32_t rc; | |
uint32_t checking = 1; | |
uint32_t dma_offset = 0; | |
int num_sge = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here is how to use it.