All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20090109213404.GC31548@ldl.fc.hp.com>

diff --git a/a/1.txt b/N1/1.txt
index a16ba23..51d7237 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -129,14 +129,15 @@ correct?
 > > +#define EFI_RTC_EPOCH		1998
 > > +
 > > +#define is_leap(year) \
-> > +	((year) % 4 = 0 && ((year) % 100 != 0 || (year) % 400 = 0))
+> > +	((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
 > > +
 > > +struct efi_rtc {
 > > +	struct rtc_device *rtc;
 > > +	spinlock_t lock;
 > > +};
 > > +
-> > +static const unsigned short int __mon_yday[2][13] > > +{
+> > +static const unsigned short int __mon_yday[2][13] =
+> > +{
 > > +	/* Normal years.  */
 > > +	{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },
 > > +	/* Leap years.  */
@@ -293,7 +294,7 @@ fixed
 > > +
 > > +	printk(KERN_WARNING "write status is %d\n", (int)status);
 > > +
-> > +	return status = EFI_SUCCESS ? 0 : -EINVAL;
+> > +	return status == EFI_SUCCESS ? 0 : -EINVAL;
 > > +}
 > > +
 > > +static int efi_read_time(struct device *dev, struct rtc_time *tm)
@@ -345,7 +346,7 @@ fixed
 > > +
 > > +	unlock_kernel();
 > > +
-> > +	return status = EFI_SUCCESS ? 0 : -EINVAL;
+> > +	return status == EFI_SUCCESS ? 0 : -EINVAL;
 > > +}
 > > +
 > > +static const struct rtc_class_ops efi_rtc_ops = {
diff --git a/a/content_digest b/N1/content_digest
index 2f84870..717c6b0 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -2,7 +2,7 @@
  "ref\020090109032729.6e4cd5fd@i1501.lan.towertech.it\0"
  "From\0dann frazier <dannf@dannf.org>\0"
  "Subject\0Re: [rtc-linux] [PATCH] add rtc platform driver for EFI\0"
- "Date\0Fri, 09 Jan 2009 21:34:05 +0000\0"
+ "Date\0Fri, 9 Jan 2009 14:34:05 -0700\0"
  "To\0Alessandro Zummo <alessandro.zummo@towertech.it>\0"
  "Cc\0rtc-linux@googlegroups.com"
   linux-ia64@vger.kernel.org
@@ -140,14 +140,15 @@
  "> > +#define EFI_RTC_EPOCH\t\t1998\n"
  "> > +\n"
  "> > +#define is_leap(year) \\\n"
- "> > +\t((year) % 4 = 0 && ((year) % 100 != 0 || (year) % 400 = 0))\n"
+ "> > +\t((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))\n"
  "> > +\n"
  "> > +struct efi_rtc {\n"
  "> > +\tstruct rtc_device *rtc;\n"
  "> > +\tspinlock_t lock;\n"
  "> > +};\n"
  "> > +\n"
- "> > +static const unsigned short int __mon_yday[2][13] > > +{\n"
+ "> > +static const unsigned short int __mon_yday[2][13] =\n"
+ "> > +{\n"
  "> > +\t/* Normal years.  */\n"
  "> > +\t{ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 },\n"
  "> > +\t/* Leap years.  */\n"
@@ -304,7 +305,7 @@
  "> > +\n"
  "> > +\tprintk(KERN_WARNING \"write status is %d\\n\", (int)status);\n"
  "> > +\n"
- "> > +\treturn status = EFI_SUCCESS ? 0 : -EINVAL;\n"
+ "> > +\treturn status == EFI_SUCCESS ? 0 : -EINVAL;\n"
  "> > +}\n"
  "> > +\n"
  "> > +static int efi_read_time(struct device *dev, struct rtc_time *tm)\n"
@@ -356,7 +357,7 @@
  "> > +\n"
  "> > +\tunlock_kernel();\n"
  "> > +\n"
- "> > +\treturn status = EFI_SUCCESS ? 0 : -EINVAL;\n"
+ "> > +\treturn status == EFI_SUCCESS ? 0 : -EINVAL;\n"
  "> > +}\n"
  "> > +\n"
  "> > +static const struct rtc_class_ops efi_rtc_ops = {\n"
@@ -435,4 +436,4 @@
  "-- \n"
  dann frazier
 
-a978456c814325484180b654175414813eb892fc0ffde79d5647caa9272cf322
+6dcf3d440715815829881f20d7f30f56fcd48da6d3ab58c9d67019ba26df0047

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.