ssa_signal_handler.c: Add missing 'break' statement

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa_path_record.c: Use 0 rather than -1 as host port number in search in index

The same function is used for search in index
for both cases: host and switch. The port number is not relevant
in case of host and a caller may pass any constant.
'-1' alerts static code analysis rule for using negative values as
index in an array.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
ssa_path_record_data.c: Use 'unsigned int' rather than 'int' in find_port_index

The function uses port number as index in an lookup table. The index
should be a positive value.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Close ssa lock file

File locks should be released on first close by the locking process of
any file descriptor for the file.

Signed-off-by: Sasha Kotchubievsky <sashakot@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>