The SockFreeFoo() callback function for NetbufFromExt() has to match the
NET_VECTOR_EXT_FREE prototype, which takes a (VOID*) as callback argument
(Arg). EFI_EVENT has nothing to do with NET_VECTOR_EXT_FREE. Fix the
SockFreeFoo() parameter list.
This change is a no-op in practice.
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
/**\r
User provided callback function for NetbufFromExt.\r
\r
- @param[in] Event The Event this notify function registered to, ignored.\r
+ @param[in] Arg The Arg parameter forwarded by NetbufFromExt(). Ignored.\r
\r
**/\r
VOID\r
EFIAPI\r
SockFreeFoo (\r
- IN EFI_EVENT Event\r
+ IN VOID *Arg\r
)\r
{\r
return;\r