Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1071809ybl; Wed, 14 Aug 2019 10:14:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7FJJhCxoTI+8FdrxYH/5XZxZTZq5YXNPhD4Eggd9VQT7stjdggnZUCBqMEwAKkfYoqGiS X-Received: by 2002:aa7:9293:: with SMTP id j19mr1073041pfa.90.1565802863466; Wed, 14 Aug 2019 10:14:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802863; cv=none; d=google.com; s=arc-20160816; b=GJHlA4Tv/S38h11aMjnqKvIPIGdR0gpp73ZWQX1GVaSbr3qWmyzA2WHdGdWJW8elzg mZvyt6U8g/Q17kVjPh9kbvy/UEaRvIrLbFuo39lHjUnnzeoZCgwxyA+PwxHXag3DwhBd 6skaEWgDP6LoXuER7M/FKMWiyPlYMYqACUryXJ6TrDz5yGi3YgGwoyij+ipdAvUHbUYB ulaEm93ERNQgik6l+RjYs1Vw/hqJ8zgpNq7yX209fpQwmc/Eb4oL9qH0km8mFe8ZJzvn mlIUv7huO6If8B48iWpQHjuiP/WZ2q4ISYAkmwVOilqRNLz2q+mfpvJSQq7WiB+wfDN+ m1oA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=INcGqXdQS3GaxAUM5dyL/lvh1AGYHJeE4qaD3Pika+w=; b=myBNFc0KvYIc+HSC2X8gy8R3JX9NQ/DmNsY9xwc/EIH42SbOShFVlWX4wwD1NLXDwm tjb91/yuR/poC0wECRUjUP0wFMFCL28EeOr07E+BbJdHau/d2eUA/qJRIOnUnihMvag9 cwW18P0+8voi5ZgfPAAcQH4qR0dtcrmFN47hlP/WcgyGsZHRhF9q11/opcbvQWNY0TIZ 8cIVdi7mXo7ZIMu9WyvHsyRRL6N6PgL7eZpX7RotCmAJe2/+LB6bHuU/AS9WJLDmIgcl ohFBetiUSlTFyhPpG86s/F+Wl/mfLvVo3gW0W+HmAXPNI8FSy2Vtgv6ecCubzZc5N6rX LZFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HKWwuPqc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si180641pgs.333.2019.08.14.10.14.07; Wed, 14 Aug 2019 10:14:23 -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=HKWwuPqc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729168AbfHNRM0 (ORCPT + 99 others); Wed, 14 Aug 2019 13:12:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:36218 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729616AbfHNRMY (ORCPT ); Wed, 14 Aug 2019 13:12:24 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 513062063F; Wed, 14 Aug 2019 17:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802743; bh=ocwnyKs1rifK7iP2Y5EL/eziwLUfhU6jkrxnY1uaWtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HKWwuPqcHNdeWO+fu0XvF5OyV65xw2Qt9lcv66HSMK7sftgsntAEy6wO242F3qoKU QpRMVOPn26OqbVgQ6Ah/m1fePBrqMF6dvbP2Q+s06uUoDI0kIHbkdG/fVGd9otM2z3 K9nnejGYe+v0gTABD3V0Dq9HZw36aIgSeSKulBHg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joe Perches , Stable@vger.kernel.org, Jonathan Cameron Subject: [PATCH 4.14 01/69] iio: adc: max9611: Fix misuse of GENMASK macro Date: Wed, 14 Aug 2019 19:00:59 +0200 Message-Id: <20190814165745.273353691@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165744.822314328@linuxfoundation.org> References: <20190814165744.822314328@linuxfoundation.org> User-Agent: quilt/0.66 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Joe Perches commit ae8cc91a7d85e018c0c267f580820b2bb558cd48 upstream. Arguments are supposed to be ordered high then low. Signed-off-by: Joe Perches Fixes: 69780a3bbc0b ("iio: adc: Add Maxim max9611 ADC driver") Cc: Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/iio/adc/max9611.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/iio/adc/max9611.c +++ b/drivers/iio/adc/max9611.c @@ -86,7 +86,7 @@ #define MAX9611_TEMP_MAX_POS 0x7f80 #define MAX9611_TEMP_MAX_NEG 0xff80 #define MAX9611_TEMP_MIN_NEG 0xd980 -#define MAX9611_TEMP_MASK GENMASK(7, 15) +#define MAX9611_TEMP_MASK GENMASK(15, 7) #define MAX9611_TEMP_SHIFT 0x07 #define MAX9611_TEMP_RAW(_r) ((_r) >> MAX9611_TEMP_SHIFT) #define MAX9611_TEMP_SCALE_NUM 1000000