Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1500587ybt; Thu, 9 Jul 2020 08:29:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUuGfaVGq9XMBNLztHkcisrYSILiLYnWFK/3MGD9lUdLl7x/q1iFnkAzc7r903ojkyBWcS X-Received: by 2002:a05:6402:888:: with SMTP id e8mr75108850edy.210.1594308553762; Thu, 09 Jul 2020 08:29:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594308553; cv=pass; d=google.com; s=arc-20160816; b=JSOnlwQkDENr55HL5QAhGnttnAaa5xKczICuevzDx/9QIGEn6kpPMlLrkFSdHzSNs/ AYJjAMkwsOus+7bu0s1bXt+dfjZ7TlPLn4zMuhr60Lr6paF+LZq3RD1U6KzY84ugyt5E UMmLkpql2q5a4OBzhQXhuRLJzPwjYQIwX+tKhN1LuSMtCClyOGs1CCCpAHmbXjVsCnyo DwwW2TsZ809u13mCUxvREX1QEhA+XjDliPgdm1NxAIvihzc4eMlxi44Kxem4Oys9J14F 7mDeKmiFeV8dzkow/COueSBPesJ70iOA35c6tGIn03W63uO4hiFMM+xDwJzgLP9nLxN6 TJSQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=yajIr5CaCUuaCP7meqfkYUekX2ELDt7dw+/4AjTu1Fk=; b=zddL77q0RA9J7QUXdDXll9+SwoGacv0T7zZYrQoaN4lHQIQehvLhfdfTNiX8qUiC4U iB21GYJU6AdmAqX92RLCOloyXX1RrMj66ELX2IEm+j0t3v9oQSsiTFQ5BuzvBWxpF8Bq wDFvTvVi6HNds6MovXg4YjB+I/jtWthpfaTkXQRaPOgt09hQQvYlRIv2M2A0yPk9GX8J igL4krcbAiSmCViOeXp9e4iCqbMccKZYFWtjBfEYCYLC8I7mtTYybffh3DZ8Y/GUREqs 1Mol13/2amw4l5KtGPBBD47/8IXBZ49FxZUGeo+PhnxYGZCnpkNMK2SBD6gj7E/5rHuD SiHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infinera.com header.s=selector2 header.b=LvJl3xPo; arc=pass (i=1 spf=pass spfdomain=infinera.com dkim=pass dkdomain=infinera.com dmarc=pass fromdomain=infinera.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=infinera.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l1si2263945edv.381.2020.07.09.08.28.51; Thu, 09 Jul 2020 08:29:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infinera.com header.s=selector2 header.b=LvJl3xPo; arc=pass (i=1 spf=pass spfdomain=infinera.com dkim=pass dkdomain=infinera.com dmarc=pass fromdomain=infinera.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=infinera.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727856AbgGIP2n (ORCPT + 99 others); Thu, 9 Jul 2020 11:28:43 -0400 Received: from mail-eopbgr770073.outbound.protection.outlook.com ([40.107.77.73]:45155 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726410AbgGIP2n (ORCPT ); Thu, 9 Jul 2020 11:28:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FL8hzGrhUXQ5297AG2ciJqviYnLm8Wjn/fglcYqXbDPIL4VUJq+zmyMQfaC2KGfl96v7V9t+LLKmhhPb+uED/GFmctSsAsW1jO96lnXPCb02O7LXNx7v/k18F6oaDiCJ0BZ7Z9MWqQovOVEQNAUOTn/C6wD27c3g7j1jLJ+OwHtNk9SHN3rQiIqdvYcLWGJd7CEUnwVdzYvEm4kZsyZD5mpmItvIQru0AVka6ovJ0ZjJZBCoj9Z50o63B8qs5RFF72teWEQ+HJyj4p/TMN6opRuh6c0EZy0T2yISRJHuIbjpx3XInzmbkrgIFHRrsyETZl9CHcYC/EW4NTS0bdmc1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yajIr5CaCUuaCP7meqfkYUekX2ELDt7dw+/4AjTu1Fk=; b=UzCmZ8hkRTOum2+UDzm2jWjUrn/hL+NhEbEpMezONLOLD2AAaudjyaneUUssKPthl9O+CyCq5jVP2z/VPnjPMgctXnXyhnu0vALzbQOTtps/+HbpmaeDz/nWnJiBLOW7z9K1UCfz9/Qn6frNoVyl33S4rau0PzldptCy1ftpfGuaLUcUHHZ5Ni1n7IlAO/mWrSMiZW+H8pKl6yl5yv4MrIh887sh5VvTLRwwYxc+rfiHCGhhzy3PUpRTJkfEN6Q61l1jrbCp9yMH73baBALw9R6LdoEUksMskBJCrxXfNsNGw/n1zt/qQTtdB6mal6CuBvdgNpz60B84GfskLwPbnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=infinera.com; dmarc=pass action=none header.from=infinera.com; dkim=pass header.d=infinera.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infinera.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yajIr5CaCUuaCP7meqfkYUekX2ELDt7dw+/4AjTu1Fk=; b=LvJl3xPoObHM7OVEZ73WUz/x+U7pE2BPBa9ApHL2ktxI9C+auaMDKpWuwPk1zgIopFkg6aipHDl+CZEqqYbgDN8t7AOvI6wH5tr4sN/zl/hvrPAbUljWuvbyILIjKUoJe9JlN+q/SG7Oh6r4APswAtjJfYXLq6a7N1BSg8p+mww= Received: from MWHPR1001MB2190.namprd10.prod.outlook.com (2603:10b6:301:2e::20) by MWHPR1001MB2269.namprd10.prod.outlook.com (2603:10b6:301:2d::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.20; Thu, 9 Jul 2020 15:28:41 +0000 Received: from MWHPR1001MB2190.namprd10.prod.outlook.com ([fe80::b439:ba0:98d6:c2d1]) by MWHPR1001MB2190.namprd10.prod.outlook.com ([fe80::b439:ba0:98d6:c2d1%5]) with mapi id 15.20.3174.021; Thu, 9 Jul 2020 15:28:41 +0000 From: Joakim Tjernlund To: "rasmus.villemoes@prevas.dk" , "schwab@linux-m68k.org" CC: "linux-kernel@vger.kernel.org" Subject: Re: printk of non NULL terminated strings ? Thread-Topic: printk of non NULL terminated strings ? Thread-Index: AQHWVezV9c8qp7AVfk6iUQJ/gxZBLaj/NP1GgAAIToCAAAEegIAAIPsA Date: Thu, 9 Jul 2020 15:28:41 +0000 Message-ID: <450b6c9326cf28c9377b2b2be125e1d93be0fb31.camel@infinera.com> References: <4436dd281299b46f431ad1707c5de42af45ea4f7.camel@infinera.com> <87h7ugu9rk.fsf@igel.home> <0a4fb48c210c867139f4b171384b8d53a420ff7d.camel@infinera.com> <4d081ee7-5527-f821-5e9e-87ff053f7d2d@prevas.dk> In-Reply-To: <4d081ee7-5527-f821-5e9e-87ff053f7d2d@prevas.dk> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.37.3 authentication-results: prevas.dk; dkim=none (message not signed) header.d=none;prevas.dk; dmarc=none action=none header.from=infinera.com; x-originating-ip: [88.131.87.201] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 99cd7245-2ffd-470e-a3b6-08d8241cc267 x-ms-traffictypediagnostic: MWHPR1001MB2269: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Hw/V0nQg1zBd/CiAjfszevDioS+/sRUwsXAqkMoDKcLlvATnHWeW5pqrkAaFGZ6ErQ3BZOri9DKeWN68mdUC9Wle1WJ7bBB9kj7AM2aqxrHd1KLSWmSze46wExktD66QqB1NpRTB86ZmUI9a6gVC70FJR0xukerfWUg2nzHF/UgdjCaI6FOuT8+u/E90vniY7cU1WMLv+IKVD4tn28mDy1p6o/9NRZlcRbVFHTG2CfpslHG155/oD9RQ6G7rPkAXwXIR5I8Hy3cOb6kTucTvI06H6b95C7F5H5xa0ogbQERhWaFSrN5WO08Bauv+KKjWjMUC/Nm3U3b3VQlIT3HsKQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2190.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(346002)(376002)(396003)(39860400002)(136003)(366004)(6506007)(6486002)(66556008)(2616005)(6512007)(91956017)(76116006)(5660300002)(26005)(4326008)(186003)(66946007)(64756008)(36756003)(66446008)(71200400001)(4744005)(2906002)(110136005)(478600001)(8936002)(316002)(8676002)(86362001)(83380400001)(66476007);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: z1yYJOjQ7HZxisrhdQc3lXWvPOapYi8SeGdW8t82OVHxPnHoH+DCY43g3aUkXAgm9N1XSz5xn3diWfEfmh0U7LEhMy0tWAwUhnmZFhB62wf4wqo3sreSJa/E9l8epDfjpaOvTaXJREikvH8OeNscStCBOJDIVENn5e62HQ/JB9nEOZzACP9KRbttsAuRUlwByErydon/YqCEugbM2RJd46NMlU8g3mXnc4LY28lktwGd+qxINIkW7ve04w2y6SqJFrhkMCpn6t/xN4e3/V5X8EHPw8/B5mTonVWwGnjSbDiSb8j1H6sIGPif2xfoDv6m9yniHL6SnkU8dpzGj1ZM55RjitBX1FYs6FTRIlJXLTs7DYh3z7NFUJzlGpFxsUgsFD6eLbfdW2IxUmORFT2VRMIw0GOj4VcsR34k2bvOa5sQuH4p/HeQLraiR2k9Z2uxljJB/hGSkZooq5DaXq8i+pyKI6Cd2PMQI6fSNo6KECg= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <87BD8591B71FC34D9C93B5BF52271F9A@namprd10.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: infinera.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2190.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99cd7245-2ffd-470e-a3b6-08d8241cc267 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2020 15:28:41.0522 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 285643de-5f5b-4b03-a153-0ae2dc8aaf77 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3Jw8RlZ+Wz+WFh2rNx0t/gnlGntm99Obc7/k7etffGsKNa30Iz6V0cMa9hREa0OgBgo5Ikl0kX1K30wD3lQUxA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1001MB2269 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTA3LTA5IGF0IDE1OjMwICswMjAwLCBSYXNtdXMgVmlsbGVtb2VzIHdyb3Rl Og0KPiBPbiAwOS8wNy8yMDIwIDE1LjI2LCBKb2FraW0gVGplcm5sdW5kIHdyb3RlOg0KPiA+IE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