From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0066.outbound.protection.outlook.com [104.47.32.66]) by dpdk.org (Postfix) with ESMTP id 3DF6DD07E for ; Tue, 8 May 2018 19:59:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=l32xcZHFAhgSkDS4y3P21+jz3twXygbUnPwksYlXgjE=; b=jB7Y9dykFlVSZFITWktlZTbIyQDDH4dfWIi2qJHWMhDrqSWIrCB9ms4YxJaqdNQ3nyJQ067S22Q3g2aYVTtA3ZnsGBpp6DVNrxVCJB7wwYwdGdx8NUyS3MW8DR6C000BJBoWocp8894ohXp0iRftDchhatdFHhaz4jl/MjZcVsc= Received: from DM2PR07MB1547.namprd07.prod.outlook.com (10.161.140.147) by DM2PR07MB639.namprd07.prod.outlook.com (10.141.178.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.735.19; Tue, 8 May 2018 17:59:48 +0000 Received: from DM2PR07MB1547.namprd07.prod.outlook.com ([fe80::d43c:136b:6bb1:d48a]) by DM2PR07MB1547.namprd07.prod.outlook.com ([fe80::d43c:136b:6bb1:d48a%16]) with mapi id 15.20.0755.012; Tue, 8 May 2018 17:59:47 +0000 From: "Shaikh, Shahed" To: Andy Green , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 09/18] drivers: net: qede: fix strncpy constant and NUL Thread-Index: AQHT5opJkKjHNvmLLU6SQHfKuWuPEqQmHqJw Date: Tue, 8 May 2018 17:59:47 +0000 Message-ID: References: <152575364588.56689.3300796065057551728.stgit@localhost.localdomain> <152575381332.56689.17827274556476490336.stgit@localhost.localdomain> In-Reply-To: <152575381332.56689.17827274556476490336.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Shahed.Shaikh@cavium.com; x-originating-ip: [198.186.1.5] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM2PR07MB639; 7:1wWiLAlP8fSS3diV2BPliiJThty0md/8o06PMkgWfqJmTKNQ73XC0XuHTebfxJIQ9L4Ejybf+7P8J/c0yHyIgPisq1MkWlDCbtC1CuMI6jwLhr6WuMZkQcr7B3JbEb+i/OVuN6TPj3P1gFW9Jtvis4so5F+ARRPkWRCtMoj8QmabRTZYH9Ru4A6/c2Qq34X8aY9/cErz2LJ3ZvOLce2U35vJjljSmA2MOA6yAdvFDMUx4YjKOoNzcjnq52fj/jfh x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(2017052603328)(7153060)(7193020); SRVR:DM2PR07MB639; x-ms-traffictypediagnostic: DM2PR07MB639: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:DM2PR07MB639; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB639; x-forefront-prvs: 0666E15D35 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(366004)(39380400002)(39860400002)(396003)(199004)(189003)(13464003)(74316002)(25786009)(2501003)(76176011)(446003)(2900100001)(53936002)(5660300001)(476003)(72206003)(316002)(110136005)(11346002)(53546011)(6506007)(102836004)(5250100002)(97736004)(186003)(26005)(7696005)(99286004)(86362001)(486006)(68736007)(81156014)(2906002)(6436002)(3280700002)(33656002)(66066001)(3660700001)(7736002)(229853002)(81166006)(478600001)(9686003)(14454004)(106356001)(6116002)(6246003)(3846002)(305945005)(105586002)(55016002)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB639; H:DM2PR07MB1547.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: xmOTXFIWKQf7fetzNrPz6BTYIie02jHdlDXEOQR1bjmZUNNXKLZ6rE9hcqNwx9x67YL3210YK53R5MA0bBnY/8dkOslXkK4MPQeYAbC3hTFDDoD9Rj5rPYlw5AFe/DAHejotkmcHcQ/sy3PrMzXAM3/c5JEtG8U24hOeQ3nxWNa2G+dUSTUuDbRSU1I8hfNK spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 91e61c9b-6417-449e-5bbc-08d5b50d7cea X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91e61c9b-6417-449e-5bbc-08d5b50d7cea X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2018 17:59:47.6322 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB639 Subject: Re: [dpdk-dev] [PATCH 09/18] drivers: net: qede: fix strncpy constant and NUL X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 May 2018 17:59:50 -0000 DQoNCj4gLS0tLS1P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