On Thu, Jul 25, 2019 at 11:04:11AM +0200, Thomas Huth wrote: > On 25/07/2019 05.23, Oleinik, Alexander wrote: > > @@ -379,9 +399,18 @@ static void socket_sendf(int fd, const char *fmt, > > va_list ap) > > { > > gchar *str = g_strdup_vprintf(fmt, ap); > > size_t size = strlen(str); > > +#ifdef CONFIG_FUZZ > > + // Directly call qtest_process_inbuf in the qtest server > > + GString *gstr = g_string_new_len(str, size); > > + /* printf(">>> %s",gstr->str); */ > > Please check your patches with scripts/checkpatch.pl - e.g. don't use > TABs for indentation like in the above line, don't use //-comments, etc.
You can set up a git-hook with checkpatch.pl to scan code automatically before each commit: http://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html Stefan
signature.asc
Description: PGP signature