Re: [PATCH] Don't assume VMD sysfs path ends with a disk entry

Started by Jes Sorensen on Jan 4, 2017

open the first message on its own page

Message details and related content
Tomasz Majchrzak [off-list ref] writes:
From: Alexey Obitotskiy <redacted>

From: Alexey Obitotskiy <redacted>
Date: Wed, 4 Jan 2017 11:31:23 +0100

When VMD is enabled but no drive is attached to the PCIe port, mdadm
crashes trying to parse the path. Skip entry if valid path has not been
returned. Do it early to avoid unnecessary memory allocation.

Signed-off-by: Alexey Obitotskiy <redacted>
Signed-off-by: Tomasz Majchrzak <redacted>
---
 platform-intel.c | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)
Applied!

I had to fixup the commit message since your message had a mail header
from Alaexy as well.

Thanks,
Jes
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help