If ae is NULL, just print that the controller is unsupported and return,
commitf3ac3f0c6f21def526faac1cb140b5af82586deb
authorSascha Wildner <swildner@dragonflybsd.org>
Tue, 16 Sep 2008 12:39:15 +0000 (16 12:39 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Tue, 16 Sep 2008 12:39:15 +0000 (16 12:39 +0000)
tree59090309ba503824b3772d59b9612508ba7dc7cb
parenta951f6d4edd856d83d02d2d74261ef01d1ee6f29
If ae is NULL, just print that the controller is unsupported and return,
instead of continuing and dereferencing it later.

Found-by: LLVM/Clang Static Analyzer
sys/dev/raid/amr/amr.c