Skip to content

Instantly share code, notes, and snippets.

@GustavoARSilva
Created April 29, 2020 23:10
Show Gist options
  • Select an option

  • Save GustavoARSilva/35ade2d0867c3747865d5781fe8ec898 to your computer and use it in GitHub Desktop.

Select an option

Save GustavoARSilva/35ade2d0867c3747865d5781fe8ec898 to your computer and use it in GitHub Desktop.
diff --git a/net/ceph/auth_none.h b/net/ceph/auth_none.h
index 4158f064302e..3c68c0ee3dab 100644
--- a/net/ceph/auth_none.h
+++ b/net/ceph/auth_none.h
@@ -16,7 +16,7 @@ struct ceph_none_authorizer {
struct ceph_authorizer base;
char buf[128];
int buf_len;
- char reply_buf[0];
+ char reply_buf[];
};
struct ceph_auth_none_info {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment