Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3808967ybb; Mon, 23 Mar 2020 08:05:52 -0700 (PDT) X-Google-Smtp-Source: ADFU+vthIPg4B/7cBI5GUycni51wzyrKbU4HninSFwWimc+8Pyliq2N0v2kfBj5Aw6qjFRRxUJW/ X-Received: by 2002:aca:5712:: with SMTP id l18mr12944284oib.178.1584975952212; Mon, 23 Mar 2020 08:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584975952; cv=none; d=google.com; s=arc-20160816; b=f4zwk4STkEQZ7lN22lw8823r9Mm/outUeUZ/uikPGDnfvtiVJ785uBdEFsH7LIaUHK 9Ts+F0IzFO1vE39m29mXobFupX9XXtgkCtJMcekmihP5kqrNcL2Y+vitj77Arr1sKgJ0 PRXg4+YS8d7TtHLwsjfsLsvlT5b2PfKpvN13gWRalIdgRtAGPLjZsRs/BdIcNOaG34Kj e0YsXekvZp0mXZdRQyHX8TWhz9AwEJOYkXYoqpcN7aNKJNNzhhjPY/E30hyqwHIrTond aGr8VuQsIShTKdptcZOk2WDTliaTLYR6lBo0Q6kv0sfFqLl1YX2AaJA59gJPtdnHXhJJ sCEA== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=y8TfdBdtprZLuEoOMsMPCmbmbPqoiUDwuCqKqH6cMHE=; b=amD4X2ERqZmJacjCxZ+7qMD199ioSodIb8hpP4JJmeVyYypdb2/D7RcfPZI80j//sp A72qUyrXKsDm+ppPTbZLKDJepM6dC//iC957yZPQqIcn+A2Rxh7ZXawMn26giYgbroI5 fR0btpcBHTXfrj+WTBLueeb8jZYz9lo5J8REoFxwutHzmh1VyiardEJ7frlf27gQwzsU 5/8Rj7sefxD5MAqXPA87J6UlwzB7hab9Z/KRl/06VJ0mPopgDmLq66+72fQhQUgdD7J7 ezt877vyqL1Osr7DrDzq5htyX4QwD2bYXiqbiJAGhbvEJjsi+2YwKSfYX5DdqJMh1dAM YMDQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si1906617otf.51.2020.03.23.08.05.23; Mon, 23 Mar 2020 08:05:52 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727159AbgCWPE1 (ORCPT + 99 others); Mon, 23 Mar 2020 11:04:27 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:43638 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbgCWPE1 (ORCPT ); Mon, 23 Mar 2020 11:04:27 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-230-B2u6v4l1P-67PVtv6VFiCw-1; Mon, 23 Mar 2020 15:04:24 +0000 X-MC-Unique: B2u6v4l1P-67PVtv6VFiCw-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 23 Mar 2020 15:04:23 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Mon, 23 Mar 2020 15:04:23 +0000 From: David Laight To: 'Andy Shevchenko' , Rohit Sarkar CC: Andy Shevchenko , linux-iio , Linux Kernel Mailing List , Jonathan Cameron , "dragos.bogdan@analog.com" , Lars-Peter Clausen , Michael Hennerich , "Stefan Popa" , Hartmut Knaack , "Peter Meerwald" Subject: RE: [PATCH] iio: gyro: adis16136: use scnprintf instead of snprintf Thread-Topic: [PATCH] iio: gyro: adis16136: use scnprintf instead of snprintf Thread-Index: AQHWADSGKND5IUy8BE2X+HWi1cqZDKhWRidA Date: Mon, 23 Mar 2020 15:04:23 +0000 Message-ID: <81821e142e3c48febb7ab357dd200992@AcuMS.aculab.com> References: <5e723666.1c69fb81.3545b.79c3@mx.google.com> <20200322002542.GA2826015@smile.fi.intel.com> <5e77017a.1c69fb81.dc341.8ab9@mx.google.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQW5keSBTaGV2Y2hlbmtvDQo+IFNlbnQ6IDIyIE1hcmNoIDIwMjAgMTA6MjcNCj4gT24g U3VuLCBNYXIgMjIsIDIwMjAgYXQgODoxMSBBTSBSb2hpdCBTYXJrYXIgPHJvaGl0c2Fya2FyNTM5 OEBnbWFpbC5jb20+IHdyb3RlOg0KPiA+DQo+ID4gT24gU3VuLCBNYXIgMjIsIDIwMjAgYXQgMDI6 MjU6NDJBTSArMDIwMCwgQW5keSBTaGV2Y2hlbmtvIH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