change occurrence of hlist_for_each/hlist_entry to hlist_for_each_entry as it
combines the previous two macros
Signed-off-by: Thomas Hisch <[EMAIL PROTECTED]>
---
net/core/dev.c | 17 ++---
1 files changed, 6 insertions(+), 11 deletions(-)
diff --git a/net/core/dev.c b/ne
add format specifier %d for uid in ecryptfs_printk
Signed-off-by: Thomas Hisch <[EMAIL PROTECTED]>
---
fs/ecryptfs/messaging.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/ecryptfs/messaging.c b/fs/ecryptfs/messaging.c
index 47d7e7b..1674d33 100644
--
remove unneeded call to skb_queue_len (skb_dequeue already checks queuelen) and
replace a sizeof() by a Netlink Macro
Signed-off-by: Thomas Hisch <[EMAIL PROTECTED]>
---
sorry, my previous version of this patch didn't conform to the Codingstyle
document.
now everything should be
remove unneeded call to skb_queue_len (skb_dequeue already checks queuelen) and
replace a sizeof() by a Netlink Macro
Signed-off-by: Thomas Hisch <[EMAIL PROTECTED]>
---
net/ipv4/inet_diag.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/inet_diag.c
card = (struct lcs_card *)
> - ((char *) channel - offsetof(struct lcs_card, read));
> + card = container_of(channel, struct lcs_card, write);
the last argument in container_of should be read instead of write.
> offset = 0;
> while (lcs_hdr->offset != 0)
5 matches
Mail list logo