summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5b6220)
raw | patch | inline | side by side (parent: d5b6220)
author | vwan@ti.com <vwan@ti.com> | |
Fri, 13 Feb 2015 00:02:26 +0000 (16:02 -0800) | ||
committer | Robert Tivy <rtivy@ti.com> | |
Fri, 13 Feb 2015 18:58:49 +0000 (10:58 -0800) |
Signed-off-by: VW <vwan@ti.com>
qnx/src/ipc3x_dev/ti/syslink/samples/hlos/rpmsg-rpc-stress/usr/tests_rpc_stress.c | patch | blob | history |
diff --git a/qnx/src/ipc3x_dev/ti/syslink/samples/hlos/rpmsg-rpc-stress/usr/tests_rpc_stress.c b/qnx/src/ipc3x_dev/ti/syslink/samples/hlos/rpmsg-rpc-stress/usr/tests_rpc_stress.c
index 02d2ff3e34282dbc7150e158b8a96c86ac037553..98dbd332db3e402ae36191a654d81d86f7839018 100644 (file)
/*
/*
- * Copyright (c) 2013, Texas Instruments Incorporated
+ * Copyright (c) 2013-2015, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
void * test_select_thread (void * arg)
{
void * test_select_thread (void * arg)
{
- int fd;
+ int fd = 0;
int reply_len;
char return_buf[512] = {0};
struct rppc_function_return *rtn_packet =
int reply_len;
char return_buf[512] = {0};
struct rppc_function_return *rtn_packet =
void * test_read_thread (void * arg)
{
void * test_read_thread (void * arg)
{
- int fd = (int)arg;
- int reply_len;
- char return_buf[512] = {0};
+ int fd = (int)arg;
+ int reply_len;
+ char return_buf[512] = {0};
struct rppc_function_return *rtn_packet =
(struct rppc_function_return *)return_buf;
struct rppc_function_return *rtn_packet =
(struct rppc_function_return *)return_buf;
- int packet_id;
+ int packet_id = 0;
while (runTest) {
if (recv_cmd(fd, 512, (char *)rtn_packet, &reply_len)) {
while (runTest) {
if (recv_cmd(fd, 512, (char *)rtn_packet, &reply_len)) {
int main(int argc, char *argv[])
{
int main(int argc, char *argv[])
{
- int ret;
+ int ret = 0;
int test_id = -1;
int core_id = 0;
int num_comps = 1;
int test_id = -1;
int core_id = 0;
int num_comps = 1;