]> git.openfabrics.org - ~emulex/infiniband.git/commit
Staging: ipack: check the device ID space CRC.
authorJens Taprogge <jens.taprogge@taprogge.org>
Tue, 11 Sep 2012 11:35:03 +0000 (13:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 19:18:11 +0000 (12:18 -0700)
commita92caeb8e1189f190ac13bb5e745446b25b09ae5
treeecdc6c7dccfa29ed9703aa5d4226b63f16d7d9f9
parent8a3ae16e60fb78e0bf062c243ffba5575b64a412
Staging: ipack: check the device ID space CRC.

We check the CRC and store the result of the check in struct ipac_device.
A warning is emitted if the check fails.  However we leave it to the
IPack module device to refuse to initialize due to a bad CRC.  I have seen
otherwise good modules with bad CRCs.

Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ipack/ipack.c
drivers/staging/ipack/ipack.h