Re: [PATCH] Staging: anrdroid: sync.c: fixed all checkpatch errorsand warnings

From: Joe Perches
Date: Wed Jun 05 2013 - 19:14:11 EST


On Wed, 2013-06-05 at 23:23 +0300, Aldo Iljazi wrote:
> diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
[]
> @@ -893,13 +892,13 @@ static void sync_print_obj(struct seq_file *s, struct sync_timeline *obj)
> if (obj->ops->timeline_value_str) {
> char value[64];
> obj->ops->timeline_value_str(obj, value, sizeof(value));
> - seq_printf(s, ": %s", value);
> + seq_puts(s, ": %s", value);

This is wrong and shouldn't compile without warning.

Is this an over aggressive conversion or did checkpatch
really complain on this line?


--
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/