public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Andrew Morton <akpm@osdl.org>,
	Maximilian Attems <janitor@sternwelten.at>
Cc: linux-kernel@vger.kernel.org
Subject: [patch] 2.6.9-rc1-mm3: char/riscom8.c doesn't compile
Date: Sat, 4 Sep 2004 12:21:16 +0200	[thread overview]
Message-ID: <20040904102116.GM28499@fs.tum.de> (raw)
In-Reply-To: <20040903014811.6247d47d.akpm@osdl.org>

On Fri, Sep 03, 2004 at 01:48:11AM -0700, Andrew Morton wrote:
>...
> Changes since 2.6.9-rc1-mm2:
>...
> +drivers-char-riscom8c-min-max-removal.patch
>...
>  Janitorial things
>...

Doesn't compile:

<--  snip  -->

...
  CC      drivers/char/riscom8.o
drivers/char/riscom8.c:1178: macro `min_t' used with only 2 args
...
make[2]: *** [drivers/char/riscom8.o] Error 1

<--  snip  -->


Trivial fix:


Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

--- linux-2.6.9-rc1-mm3-full/drivers/char/riscom8.c.old	2004-09-04 11:36:08.000000000 +0200
+++ linux-2.6.9-rc1-mm3-full/drivers/char/riscom8.c	2004-09-04 11:36:57.000000000 +0200
@@ -1174,7 +1174,7 @@
 			}
 
 			cli();
-			c = min_t(c, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
+			c = min_t(int, c, min(SERIAL_XMIT_SIZE - port->xmit_cnt - 1,
 					 SERIAL_XMIT_SIZE - port->xmit_head));
 			memcpy(port->xmit_buf + port->xmit_head, tmp_buf, c);
 			port->xmit_head = (port->xmit_head + c) & (SERIAL_XMIT_SIZE-1);

  parent reply	other threads:[~2004-09-04 10:21 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-03  8:48 2.6.9-rc1-mm3 Andrew Morton
2004-09-03  7:43 ` [PATCH] 2.6.9-rc1-mm3 i8042 compilation Bernhard Rosenkraenzer
2004-09-03  9:47   ` Andrew Morton
2004-09-03  9:20 ` 2.6.9-rc1-mm3 Russell King
2004-09-03  9:42 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 12:15   ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-03 12:25     ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 12:48     ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-06 12:55       ` [PATCH 2.6.9-rc1-mm3] [m32r] Change from EXPORT_SYMBOL_NOVERS to EXPORT_SYMBOL Hirokazu Takata
2004-09-06 13:11         ` Sam Ravnborg
2004-09-06 13:55           ` Russell King
2004-09-06 13:52       ` EXPORT_SYMBOL_NOVERS (was: Re: 2.6.9-rc1-mm3) Geert Uytterhoeven
2004-09-06 15:30         ` Zwane Mwaikambo
2004-09-06 19:09           ` [PATCH 0/4] " Geert Uytterhoeven
2004-09-08 14:18             ` Zwane Mwaikambo
2004-09-06 19:09           ` [PATCH 1/4] " Geert Uytterhoeven
2004-09-06 19:09           ` [PATCH 2/4] " Geert Uytterhoeven
2004-09-06 19:10           ` [PATCH 3/4] " Geert Uytterhoeven
2004-09-06 19:10           ` [PATCH 4/4] " Geert Uytterhoeven
2004-09-03  9:54 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-06 12:40   ` [PATCH 2.6.9-rc1-mm3] [m32r] Modify sys_ipc() to remove useless iBCS2 support code Hirokazu Takata
2004-09-06 17:03     ` Christoph Hellwig
2004-09-06 21:02     ` Andrew Morton
2004-09-06 21:08       ` Christoph Hellwig
2004-09-07  8:02     ` Arnd Bergmann
2004-09-03  9:57 ` 2.6.9-rc1-mm3 Christoph Hellwig
2004-09-03 11:08 ` 2.6.9-rc1-mm3 Hirokazu Takata
2004-09-03 12:08 ` 2.6.9-rc1-mm3 Zwane Mwaikambo
2004-09-03 15:15 ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-03 16:27   ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-03 17:20     ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-05 19:59       ` 2.6.9-rc1-mm3 Norberto Bensa
2004-09-05 22:32         ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-05 22:42           ` 2.6.9-rc1-mm3 Nathan Scott
2004-09-03 15:59 ` 2.6.9-rc1-mm3 Peter Osterlund
2004-09-03 16:37   ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-05  8:59     ` 2.6.9-rc1-mm3 Peter Osterlund
2004-09-03 17:23 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 17:51   ` 2.6.9-rc1-mm3 Paulo Marques
2004-09-03 18:02     ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-05 22:33       ` 2.6.9-rc1-mm3 Paulo Marques
2004-09-07 10:54         ` 2.6.9-rc1-mm3 Paulo Marques
2004-09-03 17:56 ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 18:12   ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 18:19     ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 20:33   ` 2.6.9-rc1-mm3 Andrew Morton
2004-09-03 21:15     ` 2.6.9-rc1-mm3 Andre Eisenbach
2004-09-03 17:57 ` 2.6.9-rc1-mm3 (compile stats) John Cherry
2004-09-03 21:53 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-03 22:25 ` 2.6.9-rc1-mm3 William Lee Irwin III
2004-09-04 10:21 ` Adrian Bunk [this message]
2004-09-04 17:52 ` [patch] 2.6.9-rc1-mm3: cdrom/cdu31a.c doesn't compile Adrian Bunk
2004-09-08 22:29 ` 2.6.9-rc1-mm3 Dominik Karall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040904102116.GM28499@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@osdl.org \
    --cc=janitor@sternwelten.at \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox