Subject: + staging-rtl8187se-convert-__list_for_each-use-to-list_for_each.patch added to -mm tree To: davej@xxxxxxxxxx,gregkh@xxxxxxxxxxxxxxxxxxx,yamanetoshi@xxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Tue, 18 Jun 2013 13:37:15 -0700 The patch titled Subject: staging/rtl8187se: Convert __list_for_each use to list_for_each has been added to the -mm tree. Its filename is staging-rtl8187se-convert-__list_for_each-use-to-list_for_each.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dave Jones <davej@xxxxxxxxxx> Subject: staging/rtl8187se: Convert __list_for_each use to list_for_each Also remove commented out list manipulation Signed-off-by: Dave Jones <davej@xxxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Cc: YAMANE Toshiaki <yamanetoshi@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c~staging-rtl8187se-convert-__list_for_each-use-to-list_for_each drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c --- a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c~staging-rtl8187se-convert-__list_for_each-use-to-list_for_each +++ a/drivers/staging/rtl8187se/ieee80211/ieee80211_rx.c @@ -399,8 +399,8 @@ static int is_duplicate_packet(struct ie struct ieee_ibss_seq *entry = NULL; u8 *mac = header->addr2; int index = mac[5] % IEEE_IBSS_MAC_HASH_SIZE; - //for (pos = (head)->next; pos != (head); pos = pos->next) - __list_for_each(p, &ieee->ibss_mac_hash[index]) { + + list_for_each(p, &ieee->ibss_mac_hash[index]) { entry = list_entry(p, struct ieee_ibss_seq, list); if (!memcmp(entry->mac, mac, ETH_ALEN)) break; _ Patches currently in -mm which might be from davej@xxxxxxxxxx are linux-next.patch radeon-remove-redundant-__list_for_each-definition-from-mkregtablec.patch ipw2200-convert-__list_for_each-usage-to-list_for_each.patch staging-rtl8192u-remove-commented-out-__list_for_each-usage.patch staging-rtl8187se-convert-__list_for_each-use-to-list_for_each.patch sctp-convert-__list_for_each-use-to-list_for_each.patch sound-usb-misc-ua101c-convert-__list_for_each-usage-to-list_for_each.patch list-remove-__list_for_each.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html