Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3498779imm; Sun, 16 Sep 2018 20:28:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbPY+xFHkMB0Xdb3410r9vsD62Wxk614cP+gCx744sC2bSUvkUrJS1OsNX2/9cEmgaPi5/T X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr23603515pfa.133.1537154926366; Sun, 16 Sep 2018 20:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537154926; cv=none; d=google.com; s=arc-20160816; b=GI/NlScdiLaOiTPbNb/fo9o39Zg1/K7jSh4tMjO7IIIDLX1HkiQkbvauBoir6nuU8F hFdkyOSNNe8W/WNACfXMW1Bh4vQwc7DbjwC7DHHEQNZa9qI8Eti3HAsJrpB7TJAz5YYL SNP7CfxiU//RGdxRVY8tof6Ufsj9gRc8H04J9SU/oOdq/2sFarBK7LlJ13UCB0ACKD6t /speW2ygCrsuyvPDK44mptv0y9+oIHMBN2rqxxnQcZNF7y8z8LsEvF2W3agDFxC9Qqzu ACMeSOwB3A+44iCynyZXx2YFJCkSE3mRp/L9hS2rtUXNRdbHUEnaSdARoZUCvnJY/7PT lgcQ== 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=LXRYx/79iNfWBkGIUy5m4kBkIVvijxcxuVTzZVk8X4A=; b=ppBsIQGkRq7ysJPkSj+tiGgnB2Mch365GjLSMwHT82U9voLFuWQkmcebAGBvxs0VUX ZDaR1sQ59C5CqCpRUTBfm9URG25KtV4sJtsQMrr/wnXrewdb5+dfobuZSuVh01s8hrC5 T9hLy4yWr/9AbPA8iV2B1+7Lny9DcsmlgfaG1Q8URtZ+5I8RGvJJWZqnOIzTMcV/bCG9 uF3CY+g2+B6APWOmGvowmvxXVpUhglrRdlfc28odCxW7JKv1cnMgYDjpuP0aNw89mUmF oCnyfYMSrbC2x7qcKxM5pKkbiSnDPHMetd7Z6nd7cfV7JX/LNQ2T0VT3+snHCKcJgBIL kPCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=bZtvPBU3; 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 w3-v6si14555971ply.370.2018.09.16.20.28.31; Sun, 16 Sep 2018 20:28:46 -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=bZtvPBU3; 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 S1729797AbeIQI2r (ORCPT + 99 others); Mon, 17 Sep 2018 04:28:47 -0400 Received: from mail-by2nam03on0130.outbound.protection.outlook.com ([104.47.42.130]:60384 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728718AbeIQI2q (ORCPT ); Mon, 17 Sep 2018 04:28:46 -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=LXRYx/79iNfWBkGIUy5m4kBkIVvijxcxuVTzZVk8X4A=; b=bZtvPBU3mBV+7Krmnc2WvfRsEO00NU+Xzmk9AGg73FCPXkFBPIwcy6yNe/CZjfJf2Obojez8aiQWzJNHc6S6Bhmk836x0Oqg2baZGox0bDHqmIcW+KDEfRac/MaWpxULNkuaRdu4aZuIuXohuvON1V2cqUAp0QjLDF5UH4xX9N0= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0855.namprd21.prod.outlook.com (10.173.192.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.4; Mon, 17 Sep 2018 03:03:27 +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:03:27 +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.14 01/87] crypto: skcipher - Fix -Wstringop-truncation warnings Thread-Topic: [PATCH AUTOSEL 4.14 01/87] crypto: skcipher - Fix -Wstringop-truncation warnings Thread-Index: AQHUTjLcXAClSEBDFUmcXqckL+3KDg== Date: Mon, 17 Sep 2018 03:02:24 +0000 Message-ID: <20180917030220.245686-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;CY4PR21MB0855;6:ttfYuJbRJAXoLKodTac9tM3MwY88FF60dSHdpXlEe8PIeJq/+snTftjuvjq/jc3dwIH5jAT2aGMmf9tG8rFtE//qzwwM90CvPqQpxMb5edjygdUn+tBr4SLKMimH9kg4rwc9uWxKTRngpJPXmqmTnoZwDcx1JVXodsR6JCVvMUDaqpTB59rWJ3dDi8NYKTg+IXnybmZNs5HSxITq5sfU7YHlMocZ0By+ongSgf4Jh2uic2s5td3mpLq3EDRASL0Gh1GDv7RHMT1LoyR5W3IHEEUn0spqI51D/JGfpaowiX5vk11P8rTseDFbO+z7A4lwzmD9bLowJAr5hBTmAxhdIVIFzXsB4T4yuN/NTv1TLiVUnQWDl/qkNaMRenGBVflRu3H9+VdIRzVltEUQGO7+cCDk2JhyAAqUwUcjtxaRg3xSWCXFrCtjMj2L/ZK5HTUmw1ftExhiGC5kQ5KyauzrBg==;5:zp8nrwGbODocYjrGbLobXv/W/xg4gWdnI556pGnVmYW2rveoHRRhfJ37lkxPuB+RtFzyJYGBZmwmOqghnKoX8oSkFtYatYO/7PoZdDsMkf2u/55e8qXrjorodA5xgzyikHeDNxu5KxHuq9vwvtSN7PPetfpR+HIZhmevL53Tg5g=;7:0/eyzAB/RGqgwhRqY+CE//AqTkEjFbpQHFOuX1ScEwJCrVVUH0lzypI4oVRvr3PDCEclgiN/54svG3lkCDcHfM0qgoWt+mt6lH8MRC+uufE++0cqFPl1UGRVaBuDq4Vk/cq87kQmxiQhVAgOUCB5ENra5i6eunrU+RT2Bvt0g4Uu8CBnOLooVr/i6lzE4yxYS+mu2D4YLkjrzIB3rBxN8hl7cslHPZ94LOa9Lndcwle5iv9NFifHeYjKsPkt2xOp x-ms-office365-filtering-correlation-id: af15f6f3-a527-439e-b1b3-08d61c4a23ea 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:CY4PR21MB0855; x-ms-traffictypediagnostic: CY4PR21MB0855: 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)(5005006)(8121501046)(3002001)(3231355)(944501410)(52105095)(2018427008)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0855;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0855; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(376002)(396003)(136003)(366004)(199004)(189003)(6436002)(99286004)(7736002)(110136005)(54906003)(97736004)(5660300001)(66066001)(72206003)(86362001)(86612001)(81166006)(81156014)(2906002)(478600001)(305945005)(68736007)(105586002)(2616005)(106356001)(476003)(22452003)(6486002)(10090500001)(10290500003)(8676002)(39060400002)(36756003)(6346003)(6116002)(6506007)(3846002)(102836004)(107886003)(6666003)(6512007)(1076002)(25786009)(217873002)(4326008)(14454004)(26005)(256004)(14444005)(486006)(186003)(316002)(2900100001)(8936002)(53936002)(5250100002)(2501003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0855;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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: o0C4eL5UFnptpmnbhEb1+3wCWyGySSf7pY2TT2hXXTHil9Y7LAYuHyU9EIzln08ovL4eUhZVVWG9wt/j85DIo2ZUQf/QWoks2NKQW/AkWly1OP671Tkrjc313SdSxGoebU9AK+UpIUtPQ4lT0ENiiuc10WbMyff2GerV7kzgnXniFAP8Qrnh3xaYxokwgDm5j7Fum0yvGbR2sTVzNHzeucx1H0H8b1XpNZb3nMDMg4yX6jp0Wi9QXBtEmhJmQYQRz6JzSTwSC/sFQagyVCXwZgaZqvt7nFqiarZ3Q95nQoPucDe13OnHLKN6Q9RR821g4xYqyJmuIf4FmIK46Dv6J9sYaX+mNZl3Zvh2vJNYJZQ= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: af15f6f3-a527-439e-b1b3-08d61c4a23ea X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:02:24.8846 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0855 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 LXRydW5jYXRpb25dDQogICAgICBzdHJuY3B5KHJibGtjaXBoZXIuZ2VuaXYsIGFsZy0+Y3JhX2Fi bGtjaXBoZXIuZ2VuaXYg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