Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1067836ybl; Wed, 14 Aug 2019 10:11:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4vu50mUaUsI0Ov4h9blD3jikey/ADyq6YTIRzfUcpn1idEdS2ZvPuQZhKJf7U2YJP8aQG X-Received: by 2002:a17:902:d70a:: with SMTP id w10mr366184ply.251.1565802662159; Wed, 14 Aug 2019 10:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802662; cv=none; d=google.com; s=arc-20160816; b=SIbiidoJvwxSSeRwxfHClZ0c40MxaTKwmXFtfTtMv9oVyG14EAmbXXkISObXVZHILY K7xl6uKG5/6c5YXcfob0qqu2CP6vTT4mWCWokn07BDc8q2lnPrjVPPoaWgURP5a/qWOg YLVhtAvlrjKOzx7gNd8dlle0QYnqHbHvAPz9QxPMMpMRfoL4yrhZwSiRfnwYC4RfnLVQ zJ7o2q6TVNlOwfID3GlKm/Z1zmgzX+9PNZFaqwXXRAgdGtnZOOuU9pPVsoz0SnqmMVqS xp4XrkdXS+xevw5I/7oTJrbl4U0WV/HxYy9qVXmEGKVTutMRNOmY5+rMCavU1jWgZkyY yhPA== 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=hoHBj97W1iAtAwihrQDn8AbInghnekOnmIE1INvBE1K7ON1a1QNRJ9jElFA8sr9kKQ Ukz0FDF6+LgrwvxwTu1HvSvTOIAHmUixEq1VI+hHIxG3a58T8mWV8DTd6I3EBMpLOnQJ oVqeDh5JAGdn2bKhAMMIb+s0ZdllPOXssrLOVxhHaHqjOJnb3v+yUJSb7OEwF6hoSdbe xRS+pETuMDUopL3N4PhIJ6t1LoDmk/jz8LKNvefOsQ4VUGd43xD3E19Ear2Z00iMsLqX tabU2h+9241u42BNBaaoAJbfhZXy6kAhYbWffudPDliFyPgnYnLzl3C6rZ2EwPBGeBQa 2fUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="VN/Ii/Kx"; 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 m10si187451pjs.85.2019.08.14.10.10.44; Wed, 14 Aug 2019 10:11:02 -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="VN/Ii/Kx"; 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 S1729329AbfHNRJ4 (ORCPT + 99 others); Wed, 14 Aug 2019 13:09:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:60490 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730396AbfHNRJx (ORCPT ); Wed, 14 Aug 2019 13:09:53 -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 52560214DA; Wed, 14 Aug 2019 17:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802592; bh=ocwnyKs1rifK7iP2Y5EL/eziwLUfhU6jkrxnY1uaWtw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VN/Ii/KxB0tKA7c/3XaSlruejrvjc0ninsIs6kFZTrf1Xcjmaj7tDMwPJMQotkz8C CAxGuAUePDoMTJTLrBx9Xip7C5rnk62kIppBqzGPlyGmdfogca0RIru2DT4a4KQoJY zgLAn4lRTdZn/P0fRqb/jRKQNd9YkWn3cbRklQxk= 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.19 02/91] iio: adc: max9611: Fix misuse of GENMASK macro Date: Wed, 14 Aug 2019 19:00:25 +0200 Message-Id: <20190814165749.068181696@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165748.991235624@linuxfoundation.org> References: <20190814165748.991235624@linuxfoundation.org> User-Agent: quilt/0.66 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