OSDN Git Service

ipmi: Don't use BMC product/dev ids in the BMC name
authorCorey Minyard <cminyard@mvista.com>
Thu, 7 Sep 2017 13:43:05 +0000 (08:43 -0500)
committerCorey Minyard <cminyard@mvista.com>
Wed, 27 Sep 2017 21:03:45 +0000 (16:03 -0500)
commit68e7e50f195f34d0d539282779cad073d999192b
tree22397f956258a453d58b85174f01dce8134f565d
parentc468f911b73beb39b20f7e5f97a35d41f038b31b
ipmi: Don't use BMC product/dev ids in the BMC name

There are a lot of bad things that a set of BMCs could do that
would really confuse the IPMI driver; it's possible for BMCs with
different GUIDs to have the same product/devid (though that's
not technically legal), which would result in platform device
namespace collisions.  Fixing it would involve either using
the GUID in the BMC name, which resulted in huge names, or
just using an ida for numbering the BMCs.  The latter approach
was chosen to avoid the huge names.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_msghandler.c