[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Indent -ncs arg has no effect in func decl
From: |
Andrey Utkin |
Subject: |
Indent -ncs arg has no effect in func decl |
Date: |
Mon, 28 Dec 2015 13:46:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
-ncs forces no space between cast sign and casting argument. But this
option is not effective in function arguments declaration.
It results with this:
void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int qp,
int width, int height);
checkpatch.pl from Linux kernel scripts doesn't like this:
$ /src/linux-next/scripts/checkpatch.pl -f tw5864.h
ERROR: "foo ** bar" should be "foo **bar"
#272: FILE: tw5864.h:272:
+void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int qp,
ERROR: "foo * bar" should be "foo *bar"
#272: FILE: tw5864.h:272:
+void tw5864_h264_put_stream_header(u8 ** buf, size_t * space_left, int qp,
man gives no clue how to fix this.
signature.asc
Description: OpenPGP digital signature
- Indent -ncs arg has no effect in func decl,
Andrey Utkin <=