All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20090109032729.6e4cd5fd@i1501.lan.towertech.it>

diff --git a/a/1.txt b/N1/1.txt
index aa298a7..51fb8a9 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -119,14 +119,15 @@ dann frazier <dannf@hp.com> wrote:
 > +#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.  */
@@ -277,7 +278,7 @@ dann frazier <dannf@hp.com> wrote:
 > +
 > +	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)
@@ -327,7 +328,7 @@ dann frazier <dannf@hp.com> wrote:
 > +
 > +	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 7e70615..486fdb1 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,7 +1,7 @@
  "ref\020090109005644.GH32403@ldl.fc.hp.com\0"
  "From\0Alessandro Zummo <alessandro.zummo@towertech.it>\0"
  "Subject\0Re: [rtc-linux] [PATCH] add rtc platform driver for EFI\0"
- "Date\0Fri, 09 Jan 2009 02:27:29 +0000\0"
+ "Date\0Fri, 9 Jan 2009 03:27:29 +0100\0"
  "To\0rtc-linux@googlegroups.com\0"
  "Cc\0dannf@hp.com"
   linux-ia64@vger.kernel.org
@@ -129,14 +129,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"
@@ -287,7 +288,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"
@@ -337,7 +338,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"
@@ -430,4 +431,4 @@
  "\n"
    http://www.towertech.it
 
-d579b7bc5cbd7e330ec071a652c24582e0018302eb69a01641a087565f91cd8f
+34d419e958fcb661d8c25697ca55b157c5d1187973e06e181f9fa9aa4b510952

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.