Re: [PATCH v3] printk: Have printk() never buffer its data

From: Joe Perches
Date: Mon Jul 09 2012 - 19:40:59 EST


On Mon, 2012-07-09 at 16:32 -0700, Joe Perches wrote:
> Then you've changed semantics and I think you need to
> fix it.
>
> A dev_<level> call is not guaranteed to be a complete
> message.
>
> There are dev_<level> and netdev_<level> calls
> followed by pr_cont.
>
> Maybe these could be fixed up and then they could be
> always integral. There don't look to be too many.
>
> This may be most (all?) of them:

Nah, there's a bunch more:

$ git grep -E -A10 "\b(netdev|dev)_(info|warn|notice|err|alert|emerg|crit)" drivers | \
grep -B10 -E "\bprintk\s*\(\s*(KERN_CONT|)\s*\""

All of them could be fixed up though.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/