Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dff4e8ad authored by hayeswang's avatar hayeswang Committed by David S. Miller
Browse files

r8152: replace void * with struct r8152 *



Change the type of contex of tx_agg and rx_agg from void * to
staruc r8152 *.

Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 197d439e
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -329,10 +329,12 @@ struct tx_desc {
#define IPV6_CS			(1 << 28) /* Calculate IPv6 checksum */
};

struct r8152;

struct rx_agg {
	struct list_head list;
	struct urb *urb;
	void *context;
	struct r8152 *context;
	void *buffer;
	void *head;
};
@@ -340,7 +342,7 @@ struct rx_agg {
struct tx_agg {
	struct list_head list;
	struct urb *urb;
	void *context;
	struct r8152 *context;
	void *buffer;
	void *head;
	u32 skb_num;