Messages in this thread | | | Date | Wed, 11 Dec 2013 00:16:58 +0200 (EET) | From | Ивайло Димитров <> | Subject | Re: [PATCH v2 01/16] wl1251: fix scan behaviour while not associated |
| |
>-------- Оригинално писмо -------- >От: Pali Rohár >Относно: Re: [PATCH v2 01/16] wl1251: fix scan behaviour while not associated >До: Kalle Valo , Pavel Machek >Изпратено на: Вторник, 2013, Декември 10 19:08:44 EET > > >On Tuesday 10 December 2013 16:41:04 Kalle Valo wrote: >> Pavel Machek writes: >> > ssids can have \0s in them... and what is worse, they may >> > not be 0 terminated AFAICT. >> > >> > Potential solution is at >> > http://www.spinics.net/lists/linux-wireless/msg98640.html . >> >> I just use print_hex_dump_bytes() to print SSIDs. > >Ok and has kernel printf modifier for size_t? > >-- >Pali Rohár >pali.rohar@gmail.com >
If I read lib/vsprintf.c correctly, you can use 'z'
Regards, Ivo
PS: Please use my gmail address when cc-ing me, LKML really hates my abv dot bg account :)
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |