[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <584f5db4-4126-9203-56f3-5358eeac44c0@linux.intel.com>
Date: Wed, 8 Dec 2021 14:21:08 +0200
From: Jarkko Nikula <jarkko.nikula@...ux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Wolfram Sang <wsa@...nel.org>, linux-kernel@...r.kernel.org,
linux-i2c@...r.kernel.org
Cc: Mika Westerberg <mika.westerberg@...ux.intel.com>,
Ajay Gupta <ajayg@...dia.com>
Subject: Re: [PATCH v1 04/11] i2c: designware-pci: Convert to use
dev_err_probe()
On 12/7/21 21:21, Andy Shevchenko wrote:
> + if (id->driver_data >= ARRAY_SIZE(dw_pci_controllers))
> + return dev_err_probe(dev, -EINVAL, "invalid driver data %ld\n", id->driver_data);
>
I know checkpatch.pl doesn't complain this but for my taste readability
would be a bit better if error causing id->driver_data is split into
another line.
Jarkko
Powered by blists - more mailing lists