Messages in this thread | | | Subject | Re: [PATCH] Fix ide-disk.c oops caused by hwif == NULL | From | Alan Cox <> | Date | Wed, 10 Aug 2005 15:59:57 +0100 |
| |
On Mer, 2005-08-10 at 06:07 -0700, Christoph Lameter wrote: > Correct. So we need to indeed go back to a version that does check for > NULL that I initially proposed.
No, you need to fix the caller. "hwif_to_node(NULL)" is a nonsense operation rather like strlen(NULL). The caller need to be fixed.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |