[PATCH v3 1/2] staging: vchi: change type 'int32_t' to 's32'

2018-11-13 Thread andrealmeid
From: André Almeida As one can see in a typedef at linux/types.h:103, s32 and int32_t are both a 32 bits signed integer. s32 is preferred because it is defined by the kernel maintainers and it prevents portability issues. Changed to meet checkpatch criteria. Signed-off-by: André Almeida ---

[PATCH v3 2/2] stagin: vchi: Add SPDX-License-Identifier

2018-11-13 Thread andrealmeid
From: André Almeida Using multiple license representation as shown here [1]. [1] https://spdx.org/sites/cpstandard/files/pages/files/using_spdx_license_list_short_identifiers.pdf Signed-off-by: André Almeida --- Thanks for the feedback Stefan. I've tried to make the code similar to your

[PATCH v3 0/2] Staging: vchi: Add license id and change int type

2018-11-13 Thread andrealmeid
From: André Almeida Fix the following checkpatch issues: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 CHECK: Prefer kernel type 's32' over 'int32_t' Changes in v3: - Remove license text from header file - Modify commit message Changes in v2: - Splits commits in a patch

[PATCH v2 0/2] Staging: vchi: Add license id and change int type

2018-11-12 Thread andrealmeid
From: André Almeida Fix the following checkpatch issues: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 CHECK: Prefer kernel type 's32' over 'int32_t' Changes in v2: - Splits commits in a patch set - Fixes licenses in SPDX identifier - Adds a more descriptive commit

[PATCH v2 2/2] stagin: vchi: Add SPDX-License-Identifier

2018-11-12 Thread andrealmeid
From: André Almeida As pointed by Stefan Wahren in v1, this file is dual licensed as GPL-2 and BSD-3. Using multiple license representation as shown here [1]. [1] https://spdx.org/sites/cpstandard/files/pages/files/using_spdx_license_list_short_identifiers.pdf Signed-off-by: André Almeida

[PATCH v2 1/2] staging: vchi: change type 'int32_t' to 's32'

2018-11-12 Thread andrealmeid
From: André Almeida As one can see in a typedef at linux/types.h:103, s32 and int32_t are both a 32 bits signed integer. s32 is preferred because it is defined by the kernel maintainers and it prevents portability issues. Changed to meet checkpatch criteria. Signed-off-by: André Almeida ---

[PATCH] Staging: vchi: Add license id and change int type

2018-11-06 Thread andrealmeid
From: André Almeida Fix the following checkpatch issues: WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 CHECK: Prefer kernel type 's32' over 'int32_t' Signed-off-by: André Almeida --- Hello! This is my first patch to Linux Kernel. Let me know any feedback ---