Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2243853pxa; Mon, 24 Aug 2020 09:00:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyC7yI6sAaMIpkcYwn7/qTzsk5qe5tnZF9juVg+fmsEjLPsMsaGTj3Mehn/snhpncywrY/t X-Received: by 2002:a17:906:4704:: with SMTP id y4mr3562321ejq.81.1598284837214; Mon, 24 Aug 2020 09:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598284837; cv=none; d=google.com; s=arc-20160816; b=G1ZgWFca6t3RDtW4Wyq7JwaMIX+Ha6clWQlVa+qr5ilSI56k7xnLQI3npyFp2PxYAj 1GO1haER2Xp4isRFblv3hXwx0r4UPEG2wKeE/OQ2fOcBfwgWipMstOk10muyeV6lSwLL M8srSmm41j2Hgso07ySphwy8keBOOGPZypcYvOT69vRiI8QY39Kr8ZtFaeHuBYWYN3rf S/pk+IXRi9J864KB59d9r6gR4jv8vttMqzXEi/RmFOjJ/B1scdEJy4Lu7JMlVbhjsFBr vHMVhSF8p4kdqLYTfYwyoL3TshsLoFjLs59YPbxe16rw1pXuqaqVRB0LnAgSH9+Mtx4k 4kRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:to:from:dkim-signature; bh=fCzAEFoNxTMcYQRLguSpKfSAmcJ+G/uo5JjO3IGZMcE=; b=ovPonIgSz4YMSOwgGnL1cn8sHBFE1FRtAS6YEcG1k6S7z3PNAXwP0dKAhu55QDTGKY vmgQbnXRlFokG1rcTvUnSXqUgrprjzg2qYfuZFj+S8muLLVyHZhz8kcd9d/0GhUQgcjD azn3W1+4bJOBq84Fxzve43xSfjy4zC9rXWlSSthnjDz/5907uor7ZgxrqdfomIyGGXW7 7ZZ+l9i2p1GCW4GBtIQ6Vj+zqYfNPs+kmU8PVTUVqKKw4Zwn++PfV+VgIl+3nKlpz1YK SmA06d60iDZpA3A78/Kx6ZGYjR5yM1u9DBJf+1nFvUyrhcC2hSlkrBqWLFKbMn6ZxcZj AStA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b=RxgbM58I; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t22si7156840ejy.433.2020.08.24.09.00.01; Mon, 24 Aug 2020 09:00:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rambus.com header.s=mimecast20161209 header.b=RxgbM58I; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726666AbgHXP77 (ORCPT + 99 others); Mon, 24 Aug 2020 11:59:59 -0400 Received: from us-smtp-delivery-148.mimecast.com ([63.128.21.148]:20275 "EHLO us-smtp-delivery-148.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726374AbgHXP7y (ORCPT ); Mon, 24 Aug 2020 11:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rambus.com; s=mimecast20161209; t=1598284790; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fCzAEFoNxTMcYQRLguSpKfSAmcJ+G/uo5JjO3IGZMcE=; b=RxgbM58IoH3Ne0AdUQPbtjtPAClQ6853WMp2QnNHlKSrVX+5yjDm1VVBETFyQ5Ryq7+n8R iOihSsA8G75/c6mrD0OsWbSsUeSMqPs3NZONRAF0jkbe4dmR43m4AMb9UEHwXmufVK2dRd /5LOtVmnA0oZt6Th72H6q3KUo/Fenis= Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02lp2059.outbound.protection.outlook.com [104.47.37.59]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-458-N1ae9NXrPMyIpgXE7g_Ktw-1; Mon, 24 Aug 2020 11:59:49 -0400 X-MC-Unique: N1ae9NXrPMyIpgXE7g_Ktw-1 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com (2603:10b6:910:8a::27) by CY1PR04MB2362.namprd04.prod.outlook.com (2a01:111:e400:c61b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.26; Mon, 24 Aug 2020 15:59:46 +0000 Received: from CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::e563:74ca:b05f:e468]) by CY4PR0401MB3652.namprd04.prod.outlook.com ([fe80::e563:74ca:b05f:e468%7]) with mapi id 15.20.3305.026; Mon, 24 Aug 2020 15:59:46 +0000 From: "Van Leeuwen, Pascal" To: Herbert Xu , Ryder Lee , Linux Crypto Mailing List Subject: RE: [PATCH] crypto: mediatek - Fix endianness bugs and sparse warnings Thread-Topic: [PATCH] crypto: mediatek - Fix endianness bugs and sparse warnings Thread-Index: AQHWd5AR0o1LYqVK3UaxKOQj0YrgMalHblLA Date: Mon, 24 Aug 2020 15:59:46 +0000 Message-ID: References: <20200821075204.GA20426@gondor.apana.org.au> In-Reply-To: <20200821075204.GA20426@gondor.apana.org.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [159.100.118.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 519a3100-f46e-4c15-b6ed-08d84846b91f x-ms-traffictypediagnostic: CY1PR04MB2362: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Zi4nIrx9uvz0Nlwk35Q+7S1H9rrBbpRQpiHxmesvDtknT0XQmPAuesktxGeU89qzr08jx/AkwIxm3YAkkCow74i68X7jdgixKR3Tf2tHzKak47fG1pNqBVFZfKAApFGyU+N2NRpwYynEG73OZ1iDS3Wd3tORhoduUJpFdLT5gvwqQbbtXi3dwlNPlvIO6nZAghUXnxd0AzoL8zxDf4z5nlQNaYdc5j9rFyHeYc0bBEBtfdDQbsSod4AOj8LHvubuG361FjNVXvVvagTUAmdQGNg3WjG9hqDzDIY+OJqxU6bZBvRA9RLw7Q9r5QDqV2UdfEbkoVrLRSNIiAM0tcy7rD6F/tFvUNk00tGPnodH5zlvvHHmdQUSY5hDuL0FKwHQatMhu9vlwLn9/dwuhebmCQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR0401MB3652.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(396003)(39850400004)(376002)(346002)(366004)(136003)(6506007)(53546011)(316002)(66946007)(86362001)(26005)(33656002)(66446008)(71200400001)(478600001)(66556008)(8676002)(55016002)(83380400001)(966005)(66476007)(76116006)(5660300002)(83080400001)(64756008)(110136005)(2906002)(8936002)(9686003)(7696005)(52536014)(186003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: jcWvhXBzy3NaN9Aj8NJJI40BqaC0sleNnowrvajBU6ZCdrEQ8cWDgLFKUwoQOwcDaZFve+2ax2Gc+Na6Jqwx51ATIb8XO/b7Gntv762XOXwlV5WKDrjpfxmYfNn8Uaf0g6BrNBhP5mSryxKUVWebyTvT59YL0NicFNQQDLlAMc/TYrLDDdYFcDLIU6gD25BtYzzmxSQHI7XZwFiTxAzlngY7qud6UXirxXRKG2af8k3PeZ3TTIqTuqpiEf9Pd1uRS0sDxKlNoKNFXAW9Ysd4V5BsYP9WYM5cBvhX7tgcfB/qDFDPABImJlZytxy2trLcfXbTm/SRnmgNelacmSp+/bYl85dVxbxbWiiwAIKzANXfxUxVVRF6Ss4UpBg6fru90TcmjHbupWw6G0lW1HZiu7pL+u+BurqHPADOZtbqljLyI3HlmFdfCwPWVFthmlDIbJ8kKD/IV4PbU4ZjMlJP9J1+Hw9sTRQ57gi6J6djLbgzalxgKp7VG0Ij4V4madazOeWWa9zA7NgWxTE5Dh330prViaNeo+r3bze2EqYNgy0z4JrZzATq+jngNenxi6ZdTQwiX8XZ0AwhfJxrV9IvUj+TcelZ76WNhCMzQV8m8RC7rlRydbJZUgA034ZRulsudA0Pugg1ReaS+8R0Bjtl7w== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: rambus.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR0401MB3652.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 519a3100-f46e-4c15-b6ed-08d84846b91f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2020 15:59:46.2359 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bd0ba799-c2b9-413c-9c56-5d1731c4827c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jBQb8NpsdrUlYlxOHuy62KqLKJ8JBEwdTigwu1sxYdNlLW73A0FSZmXn+5qDX/4bvQCzSnaEeJiIJ2jZeyNzBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR04MB2362 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA48A24 smtp.mailfrom=pvanleeuwen@rambus.com X-Mimecast-Spam-Score: 0.005 X-Mimecast-Originator: rambus.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux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