misra-c: Add 'U' to unsigned variable assignments in subsys/
Add 'U' to a value when assigning it to an unsigned variable. MISRA-C rule 7.2 Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
parent
079f55d519
commit
b97db52de7
139 changed files with 1198 additions and 1198 deletions
|
@ -492,7 +492,7 @@ static void http_received(struct net_app_ctx *app_ctx,
|
|||
{
|
||||
struct http_ctx *ctx = user_data;
|
||||
size_t start = ctx->http.rsp.data_len;
|
||||
u16_t len = 0;
|
||||
u16_t len = 0U;
|
||||
struct net_buf *frag, *prev_frag = NULL;
|
||||
size_t recv_len;
|
||||
size_t pkt_len;
|
||||
|
@ -544,7 +544,7 @@ static void http_received(struct net_app_ctx *app_ctx,
|
|||
len);
|
||||
|
||||
ctx->http.rsp.data_len = 0;
|
||||
len = 0;
|
||||
len = 0U;
|
||||
start = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue