hyperv/ic: Minor style fix.
MFC after: 1 week Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D7743
This commit is contained in:
parent
772b86ba12
commit
9c040f41df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=305279
@ -69,7 +69,7 @@ vmbus_heartbeat_cb(struct vmbus_channel *chan, void *xsc)
|
||||
if (error)
|
||||
return;
|
||||
|
||||
if (dlen < sizeof(struct vmbus_icmsg_hdr)) {
|
||||
if (dlen < sizeof(*hdr)) {
|
||||
device_printf(sc->ic_dev, "invalid data len %d\n", dlen);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user