]> git.proxmox.com Git - mirror_edk2.git/commit
EmbeddedPkg/Lan9118Dxe: Add or fix input parameter checks
authorRonald Cron <ronald.cron@arm.com>
Mon, 27 Oct 2014 10:39:12 +0000 (10:39 +0000)
committeroliviermartin <oliviermartin@Edk2>
Mon, 27 Oct 2014 10:39:12 +0000 (10:39 +0000)
commit0150e14dba3e34ed8e9225fcb6e3d9b30200423c
treeec4236cacfc5ba4afb9ed2fca4337651f3705a6f
parent5521b5cc73e21957023b634cb7f75e415bba0225
EmbeddedPkg/Lan9118Dxe: Add or fix input parameter checks

Add or fix checking of the input parameters of the functions that constitute
the EFI_SIMPLE_NETWORK_PROTOCOL interface provided by the LAN9118 driver.
In case of invalid calls, the returned error codes are now compliant with the
UEFI specificationi and the SCT tests checking for those error codes do not
fail anymore.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16239 6f19259b-4bc3-4df7-8a09-765794883524
EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118Dxe.c