All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20120509143942.27521.8595.sendpatchset@w520>

diff --git a/a/1.txt b/N1/1.txt
index 7251f4c..516e0f9 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -53,7 +53,8 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
  config SH_CLK_CPG
 --- 0001/drivers/clocksource/Makefile
 +++ work/drivers/clocksource/Makefile	2012-05-09 22:44:52.000000000 +0900
-@@ -6,6 +6,7 @@ obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC)	+ obj-$(CONFIG_SH_TIMER_CMT)	+= sh_cmt.o
+@@ -6,6 +6,7 @@ obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC)	+=
+ obj-$(CONFIG_SH_TIMER_CMT)	+= sh_cmt.o
  obj-$(CONFIG_SH_TIMER_MTU2)	+= sh_mtu2.o
  obj-$(CONFIG_SH_TIMER_TMU)	+= sh_tmu.o
 +obj-$(CONFIG_EM_TIMER_STI)	+= em_sti.o
@@ -225,7 +226,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
 +	struct em_sti_priv *p = dev_id;
 +
 +	/* Always regprogram timer compare A */
-+	if (p->ced.mode = CLOCK_EVT_MODE_PERIODIC)
++	if (p->ced.mode == CLOCK_EVT_MODE_PERIODIC)
 +		em_sti_update(p);
 +
 +	p->ced.event_handler(&p->ced);
@@ -402,7 +403,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
 +	int irq, ret;
 +
 +	p = kzalloc(sizeof(*p), GFP_KERNEL);
-+	if (p = NULL) {
++	if (p == NULL) {
 +		dev_err(&pdev->dev, "failed to allocate driver data\n");
 +		ret = -ENOMEM;
 +		goto err0;
@@ -427,7 +428,7 @@ Signed-off-by: Magnus Damm <damm@opensource.se>
 +
 +	/* map memory, let base point to the STI instance */
 +	p->base = ioremap_nocache(res->start, resource_size(res));
-+	if (p->base = NULL) {
++	if (p->base == NULL) {
 +		dev_err(&pdev->dev, "failed to remap I/O memory\n");
 +		ret = -ENXIO;
 +		goto err0;
diff --git a/a/content_digest b/N1/content_digest
index 9db15d4..f7c427e 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020120509143926.27521.20342.sendpatchset@w520\0"
  "From\0Magnus Damm <magnus.damm@gmail.com>\0"
  "Subject\0[PATCH 02/03] clocksource: em_sti: Emma Mobile STI driver V2\0"
- "Date\0Wed, 09 May 2012 14:39:42 +0000\0"
+ "Date\0Wed, 09 May 2012 23:39:42 +0900\0"
  "To\0linux-kernel@vger.kernel.org\0"
  "Cc\0arnd@arndb.de"
   horms@verge.net.au
@@ -70,7 +70,8 @@
  " config SH_CLK_CPG\n"
  "--- 0001/drivers/clocksource/Makefile\n"
  "+++ work/drivers/clocksource/Makefile\t2012-05-09 22:44:52.000000000 +0900\n"
- "@@ -6,6 +6,7 @@ obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC)\t+ obj-$(CONFIG_SH_TIMER_CMT)\t+= sh_cmt.o\n"
+ "@@ -6,6 +6,7 @@ obj-$(CONFIG_CS5535_CLOCK_EVENT_SRC)\t+=\n"
+ " obj-$(CONFIG_SH_TIMER_CMT)\t+= sh_cmt.o\n"
  " obj-$(CONFIG_SH_TIMER_MTU2)\t+= sh_mtu2.o\n"
  " obj-$(CONFIG_SH_TIMER_TMU)\t+= sh_tmu.o\n"
  "+obj-$(CONFIG_EM_TIMER_STI)\t+= em_sti.o\n"
@@ -242,7 +243,7 @@
  "+\tstruct em_sti_priv *p = dev_id;\n"
  "+\n"
  "+\t/* Always regprogram timer compare A */\n"
- "+\tif (p->ced.mode = CLOCK_EVT_MODE_PERIODIC)\n"
+ "+\tif (p->ced.mode == CLOCK_EVT_MODE_PERIODIC)\n"
  "+\t\tem_sti_update(p);\n"
  "+\n"
  "+\tp->ced.event_handler(&p->ced);\n"
@@ -419,7 +420,7 @@
  "+\tint irq, ret;\n"
  "+\n"
  "+\tp = kzalloc(sizeof(*p), GFP_KERNEL);\n"
- "+\tif (p = NULL) {\n"
+ "+\tif (p == NULL) {\n"
  "+\t\tdev_err(&pdev->dev, \"failed to allocate driver data\\n\");\n"
  "+\t\tret = -ENOMEM;\n"
  "+\t\tgoto err0;\n"
@@ -444,7 +445,7 @@
  "+\n"
  "+\t/* map memory, let base point to the STI instance */\n"
  "+\tp->base = ioremap_nocache(res->start, resource_size(res));\n"
- "+\tif (p->base = NULL) {\n"
+ "+\tif (p->base == NULL) {\n"
  "+\t\tdev_err(&pdev->dev, \"failed to remap I/O memory\\n\");\n"
  "+\t\tret = -ENXIO;\n"
  "+\t\tgoto err0;\n"
@@ -499,4 +500,4 @@
  "+MODULE_DESCRIPTION(\"Renesas Emma Mobile STI Timer Driver\");\n"
  "+MODULE_LICENSE(\"GPL v2\");"
 
-e76cc9a6f591932b1cc9451ee1c8cc347da6862e0fa14c7e5d25af95b2efd1e6
+221a2850aa920a6a3760ac5af2387e870e329b39edcb74a261fc9724835dcb9e

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.