Re: [PATCH] regulator: Add rdev_crit() macro

From: Mark Brown
Date: Thu Jun 09 2011 - 15:09:35 EST


On Thu, Jun 09, 2011 at 11:37:15AM -0700, Joe Perches wrote:

> > +#define rdev_crit(rdev, fmt, ...) \
> > + pr_crit("%s: " fmt, rdev_get_name(rdev), ##__VA_ARGS__)

> If that's really necessary, shouldn't rdev_emerg, rdev_alert
> and rdev_notice be added as well?

Yes, but I don't habitually use those when adding random trace during
debug so don't care myself.
--
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/