I found out that there are two calls to dev_err with too many
arguments, will patch in next version.
On Wed, 8 Aug 2018 17:27:01 +0200
Marek Beh?n [off-list ref] wrote:
+static void
+moxtet_register_devices_from_topology(struct moxtet *moxtet)
+{
+ struct moxtet_device *dev;
+ int i, ret;
+
+ for (i = 0; i < moxtet->count; ++i) {
+ dev = moxtet_alloc_device(moxtet);
+ if (!dev) {
+ dev_err(moxtet->dev, "Moxtet device %u alloc
error\n",
+ i, moxtet->modules[i]);
here
+ continue;
+ }
+
+ dev->idx = i;
+ dev->id = moxtet->modules[i];
+
+ ret = moxtet_add_device(dev);
+ if (ret && ret != -EBUSY) {
+ dev_err(moxtet->dev,
+ "Moxtet device %u register error:
%i\n", i,
+ moxtet->modules[i], ret);
and here
+ }
+ }
+}