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:
parent
26bf32af70
commit
a8b8b85469
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue