Files
shredos.x86_64/package
Etienne Carriere 34d743be7a package/optee-client: fix build warnings from 3.4.0
Add two patches over current optee-client 3.4.0 to fix build issues
reported by some toolchains with traces like:

  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function 'TEEC_InitializeContext':
  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c:149:28: error: 'gen_caps' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    ctx->reg_mem = gen_caps & TEE_GEN_CAP_REG_MEM;
                            ^
  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function ‘TEEC_OpenSession’:
  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c:507:8: error: cast increases required alignment of target type [-Werror=cast-align]
    arg = (struct tee_ioctl_open_session_arg *)buf;
          ^
  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c: In function ‘TEEC_InvokeCommand’:
  /path/to/build/optee-client-3.4.0/libteec/src/tee_client_api.c:581:8: error: cast increases required alignment of target type [-Werror=cast-align]
    arg = (struct tee_ioctl_invoke_arg *)buf;

The optee-client patches have been in the OP-TEE project [1] & [2] and
will be available in the OP-TEE next release planned 3.5.0.

Fixes [3], [4], [5] and other failing builds reported by autobuild tests.

[1] 9dbc61b376
[2] 16c8f54878
[3] http://autobuild.buildroot.net/results/80e78cb0bb955e912d6cbe5b30c9b024e7efc802
[4] http://autobuild.buildroot.net/results/a42c19897d03beb02fde2e7e6da25532be27d5ca
[5] http://autobuild.buildroot.net/results/827087f91b7481d1c3effd615172bbee86317962

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-03-26 18:50:18 +01:00
..
2019-01-12 18:08:12 +01:00
2019-01-28 10:00:22 +01:00
2019-03-12 22:06:54 +01:00
2019-01-15 21:21:25 +01:00
2019-03-07 22:59:34 +01:00
2019-02-11 22:26:48 +01:00
2019-03-11 22:19:20 +01:00
2019-01-23 10:51:03 +01:00
2019-03-07 21:38:07 +01:00
2019-03-24 09:04:57 +01:00
2019-01-20 21:54:22 +01:00
2019-03-17 12:00:26 +01:00
2019-03-15 22:27:09 +01:00
2019-02-06 16:31:06 +01:00
2019-01-15 21:15:50 +01:00
2019-03-17 17:39:22 +01:00
2019-02-05 17:14:01 +01:00
2019-03-05 10:59:38 +01:00
2019-01-22 21:48:43 +01:00
2019-03-17 11:11:16 +01:00
2019-01-28 22:05:52 +01:00
2019-01-28 23:01:09 +01:00
2019-03-14 21:30:09 +01:00
2019-03-12 22:20:05 +01:00
2019-01-15 21:21:48 +01:00
2019-01-28 22:06:07 +01:00
2019-03-14 21:53:44 +01:00
2019-01-16 16:01:59 +01:00
2019-01-20 20:15:32 +01:00
2019-02-11 21:37:42 +01:00
2019-02-12 20:08:45 +01:00
2019-03-12 21:36:11 +01:00
2019-01-22 21:49:58 +01:00
2019-02-12 11:17:09 +01:00
2019-03-24 09:06:19 +01:00
2019-01-13 21:51:02 +01:00
2019-01-16 20:00:19 +01:00
2019-02-21 00:17:22 +01:00
2019-01-14 21:51:33 +01:00
2019-02-04 09:54:46 +01:00
2019-03-09 21:46:08 +01:00
2019-02-05 13:17:44 +01:00
2019-01-17 15:51:24 +01:00
2019-03-14 21:33:21 +01:00
2019-01-20 20:17:43 +01:00
2019-02-04 18:05:01 +01:00
2019-02-02 22:33:06 +01:00
2019-01-27 11:22:35 +01:00
2019-01-27 11:23:16 +01:00
2019-02-06 15:41:12 +01:00
2019-01-27 20:11:49 +01:00
2019-03-05 10:59:38 +01:00
2019-02-06 15:43:47 +01:00
2019-03-18 22:07:03 +01:00
2019-03-24 09:03:37 +01:00
2019-02-06 15:44:24 +01:00
2019-03-24 23:01:08 +01:00
2019-01-12 18:26:20 +01:00
2019-02-06 12:56:26 +01:00
2019-03-17 11:05:45 +01:00
2019-01-16 13:09:21 +01:00
2019-01-20 21:03:48 +01:00
2019-01-24 10:46:12 +01:00
2019-02-24 21:23:41 +01:00
2019-02-04 16:35:51 +01:00
2019-01-27 10:44:12 +01:00
2019-01-14 22:05:56 +01:00
2019-01-15 21:22:02 +01:00
2019-02-11 09:12:15 +01:00
2019-03-09 15:13:19 +01:00
2019-03-17 12:15:44 +01:00
2019-03-12 23:09:32 +01:00
2019-01-27 20:13:20 +01:00
2019-03-25 22:06:17 +01:00