diff for duplicates of <20100806063059.GN9031@bicker> diff --git a/a/1.txt b/N1/1.txt index b330c11..e03b746 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,5 +1,5 @@ "ir_dev->props" can be NULL. We only use raw mode if "ir_dev->props" is -non-NULL and "ir_dev->props->driver_type = RC_DRIVER_IR_RAW". +non-NULL and "ir_dev->props->driver_type == RC_DRIVER_IR_RAW". Signed-off-by: Dan Carpenter <error27@gmail.com> @@ -11,8 +11,8 @@ index 15a0f19..cf97427 100644 IR_dprintk(1, "Registered input device on %s for %s remote%s.\n", driver_name, rc_tab->name, -- ir_dev->props->driver_type = RC_DRIVER_IR_RAW ? " in raw mode" : ""); -+ (ir_dev->props && ir_dev->props->driver_type = RC_DRIVER_IR_RAW) ? +- ir_dev->props->driver_type == RC_DRIVER_IR_RAW ? " in raw mode" : ""); ++ (ir_dev->props && ir_dev->props->driver_type == RC_DRIVER_IR_RAW) ? + " in raw mode" : ""); return 0; diff --git a/a/content_digest b/N1/content_digest index 377d2db..4826940 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <error27@gmail.com>\0" "Subject\0[patch] media: ir-keytable: null dereference in debug code\0" - "Date\0Fri, 06 Aug 2010 06:31:00 +0000\0" + "Date\0Fri, 6 Aug 2010 08:31:00 +0200\0" "To\0Mauro Carvalho Chehab <mchehab@infradead.org>\0" "Cc\0David H\303\244rdeman <david@hardeman.nu>" linux-media@vger.kernel.org @@ -8,7 +8,7 @@ "\00:1\0" "b\0" "\"ir_dev->props\" can be NULL. We only use raw mode if \"ir_dev->props\" is\n" - "non-NULL and \"ir_dev->props->driver_type = RC_DRIVER_IR_RAW\".\n" + "non-NULL and \"ir_dev->props->driver_type == RC_DRIVER_IR_RAW\".\n" "\n" "Signed-off-by: Dan Carpenter <error27@gmail.com>\n" "\n" @@ -20,10 +20,10 @@ " \n" " \tIR_dprintk(1, \"Registered input device on %s for %s remote%s.\\n\",\n" " \t\t driver_name, rc_tab->name,\n" - "-\t\t ir_dev->props->driver_type = RC_DRIVER_IR_RAW ? \" in raw mode\" : \"\");\n" - "+\t\t (ir_dev->props && ir_dev->props->driver_type = RC_DRIVER_IR_RAW) ?\n" + "-\t\t ir_dev->props->driver_type == RC_DRIVER_IR_RAW ? \" in raw mode\" : \"\");\n" + "+\t\t (ir_dev->props && ir_dev->props->driver_type == RC_DRIVER_IR_RAW) ?\n" "+\t\t\t\" in raw mode\" : \"\");\n" " \n" " \treturn 0;" -82b286eed20eb90716a4805c29fe8a146b29c29b37ce8344c811da364cb3d1b8 +260b8dc56bb4dddfb6366b2c8cb7d6bf7d6701cfdc3a4407721d946e443e6519
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.