diff options
| author | pete-pjb <[email protected]> | 2022-12-02 10:00:19 +0000 |
|---|---|---|
| committer | pete-pjb <[email protected]> | 2022-12-02 10:00:19 +0000 |
| commit | 3816869fce15509fd43eb5a6d14de76478f86cf1 (patch) | |
| tree | aa5ad1d9a69501d293f0bbb2adefbd603674433f /src/portable | |
| parent | c31b95c91652f58b8b991a5481c9f7c37be7f09a (diff) | |
Some reverts and changes after discussion.
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/ehci/ehci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/portable/ehci/ehci.c b/src/portable/ehci/ehci.c index 76ba2a921..0af8c3b2d 100644 --- a/src/portable/ehci/ehci.c +++ b/src/portable/ehci/ehci.c @@ -193,7 +193,8 @@ static void list_remove_qhd_by_addr(ehci_link_t* list_head, uint8_t dev_addr) { // TODO check type for ISO iTD and siTD // TODO Suppress cast-align warning - #pragma GCC diagnostic push + if( prev == NULL ) break; + #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-align" ehci_qhd_t* qhd = (ehci_qhd_t*) list_next(prev); #pragma GCC diagnostic pop |
