Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2959161imm; Mon, 28 May 2018 20:58:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoN4SFLs2FtnjLD0SJdSR94KbheilzM1vQ96BeD2VsCHjSDmpGLh1OUZXOTKvfDjA+uYA+V X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr16139098plp.333.1527566339806; Mon, 28 May 2018 20:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527566339; cv=none; d=google.com; s=arc-20160816; b=m5q5MF2nnvVbjZiD3GkgyME7aBV/QmpLRUjv7VthSyg3seLW1kRB1f4c0OO3ao9Dmu x5j/KpLP7QctQawVwjkeLaOH/VvDduO0Wne5g28JGsbnGRJ2Vp3Cf1qSPUmPshHvbs2q ag5WpV3JXnI/ugAYB6nukrHztLXDUKg5B5w+IvDuma4iB6QyiSEFK3AngB8JrDvlD3qd JP0cqza/hVrIvDfh+KHOTW/spgTdV6r7wKOjZok4mInI37JyF+0rI7GI2ZyUCV1Dk8Lj Ja6KJjMP3LIUkrx6aRI/QxPwRu9/FL1ug0cFsVYTZXyMkW3ljjxwl9tRLgu7sgw8JWPj PC8g== 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 :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Z6jSSCnpxrlXeI42wbU2RaU3N4OQG0l+MQ6MGA26tug=; b=dRLl5TFfhtjGMcHOErycYJLHCKsKxF13lo2mZaDQjPe141IwPZos0+9/vaS7E3cHzW OF2OmOoNVnM2Znaj1OpwO5uD4Beg/U6NPwutII82Nvhndy9eiE6Ua3n7gjtD7q7zv29j 0ERFd29vG4J3IM75DWPtiUFl10lJfa6M47l0gmy+qfx4nhmtmX6UT8PYqmnz91dDfZd9 AvWJ2ZDcw6DVHwtSzGHm9G/RTdtjJmnFUuol701JXB3nXwEWPZcIejC5B+ButzdixTUk VAGjZLI/dj9sVCze+3LXPOAW5DdvxtYUbPltnMSYxo6ZaKm/yOZkrvr66ktMhEjdek9Y se+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=IDAreOwm; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5-v6si20024371pgs.201.2018.05.28.20.58.45; Mon, 28 May 2018 20:58:59 -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=@nxp.com header.s=selector1 header.b=IDAreOwm; 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=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935303AbeE2BKi (ORCPT + 99 others); Mon, 28 May 2018 21:10:38 -0400 Received: from mail-eopbgr40057.outbound.protection.outlook.com ([40.107.4.57]:2496 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935238AbeE2BKd (ORCPT ); Mon, 28 May 2018 21:10:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z6jSSCnpxrlXeI42wbU2RaU3N4OQG0l+MQ6MGA26tug=; b=IDAreOwmwuRvbjg0WQ70Q5RaSFqOjWj5fqzDViJnxP5Vg/oioEvVNCiiB/nxGQVCZtGfCVG+VpA/iB9SWzjMBTLVIGd0lTB2iEXriFs7bSMzEZzHyc0mmu4b7ivUtb4dtYMIGSLF+toJBictNMhRvvkBJB2UqsTwMGd5b3fCQ5A= Received: from AM4PR0401MB2260.eurprd04.prod.outlook.com (10.165.45.7) by AM4PR0401MB2196.eurprd04.prod.outlook.com (10.167.89.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.797.11; Tue, 29 May 2018 01:10:30 +0000 Received: from AM4PR0401MB2260.eurprd04.prod.outlook.com ([fe80::3c1b:10ef:4301:451]) by AM4PR0401MB2260.eurprd04.prod.outlook.com ([fe80::3c1b:10ef:4301:451%4]) with mapi id 15.20.0797.011; Tue, 29 May 2018 01:10:30 +0000 From: Andy Duan To: Arnd Bergmann , "David S. Miller" CC: Fabio Estevam , Andrew Lunn , Troy Kisky , Florian Fainelli , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH, net-next] net: ethernet: freescale: fix false-positive string overflow warning Thread-Topic: [PATCH, net-next] net: ethernet: freescale: fix false-positive string overflow warning Thread-Index: AQHT9puRUC7SpC3/TEOocdm825gSTaRF5i9A Date: Tue, 29 May 2018 01:10:30 +0000 Message-ID: References: <20180528154958.2684086-1-arnd@arndb.de> In-Reply-To: <20180528154958.2684086-1-arnd@arndb.de> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=fugang.duan@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM4PR0401MB2196;7:2JqzisVKhBV+HR+4Xc9ZP6QDq2+z6qo4MIGedmfptT8sBySa79MnDaA4LyfQl+/LXFnAmnAepQYaLwNInF5HNaYuCfJtcf0qRJkrBMqILhNtJ7RT1892ehKWxUlOkxVy+FulTMvfLSligYrY2/l1U4Dn2pr4pubS7hegaBxzIL3BToNb7/tuJIUh2vbbS8LHzP2MaK1GrbOEM5Y9S1G59QcB8ZY8JWTfseflYAf6EKciy0ntiqHHW6panXCZKxIN x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:AM4PR0401MB2196; x-ms-traffictypediagnostic: AM4PR0401MB2196: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:AM4PR0401MB2196;BCL:0;PCL:0;RULEID:;SRVR:AM4PR0401MB2196; x-forefront-prvs: 0687389FB0 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(366004)(39380400002)(396003)(376002)(39860400002)(199004)(189003)(59450400001)(3660700001)(53936002)(99286004)(102836004)(25786009)(9686003)(26005)(86362001)(229853002)(5250100002)(2900100001)(6506007)(97736004)(39060400002)(54906003)(110136005)(6246003)(186003)(74316002)(76176011)(11346002)(7696005)(316002)(4326008)(8936002)(486006)(476003)(81156014)(106356001)(478600001)(55016002)(66066001)(446003)(105586002)(33656002)(7736002)(305945005)(14454004)(6116002)(3846002)(6436002)(5660300001)(8676002)(81166006)(3280700002)(2906002)(68736007);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR0401MB2196;H:AM4PR0401MB2260.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: jqaNVNzQIDjxLbcD+Gg5aOb8GH/oJ5unb0bEWvTm5qZzsKYcDNFSRxgfDbrW8HmQhJxOzhwGOFAsoH92UglKYF3edUYkSGk1hNfOfsiO4HF2j6senZYw3arEu+tTVDtN+egrSXN7MkUT4jyTl0b5z0yg0f5XxpoIY/Q7+x/xppF7hh8F3rYEVAR2IgcaEVYY spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: fc139c9d-b543-4f65-902e-08d5c500f888 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc139c9d-b543-4f65-902e-08d5c500f888 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 May 2018 01:10:30.2226 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0401MB2196 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQXJuZCBCZXJnbWFubiA8YXJuZEBhcm5kYi5kZT4gU2VudDogMjAxOMTqNdTCMjjI1SAy Mzo1MA0KPiBXaGlsZSBjb21waWxlLXRlc3Rpbmcgb24gYXJtNjQgd2l0aCBnY2MtOC4xLCBJIHJh biBpbnRvIGEgYnVpbGQgZGlhZ25vc3RpYzoNCj4gDQo+IGRyaXZlcnMvbmV0L2V0aGVybmV0L2Zy ZWVzY2FsZS9mZWNfbWFpbi5jOiBJbiBmdW5jdGlvbiAn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