| 1700 | } |
| 1701 | |
| 1702 | static void check_whitespace(struct apply_state *state, |
| 1703 | const char *line, |
| 1704 | int len, |
| 1705 | unsigned ws_rule) |
| 1706 | { |
| 1707 | unsigned result = ws_check(line + 1, len - 1, ws_rule); |
| 1708 | |
| 1709 | record_ws_error(state, result, line + 1, len - 2, state->linenr); |
| 1710 | } |
| 1711 | |
| 1712 | /* |
| 1713 | * Check if the patch has context lines with CRLF or |
no test coverage detected