[PATCH 1/3] z85c30.c: Do not process 0 baud and return an error (CID 1399713)

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Mar 14 13:24:48 UTC 2019


On 14/03/2019 14:22, Joel Sherrill wrote:
>     _Assert( baud_number != 0 );
>   
> +  /*
> +   * POSIX says baud rate of zero is a request to hang up or disconnect.
> +   * This is not supported by this driver.
> +   */
> +  _Assert( baud_number != 0 );

Duplicate assert.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list