Re: [PATCH v3 08/13] USB: ch341: add support for RTS/CTS flow control

From: kbuild test robot
Date: Sun Apr 10 2016 - 21:29:21 EST


Hi Grigori,

[auto build test ERROR on v4.5-rc7]
[cannot apply to usb/usb-testing usb-serial/usb-next v4.6-rc2 v4.6-rc1 next-20160408]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Grigori-Goronzy/USB-ch341-fix-error-handling-on-resume/20160411-075235
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

Note: the linux-review/Grigori-Goronzy/USB-ch341-fix-error-handling-on-resume/20160411-075235 HEAD a1faa3e66e1410087d7b4711181282df9b094024 builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/usb/serial/ch341.c: In function 'ch341_set_termios':
>> drivers/usb/serial/ch341.c:403:6: error: 'cflag' undeclared (first use in this function)
if (cflag & CRTSCTS) {
^
drivers/usb/serial/ch341.c:403:6: note: each undeclared identifier is reported only once for each function it appears in

vim +/cflag +403 drivers/usb/serial/ch341.c

397 priv->line_control &= ~(CH341_BIT_DTR | CH341_BIT_RTS);
398 spin_unlock_irqrestore(&priv->lock, flags);
399 }
400
401 ch341_set_handshake(port->serial->dev, priv->line_control);
402
> 403 if (cflag & CRTSCTS) {
404 r = ch341_control_out(port->serial->dev, CH341_REQ_WRITE_REG,
405 CH341_REG_RTSCTS | ((uint16_t)CH341_REG_RTSCTS << 8),
406 0x0101);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data