diff for duplicates of <4C55472E.6000307@ru.mvista.com> diff --git a/a/1.txt b/N1/1.txt index 949c205..1564c11 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ Kulikov Vasiliy wrote: > +static int create_proc_file(void) > { > - proc_create(proc_filename, 0, NULL, &proc_ops); -> + return (proc_create(proc_filename, 0, NULL, &proc_ops) = NULL); +> + return (proc_create(proc_filename, 0, NULL, &proc_ops) == NULL); Parens not needed around the *return* expression. diff --git a/a/content_digest b/N1/content_digest index 03c1dd6..322aec7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01280597965-8525-1-git-send-email-segooon@gmail.com\0" "From\0Sergei Shtylyov <sshtylyov@mvista.com>\0" "Subject\0Re: [PATCH 5/7] usb: omap_udc: check return value of proc_create()\0" - "Date\0Sun, 01 Aug 2010 10:06:38 +0000\0" + "Date\0Sun, 01 Aug 2010 14:06:38 +0400\0" "To\0Kulikov Vasiliy <segooon@gmail.com>\0" "Cc\0kernel-janitors@vger.kernel.org" David Brownell <dbrownell@users.sourceforge.net> @@ -32,10 +32,10 @@ "> +static int create_proc_file(void)\n" "> {\n" "> -\tproc_create(proc_filename, 0, NULL, &proc_ops);\n" - "> +\treturn (proc_create(proc_filename, 0, NULL, &proc_ops) = NULL);\n" + "> +\treturn (proc_create(proc_filename, 0, NULL, &proc_ops) == NULL);\n" "\n" " Parens not needed around the *return* expression.\n" "\n" WBR, Sergei -6d9f2722b8c350396204cdda8652c5330e5387da87ffaee8da186dd736eb9668 +d7eb14a5787c8c208ab054446448ab5aa39f9d71485ae9242f0e446e83a85c0e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.