提交 e45c2379 编写于 作者: A Andrea della Porta 提交者: Greg Kroah-Hartman

staging: comedi: drivers: s626.c - fixed checkpatch issue about data type

staging: comedi: drivers: s626.c - fixed the following checkpatch issue:
CHECK: Prefer kernel type 's16' over 'int16_t'
#1939: FILE: drivers/staging/comedi/drivers/s626.c:1939:
+               int16_t dacdata = (int16_t)data[i];
Signed-off-by: NAndrea della Porta <sfaragnaus@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1bb90b68
......@@ -1936,7 +1936,7 @@ static int s626_ao_insn_write(struct comedi_device *dev,
int i;
for (i = 0; i < insn->n; i++) {
int16_t dacdata = (int16_t)data[i];
s16 dacdata = (s16)data[i];
int ret;
dacdata -= (0x1fff);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册