* New ide-proc warning from min/max changes
@ 2004-04-28 8:42 Meelis Roos
0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2004-04-28 8:42 UTC (permalink / raw)
To: Linux Kernel list
This is 2.6.6-rc3 on a sparc64. This warning has appeared with the
IDE min/max changes:
CC drivers/ide/ide-proc.o
drivers/ide/ide-proc.c: In function `proc_ide_write_settings':
drivers/ide/ide-proc.c:511: warning: comparison of distinct pointer types lacks a cast
The line in question is
len = min(p - start, MAX_LEN);
where p and start are pointers of type "const char *" and MAX_LEN is
#define MAX_LEN 30
--
Meelis Roos (mroos@linux.ee)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-28 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28 8:42 New ide-proc warning from min/max changes Meelis Roos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®