Print this page
MFV: illumos-gate@7ec6bfcf4280022b95218f03e28fb50217e4b6ff
9902 mac: mac_soft_ring_poll should use size_t
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Dan McDonald <danmcd@joyent.com>
Reviewed by: Ryan Zezeski <ryan.zeseski@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Toomas Soome <tsoome@me.com>

@@ -395,11 +395,11 @@
 } mac_notify_type_t;
 
 typedef void            (*mac_notify_t)(void *, mac_notify_type_t);
 typedef void            (*mac_rx_t)(void *, mac_resource_handle_t, mblk_t *,
                             boolean_t);
-typedef mblk_t          *(*mac_receive_t)(void *, int);
+typedef mblk_t          *(*mac_receive_t)(void *, size_t);
 
 /*
  * MAC resource types
  */
 typedef enum {