On 12/28/2015 01:46 PM, Andrey Utkin wrote:
> -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.
>

Sorry for noise, found about -T.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
bug-indent mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-indent

Reply via email to