提交 bd4f3ae1 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] trivial s2io annotations

Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 b5344972
...@@ -7298,7 +7298,7 @@ static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro) ...@@ -7298,7 +7298,7 @@ static void update_L3L4_header(struct s2io_nic *sp, struct lro *lro)
{ {
struct iphdr *ip = lro->iph; struct iphdr *ip = lro->iph;
struct tcphdr *tcp = lro->tcph; struct tcphdr *tcp = lro->tcph;
u16 nchk; __sum16 nchk;
struct stat_block *statinfo = sp->mac_control.stats_info; struct stat_block *statinfo = sp->mac_control.stats_info;
DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__); DBG_PRINT(INFO_DBG,"%s: Been here...\n", __FUNCTION__);
......
...@@ -727,12 +727,12 @@ struct lro { ...@@ -727,12 +727,12 @@ struct lro {
struct iphdr *iph; struct iphdr *iph;
struct tcphdr *tcph; struct tcphdr *tcph;
u32 tcp_next_seq; u32 tcp_next_seq;
u32 tcp_ack; __be32 tcp_ack;
int total_len; int total_len;
int frags_len; int frags_len;
int sg_num; int sg_num;
int in_use; int in_use;
u16 window; __be16 window;
u32 cur_tsval; u32 cur_tsval;
u32 cur_tsecr; u32 cur_tsecr;
u8 saw_ts; u8 saw_ts;
...@@ -1005,7 +1005,7 @@ static int s2io_set_swapper(struct s2io_nic * sp); ...@@ -1005,7 +1005,7 @@ static int s2io_set_swapper(struct s2io_nic * sp);
static void s2io_card_down(struct s2io_nic *nic); static void s2io_card_down(struct s2io_nic *nic);
static int s2io_card_up(struct s2io_nic *nic); static int s2io_card_up(struct s2io_nic *nic);
static int get_xena_rev_id(struct pci_dev *pdev); static int get_xena_rev_id(struct pci_dev *pdev);
static int wait_for_cmd_complete(void *addr, u64 busy_bit); static int wait_for_cmd_complete(void __iomem *addr, u64 busy_bit);
static int s2io_add_isr(struct s2io_nic * sp); static int s2io_add_isr(struct s2io_nic * sp);
static void s2io_rem_isr(struct s2io_nic * sp); static void s2io_rem_isr(struct s2io_nic * sp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册