Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4075503imm; Sat, 21 Jul 2018 09:32:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdEis6c+SnKeo0puy/hfrBTjQBiNysrOuGBOdh7+i8luMidLmn+aRUj4aG0vN22LdOGLZ3Z X-Received: by 2002:a17:902:b612:: with SMTP id b18-v6mr6339672pls.131.1532190758818; Sat, 21 Jul 2018 09:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532190758; cv=none; d=google.com; s=arc-20160816; b=cccIsHrIBpViJ7euyovhtvN6Iipd6sCM70dsRkPg3SqgHu1PSYqsxxLhHWzp1bv1EH puUSXW4i96pX5DOQKsB+8MONUlyMuyHXhN/khv+i17+86DyyaibqQNaB3WxUmjBygxSV JaG7+tO+Lh0ZB5EVhN3x6IArBhPQRIMkU1n+9I/QCMVo7aaKQLItnMtEn2bhNKeKWcWg Zq1/6gXJOibHiTgPlfr4wbnDvJJ13aPZBQwVC4ogOXcR94RMrlx8ZCLaMQOsRhNLJOOk Y0jRS74cR0RQEeTpgHJPM20lzIvB5jRMQE5rK9T238a+VmxnRvTC8p5H4Nra3fEwcQj3 hFwg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=qy4DR2+BPdJO/7aXMNl9E0fckfGiTt0jSYDZulF9Jjs=; b=UtaDzd7XZNFw5rYQ0B7zQ8Fu1hPLXTTF0fe5z/Y/UMGQIsw4UbIi0di51eRbPMTn3t nd1qLD0SfGSo8Gqq2uxhhLwzaVr9XG/A2CybAaDJbhESwuFsddb8rAuxE3gy70UWfxLC 314s7RHysg/cm47LX7vC3Xt8YS0rIf9IJekKmN1iWQQ82durid0uaVZxC0zSoT3bLdc2 BVOkE7ltL3Aika75kfbgeAoe3yAw0Yut7chwhff4D3OlGAuFxuHI1GBssS+nncrEGOwt Z5gNUk9nNzuYEl9n7CbCTua8iI9Cv9q0tBfgPNKgn6VpVZOqIVYkrYpwDr1GLTbDV2JP hTzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rSXqP3el; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 16-v6si4185747pfy.169.2018.07.21.09.32.24; Sat, 21 Jul 2018 09:32:38 -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=@kernel.org header.s=default header.b=rSXqP3el; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728005AbeGURYx (ORCPT + 99 others); Sat, 21 Jul 2018 13:24:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:43278 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727876AbeGURYx (ORCPT ); Sat, 21 Jul 2018 13:24:53 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5200120849; Sat, 21 Jul 2018 16:31:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532190695; bh=DLgY/h6sWsqD8zZ/GyYJPXNGKkVn5luzXAhGMLi1xAQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rSXqP3eltiUJXLoZ/dp8X1miN4HKwFvgpdqVhJ6ZssfC6bL4pczhSGs8RxN2lRUtb h5oLpjakVC/Zs21COa+bmOzbhP4U+qnc+oU9/kEtoGx4ihxBVfTrYxKlP3FnRkzgOj a68kLNRBKsXx9iC77Pw16qFazFX1VPDyaXh0IWP4= Date: Sat, 21 Jul 2018 17:31:31 +0100 From: Jonathan Cameron To: Himanshu Jha Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Daniel Baluta Subject: Re: [PATCH v4] iio: chemical: Add support for Bosch BME680 sensor Message-ID: <20180721173131.6be1579f@archlinux> In-Reply-To: <20180721153607.GA11127@himanshu-Vostro-3559> References: <1532122284-19602-1-git-send-email-himanshujha199640@gmail.com> <20180721161934.75066d97@archlinux> <20180721153607.GA11127@himanshu-Vostro-3559> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 21 Jul 2018 21:06:08 +0530 Himanshu Jha wrote: > > Hi Himanshu, > > > > This was close to the point where I'd take it and make the few remaining > > fixes myself. I'm still bothered however by the fact the casts in the > > various calibration functions are still not all justified so please take > > another look at that. Frankly it looks like the original author > > threw in casts because they didn't want to have to think about which ones > > actually do anything! > > Ok. I will remove the ones mentioned below. > > > Few other things to fix up for v5 as well. > > I will send the fixes in an hour. > > > Jonathan > > > > > > > +#define BME680_NB_CONV_MASK GENMASK(3, 0) > > > +#define BME680_RUN_GAS_EN_BIT BIT(4) > > > > odd looking spacing above. > > I don't know why this is showing like that in the diff output, but I > have checked the code by apllying to my test tree(git am ) and > there was no such spurious spacing! You have a tab after the #define in this one instance - in the others it's all spaces (as it should be) ...