diff
+ struct build_info {
+     char cmd;
+     char build_label[];
+ };
- char cmd, build_label[QCA_FW_BUILD_VER_LEN];
+ struct build_info *info = malloc(sizeof(struct build_info) + QCA_FW_BUILD_VER_LEN);
+ if (info == NULL) {
+     return -ENOMEM;
+ }
