Loading drivers/staging/dgap/dgap.c +27 −28 Original line number Diff line number Diff line Loading @@ -931,8 +931,8 @@ static int dgap_parsefile(char **in) brd->u.board.conc1++; conc_type = dgap_gettok(in); if (conc_type == 0 || (conc_type != CX && conc_type != EPC)) { if (conc_type == 0 || (conc_type != CX && conc_type != EPC)) { pr_err("failed to set a type of concentratros"); return -1; } Loading Loading @@ -972,8 +972,8 @@ static int dgap_parsefile(char **in) brd->u.board.module1++; module_type = dgap_gettok(in); if (module_type == 0 || (module_type != PORTS && module_type != MODEM)) { if (module_type == 0 || (module_type != PORTS && module_type != MODEM)) { pr_err("failed to set a type of module"); return -1; } Loading Loading @@ -1351,8 +1351,7 @@ static int dgap_remap(struct board_t *brd) if (!request_mem_region(brd->membase, 0x200000, "dgap")) return -ENOMEM; if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000, "dgap")) if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000, "dgap")) goto err_req_mem; brd->re_map_membase = ioremap(brd->membase, 0x200000); Loading Loading
drivers/staging/dgap/dgap.c +27 −28 Original line number Diff line number Diff line Loading @@ -931,8 +931,8 @@ static int dgap_parsefile(char **in) brd->u.board.conc1++; conc_type = dgap_gettok(in); if (conc_type == 0 || (conc_type != CX && conc_type != EPC)) { if (conc_type == 0 || (conc_type != CX && conc_type != EPC)) { pr_err("failed to set a type of concentratros"); return -1; } Loading Loading @@ -972,8 +972,8 @@ static int dgap_parsefile(char **in) brd->u.board.module1++; module_type = dgap_gettok(in); if (module_type == 0 || (module_type != PORTS && module_type != MODEM)) { if (module_type == 0 || (module_type != PORTS && module_type != MODEM)) { pr_err("failed to set a type of module"); return -1; } Loading Loading @@ -1351,8 +1351,7 @@ static int dgap_remap(struct board_t *brd) if (!request_mem_region(brd->membase, 0x200000, "dgap")) return -ENOMEM; if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000, "dgap")) if (!request_mem_region(brd->membase + PCI_IO_OFFSET, 0x200000, "dgap")) goto err_req_mem; brd->re_map_membase = ioremap(brd->membase, 0x200000); Loading