Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp574201ybh; Wed, 11 Mar 2020 06:43:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtvGkBWrO3kOIV07kqVz2uLz69Yy2xJqDeY1t5HmJrcY+g9j7li9GBBAIRltfkfCwu10C5M X-Received: by 2002:a05:6808:d7:: with SMTP id t23mr2015283oic.69.1583934237256; Wed, 11 Mar 2020 06:43:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583934237; cv=none; d=google.com; s=arc-20160816; b=KFlw+k++Ss3lYJvnA3LkOrYAOZ3PgELaPoL9l1pLd5HsssZIFTvUrhJvAEpqdgLW/Y 5EHcwI4agCMTagucSQX+YBcl/XcKvxRqTFyqFbQz2zdrvwVfTxvoB7Llh3wpQiauBKFy bzUs4DgCks9FDZBhOvnY1TzQGpPmtRU30HQvedzU/WA3TiOdlBOtZ0Q1R+jErLwknFDY ohAQBzlJDY94TujiYeLztsofJQS9vbeL5V6bq32CV2tyCQZv3N3k1nwhajl7aJW2obDG thdgJFwmn9H7Sr5HRy+mlAC4kv6a+yNhdRomqL9fhwnLvYawRRzbhxKGd+yRZCJgYtYE +fjQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=A72jYG29ZYGID3peLueFYfZ09ab4hxkJOXi8FenC89M=; b=MYhGIv3x1EumJ1QYMK+PcrLpB6ywHMLBIfks9DtIegOo+DcS8mYEOI+5ULam7/nFGD TbyQN3F/t4OIGI1Dnz/v/lrxc6WzXmyodokycHpZjCnSetJpFaHx3Kjh0odimsCITHsA c0iR2ryqHnz8ZU0YSDLX5JMcroMW6RO+14ZrWpbBX6nZiszSjmT9NgwNQsEiLZ9HHG4L kx/Uoaww2kKWD2iwP6gRwUaFB0rDIsdgsoshva8ekBrZkVmeeLUkqahqoKjvxrwQ2dSm ZzBWYGmNY+XusEKeUA0grGaxwtcUqXSG07f4276xjtbJbiF5uwuEKwul9AzVlMtRao5g rbQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="idwf/PwL"; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y67si1232028oia.184.2020.03.11.06.43.45; Wed, 11 Mar 2020 06:43:57 -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=@mediatek.com header.s=dk header.b="idwf/PwL"; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729584AbgCKNnT (ORCPT + 99 others); Wed, 11 Mar 2020 09:43:19 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:5640 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729428AbgCKNnT (ORCPT ); Wed, 11 Mar 2020 09:43:19 -0400 X-UUID: 4ccf4a7c67bc4639b58278874f1ba63b-20200311 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=A72jYG29ZYGID3peLueFYfZ09ab4hxkJOXi8FenC89M=; b=idwf/PwLyaHjJ6WkHCzFSRrOGds9HsrQmOGkGMZxxq6CFiZw/hm7kM7+1lAtuH6+dq8ZTRamOg7hmUjiyLGXV39n2PzKUMw+qvy4jb67Q5amB7tiad1MJy1LsN87/ATiVCovU0dkiRaQrAUq04nZY7pGvyMgqdsqLollN6h5IHw=; X-UUID: 4ccf4a7c67bc4639b58278874f1ba63b-20200311 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1806468321; Wed, 11 Mar 2020 21:43:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 11 Mar 2020 21:42:13 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 11 Mar 2020 21:43:18 +0800 From: Walter Wu To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Qian Cai , Andrew Morton , Stephen Rothwell CC: , , , , wsd_upstream , Walter Wu Subject: [PATCH -next] kasan: fix -Wstringop-overflow warning Date: Wed, 11 Mar 2020 21:42:44 +0800 Message-ID: <20200311134244.13016-1-walter-zh.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Q29tcGlsaW5nIHdpdGggZ2NjLTkuMi4xIHBvaW50cyBvdXQgYmVsb3cgd2FybmluZ3MuDQoNCklu IGZ1bmN0aW9uICdtZW1tb3ZlJywNCiAgICBpbmxpbmVkIGZyb20gJ2ttYWxsb2NfbWVtbW92ZV9p bnZhbGlkX3NpemUnIGF0IGxpYi90ZXN0X2thc2FuLmM6MzAxOjI6DQppbmNsdWRlL2xpbnV4L3N0 cmluZy5oOjQ0M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