Cleanup MIN/MAX Macro usage in eicon/io.c
PATCH 3/5 Cleanup MIN/MAX Macro usage in eicon/io.c
Hi,
This patch changes eicon/di.c from MIN/MAX usage
to min/max.
Signed-of-by Eric Sesterhenn <[email protected]>
drivers/isdn/hardware/eicon/io.c renamed from drivers/isdn/hardware/eicon/io.c.orig +1 -1
@@ -262,7 +262,7 @@ void request(PISDN_ADAPTER IoAdapter, ENcase IDI_SYNC_REQ_XDI_GET_CAPI_PARAMS : {diva_xdi_get_capi_parameters_t prms, *pI = &syncReq->xdi_capi_prms.info;memset (&prms,0x00 ,sizeof (prms)); - prms.structure_length =MIN (sizeof (prms), pI->structure_length); + prms.structure_length =min (sizeof (prms), pI->structure_length);memset (pI,0x00 , pI->structure_length); prms.flag_dynamic_l1_down = (IoAdapter->capi_cfg.cfg_1 & \DIVA_XDI_CAPI_CFG_1_DYNAMIC_L1_ON ) ?1 :0 ;
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors