Re: [patch v1 1/2] mfd: Add Mellanox regmap core driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed 2017-07-26 13:28:20, Jiri Pirko wrote:
> Wed, Jul 26, 2017 at 01:18:46PM CEST, pavel@xxxxxx wrote:
> >Hi!
> >
> 
> [...]
> 
> 
> >
> >> +static void
> >> +mlxreg_core_work_helper(struct mlxreg_core_priv_data *priv,
> >> +			struct mlxreg_core_item *item, u8 is_inverse,
> >> +			u16 off, u32 mask, u32 *cache)
> >> +{
> >> +	struct mlxreg_core_data *data;
> >> +	u32 asserted, regval, bit;
> >> +	int ret;
> >> +
> >> +	/*
> >> +	 * Validate if item related to received signal type is valid.
> >> +	 * It should never happen, excepted the situation when some
> >> +	 * piece of hardware is broken. In such situation just produce
> >> +	 * error message and return. Caller must continue to handle the
> >> +	 * signals from other devices if any.
> >> +	 */
> >> +	if (unlikely(!item)) {
> >> +		dev_err(priv->dev, "False signal is received: register at offset 0x%02x, mask 0x%02x.\n",
> >> +			off, mask);
> >
> >Slightly too long line.
> 
> That is totally ok to have it like that for printables though. Actually,
> wraping the text in half would be wrong.

Wrapping the text would be wrong, yes.

Nothing prevents you from moving text at separate line... or rewording
it to be shorter.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux