On 8/13/18 1:52 AM, Roman Sobanski wrote: > In some scenarios mdadm --detail-platform shows duplicated info about one > of controllers. Block it. > > Signed-off-by: Roman Sobanski <roman.sobanski@xxxxxxxxx> > --- > platform-intel.c | 3 +++ > 1 file changed, 3 insertions(+) Applied! Thanks, Jes > diff --git a/platform-intel.c b/platform-intel.c > index a11101db..04bffc57 100644 > --- a/platform-intel.c > +++ b/platform-intel.c > @@ -371,6 +371,9 @@ static int scan(const void *start, const void *end, const void *data) > if (__le16_to_cpu(ptr->vendorID) != 0x8086) > return 0; > > + if (get_orom_by_device_id(ptr->deviceID)) > + return 0; > + > for (offset = 0; offset < len; offset += 4) { > const void *mem = start + offset; > >