mirror of
https://github.com/ipxe/ipxe.git
synced 2026-05-12 15:56:18 +02:00
[qib7322] Use correct length for memset()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
6ee15cbac3
commit
ae915aa5cc
@ -675,7 +675,7 @@ static int qib7322_init_send ( struct qib7322 *qib7322 ) {
|
||||
rc = -ENOMEM;
|
||||
goto err_alloc_sendbufavail;
|
||||
}
|
||||
memset ( qib7322->sendbufavail, 0, sizeof ( qib7322->sendbufavail ) );
|
||||
memset ( qib7322->sendbufavail, 0, sizeof ( *qib7322->sendbufavail ) );
|
||||
|
||||
/* Program SendBufAvailAddr into the hardware */
|
||||
memset ( &sendbufavailaddr, 0, sizeof ( sendbufavailaddr ) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user