Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3505030imm; Sun, 16 Sep 2018 20:38:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYzivDaxbYYEZTD2DAlf8XYNtyI+mnC3vKYrK2Xl97Ue5fXezxo9XdPrck9tYrLox20cIEQ X-Received: by 2002:a62:b40c:: with SMTP id h12-v6mr23900893pfn.18.1537155527138; Sun, 16 Sep 2018 20:38:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537155527; cv=none; d=google.com; s=arc-20160816; b=bxdn84Bgk/9NhbvlU7ViV98X7FVu45aywdFlP2Tb19blcefo83AjYr+enwpXgJxf+/ cgodfF2okydR1VD2MyDzIv+BfMuZKIi+1QtaN3GGEoi4T+lokScu7Zy83pCDeYqRve0d b9+MVN2yfGaa04Kv/DJKjAQjcjYbTQmfVC0YiN9OQ1FLgtHrCuFk09VuCtF9PXk0qi+/ 4yBcz2236LmKssjTHI19BfGtoGpMpzhEDaUBVrkUSotBYD1Dalqwi1iqqBv1qG7FBjdx pdquy4qhe3xBzlh0zdHGIKsjfnYylZo3YXtqgtTjAbFcR7jQCXpmgq6U9389a7kfySuV SYVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=QhJD6nvzdMY0Jeqf6ayNDrzcHW14Uxcl7O2huKciT3E=; b=b5NV78V8/NT6VOrSahVmJ/nvrNaDGkgPw69kBqrh0tfUWvpYGUPBioQyuWJvCsBCC7 8x7SNDn8xLiWsWeXOrNq1f+qSZphWz/4vhbvQEAkBdMwxgdBoV2qCJF4L6wBCV+K274s fKgz2EIh4mqRgeE5ATNbyzZVLDbGkUsYtBO/98BceTD6T4pIecYBBt8EU+kjZVIDSF28 8Fhcqfefk0qQ4+IkcmGwkUEAACNsPZn0dGNvpD2XJjut0gDnuXvxd3V9zMaOFvMqXbMK ysb5ZVnCKuiJmP2fFk8j3qq8ExxVfTdUnExkbQPaxyxKxf4jVw05tARj0VPV0ps/SPO8 UKIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=P1RzcE6r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24-v6si14298715pfn.363.2018.09.16.20.38.32; Sun, 16 Sep 2018 20:38:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=P1RzcE6r; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728194AbeIQIZ1 (ORCPT + 99 others); Mon, 17 Sep 2018 04:25:27 -0400 Received: from mail-eopbgr710124.outbound.protection.outlook.com ([40.107.71.124]:62784 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728034AbeIQIZ1 (ORCPT ); Mon, 17 Sep 2018 04:25:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QhJD6nvzdMY0Jeqf6ayNDrzcHW14Uxcl7O2huKciT3E=; b=P1RzcE6rm+7v67hRhKeVVi8EtBQeaTEjU9iRItvfuk25i0+IA5l2lgLGt/hrwPnuUclj4b5bj1wH8Xr5uo6FEFKqFrShSkl56aYXQwHoH+eIkcWnqLtX1cqqzTkMb87tg9MKthLax2+fRM+yvYK3jM/aQuVCfO9yHx/6D/9Vx8E= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0134.namprd21.prod.outlook.com (10.173.189.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.11; Mon, 17 Sep 2018 03:00:11 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1185.003; Mon, 17 Sep 2018 03:00:11 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Stafford Horne , Greg Kroah-Hartman , Arnd Bergmann , Max Filippov , Eric Biggers , Nick Desaulniers , Herbert Xu , Sasha Levin Subject: [PATCH AUTOSEL 4.18 001/136] crypto: skcipher - Fix -Wstringop-truncation warnings Thread-Topic: [PATCH AUTOSEL 4.18 001/136] crypto: skcipher - Fix -Wstringop-truncation warnings Thread-Index: AQHUTjKMsr4kIiuRRkyiW0tk0mhhgg== Date: Mon, 17 Sep 2018 03:00:10 +0000 Message-ID: <20180917030006.245495-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR21MB0134;6:Py7EstJSZ4N2wRP6AV+g6560j6pTf7wB3wyXd41URTB9LnTYhfdZ2OVSJ/1X6GBy8bT+5ZCb/Uo3qhA7T+2iKqWSdPCJjR+UXFGjaAqG1x1eQhSct+cM5HKPJCPTymWVgRx3qGoVCX2IDCV+baap05+xn2DBS0hcHjgXSf08J6ZgUZzruPOW1E4O3+81T2VL5zh86fNZBTLHU7C3gvjGy2Lsl50Rxe1Im1vpzV60LOpkgfQPrYg2rfO9R5gj8MUdS/qU25Qc8wYwRIaz2R5gHeCV3K8HpxBoVFPydaX8+6EBAchUqic1QBZhm9gFDlBAb4UrTetGLagGRRA7KxOA5ASmLtYoL+kd0sWozwlBMMEhUIc0I+qtcf6QigFKRYBN4REu3FR/B9z+IOalP6RvlLTckRla3EDFsPZZGm0gZQ8NjkYDH/sMehM2yEsxO7j2ew/K0zvBOCiZqhBD+Gdf+A==;5:dPf57XsDmMygYBpTsD0OxPhG37Uo27WKOCK977VYCnK4u/k8IaIt2Fe8wq0TM/4By9TvCSQ3E5RXokE+Jnmj3xPtHkwnqEMRzRperbUdjfc3PPi8867mcMSxEHIch1FDkU7H56UkkkvhltJBqrAW5A4JzvZL+7dbtcK0i3zOQ6A=;7:R1GvOR9Fct3UaFj/gmKzdQWxSo3g01d8AEkjJnwnmJHecEKPQQuCjDzEtk1dHdxct019032W53h1X9eVG//K28OGxjzSY/MWjwYvYu6MLqYVE9F/INqufzZE2nE3AYZvpILvJXrNLJSYQP4qRxpL6mBNgzZsSNZ8HHAJ9W3q5vrEjqagYD0oBFIHPVDTBhEIYwkRpgB8cuFuI4G4QWDhfl2n0CGd9xDTegxXlAyeVpx6CvM5oJJO7T1mzSiqnSLf x-ms-office365-filtering-correlation-id: 1153d08f-2563-4f72-fd5a-08d61c49aee0 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:CY4PR21MB0134; x-ms-traffictypediagnostic: CY4PR21MB0134: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(211171220733660)(85827821059158)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0134;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0134; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(376002)(346002)(39860400002)(136003)(199004)(189003)(6506007)(10090500001)(14454004)(99286004)(68736007)(6512007)(4326008)(25786009)(217873002)(39060400002)(107886003)(72206003)(22452003)(256004)(14444005)(36756003)(54906003)(110136005)(8676002)(6486002)(97736004)(10290500003)(6116002)(26005)(7736002)(86612001)(5660300001)(86362001)(53936002)(316002)(486006)(476003)(2900100001)(5250100002)(105586002)(102836004)(305945005)(106356001)(66066001)(81166006)(81156014)(1076002)(2501003)(2906002)(6436002)(8936002)(478600001)(2616005)(186003)(3846002);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0134;H:CY4PR21MB0776.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: dTEL1DCP4JkWlsBPkOAd3E9/fuP45Si20jMU8628t1QKHFA5+kg1BFAA8ZYlsyL+bj/wP/8+DaRCRbFLIj3mMMbpK3PxhwADOni2/BmXFsQUBGuhshj0o5xfxf8HGHxn7nWGPzJoq8g58rvG/OPlRZfYRKb6bG3jry+pyY9H9R3Gdz180uDEjdoWnI4WBTohDF/az63LK20q91K5OVVu2WNU6FqndAJ65jkfdtQn9rbGd9uLIZwboVjXrhl0paFktcqsoOOsrRcnrquWpiS7ZKM2lGUX/xn7xTLHAOCBEF/XNON7ZrJM5IPrtPmVMppu0ydx8WrfGo1cl00zs4bP+X4mJK5XMee8XiEN09kI5/Q= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <872E98DEAD4FFF4CAB09DF52E22281E6@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1153d08f-2563-4f72-fd5a-08d61c49aee0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:00:11.0424 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0134 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogU3RhZmZvcmQgSG9ybmUgPHNob3JuZUBnbWFpbC5jb20+DQoNClsgVXBzdHJlYW0gY29t bWl0IGNlZmQ3NjlmZDAxOTJjODRkNjM4ZjY2ZGEyMDI0NTllZDhhZDYzYmEgXQ0KDQpBcyBvZiBH Q0MgOS4wLjAgdGhlIGJ1aWxkIGlzIHJlcG9ydGluZyB3YXJuaW5ncyBsaWtlOg0KDQogICAgY3J5 cHRvL2FibGtjaXBoZXIuYzogSW4gZnVuY3Rpb24g4oCYY3J5cHRvX2FibGtjaXBoZXJfcmVwb3J0 4oCZOg0KICAgIGNyeXB0by9hYmxrY2lwaGVyLmM6Mzc0OjI6IHdhcm5pbmc6IOKAmHN0cm5jcHni gJkgc3BlY2lmaWVkIGJvdW5kIDY0IGVxdWFscyBkZXN0aW5hdGlvbiBzaXplIFstV3N0cmluZ29w LXRydW5jYXRpb25dDQogICAgICBzdHJuY3B5KHJibGtjaXBoZXIuZ2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