Cleanup MIN/MAX Macro usage in eicon/istream.c
PATCH 4/5 Cleanup MIN/MAX Macro usage in eicon/istream.c
hi,
This patch changes eicon/istream.c from MIN/MAX usage to min/max.
Signed-of-by Eric Sesterhenn <[email protected]>
drivers/isdn/hardware/eicon/istream.c renamed from drivers/isdn/hardware/eicon/istream.c.orig +2 -2
@@ -92,7 +92,7 @@ int diva_istream_write (void* context,return (-1 );/* was not able to write */ break ;/* only part of message was written */ } - to_write =MIN (length,DIVA_DFIFO_DATA_SZ ); + to_write =min (length,DIVA_DFIFO_DATA_SZ );if (to_write) { a->ram_out_buffer (a,#ifdef PLATFORM_GT_32BIT
@@ -176,7 +176,7 @@ int diva_istream_read (void* context,return (-1 );/* was not able to read */ break ; } - to_read =MIN (max_length, tmp[1 ]); + to_read =min (max_length, (int )tmp[1 ]);if (to_read) { a->ram_in_buffer(a,#ifdef PLATFORM_GT_32BIT
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors