Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/simple: pass a char for reading from shutdown_rd_fd #19094

Merged
merged 1 commit into from Nov 24, 2017

Conversation

tchaikov
Copy link
Contributor

Fixes the coverity issue:

CID 1395794 (#1 of 1): Wrong size argument (SIZEOF_MISMATCH)
suspicious_sizeof: Passing argument &ch of type int * and
argument 1UL to function read is suspicious because sizeof
(int) /4/ is expected.

Signed-off-by: Kefu Chai kchai@redhat.com

Fixes the coverity issue:

> CID 1395794 (#1 of 1): Wrong size argument (SIZEOF_MISMATCH)
> suspicious_sizeof: Passing argument &ch of type int * and
> argument 1UL to function read is suspicious because sizeof
> (int) /*4*/ is expected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

retest this please

@tchaikov tchaikov merged commit 60e8cd6 into ceph:master Nov 24, 2017
@tchaikov tchaikov deleted the wip-coverity-cid-1395794 branch November 24, 2017 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants