@@ -1665,7 +1665,7 @@ static void __receive_buf(struct tty_struct *tty, const u8 *cp, const u8 *fp,
1665
1665
*/
1666
1666
static size_t
1667
1667
n_tty_receive_buf_common (struct tty_struct * tty , const u8 * cp , const u8 * fp ,
1668
- int count , int flow )
1668
+ int count , bool flow )
1669
1669
{
1670
1670
struct n_tty_data * ldata = tty -> disc_data ;
1671
1671
size_t rcvd = 0 ;
@@ -1748,13 +1748,13 @@ n_tty_receive_buf_common(struct tty_struct *tty, const u8 *cp, const u8 *fp,
1748
1748
static void n_tty_receive_buf (struct tty_struct * tty , const u8 * cp ,
1749
1749
const u8 * fp , size_t count )
1750
1750
{
1751
- n_tty_receive_buf_common (tty , cp , fp , count , 0 );
1751
+ n_tty_receive_buf_common (tty , cp , fp , count , false );
1752
1752
}
1753
1753
1754
1754
static size_t n_tty_receive_buf2 (struct tty_struct * tty , const u8 * cp ,
1755
1755
const u8 * fp , size_t count )
1756
1756
{
1757
- return n_tty_receive_buf_common (tty , cp , fp , count , 1 );
1757
+ return n_tty_receive_buf_common (tty , cp , fp , count , true );
1758
1758
}
1759
1759
1760
1760
/**
0 commit comments