mirror of https://gitee.com/openkylin/linux.git
staging: greybus: loopback: Fix up some alignment checkpatch issues
Some function prototypes do not match the expected alignment formatting so fix that up so that checkpatch is happy. Cc: "Bryan O'Donoghue" <pure.logic@nexus-software.ie> Cc: Johan Hovold <johan@kernel.org> Cc: greybus-dev@lists.linaro.org Cc: devel@driverdev.osuosl.org Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Alex Elder <elder@kernel.org> Link: https://lore.kernel.org/r/20190825055429.18547-7-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9238238589
commit
9c31973907
|
@ -882,7 +882,7 @@ static int gb_loopback_fn(void *data)
|
|||
gb->type = 0;
|
||||
gb->send_count = 0;
|
||||
sysfs_notify(&gb->dev->kobj, NULL,
|
||||
"iteration_count");
|
||||
"iteration_count");
|
||||
dev_dbg(&bundle->dev, "load test complete\n");
|
||||
} else {
|
||||
dev_dbg(&bundle->dev,
|
||||
|
@ -1054,7 +1054,7 @@ static int gb_loopback_probe(struct gb_bundle *bundle,
|
|||
|
||||
/* Allocate kfifo */
|
||||
if (kfifo_alloc(&gb->kfifo_lat, kfifo_depth * sizeof(u32),
|
||||
GFP_KERNEL)) {
|
||||
GFP_KERNEL)) {
|
||||
retval = -ENOMEM;
|
||||
goto out_conn;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue