profiler: Fix compilation errors

Fix below compilation error with clang
warning: attribute 'packed' is ignored, place it after
"union" to apply attribute to type  declaration
[-Wignored-attributes].

Change-Id: Id8cebb3d60b61d8d2168b8f8d77c79107edb4953
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
This commit is contained in:
Swetha Chikkaboraiah 2020-06-09 10:58:46 +05:30 committed by Gerrit - the friendly Code Review server
parent 26bf32af70
commit a8b8b85469

View file

@ -82,11 +82,11 @@ struct tz_bw_svc_resp {
enum tz_bw_svc_err status;
} __packed;
__packed union tz_bw_svc_req {
union tz_bw_svc_req {
struct tz_bw_svc_start_req *start_req;
struct tz_bw_svc_get_req *get_req;
struct tz_bw_svc_stop_req *stop_req;
};
} __packed;
struct tz_bw_svc_buf {
union tz_bw_svc_req bwreq;