Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbdF0BkA (ORCPT ); Mon, 26 Jun 2017 21:40:00 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:33425 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbdF0Bjr (ORCPT ); Mon, 26 Jun 2017 21:39:47 -0400 Date: Mon, 26 Jun 2017 18:39:42 -0700 From: Nick Desaulniers To: Dmitry Torokhov Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] Input: mousedev - fix implicit conversion warning Message-ID: <20170627013942.5yr5peskvhfa3rht@lostoracle.net> References: <20170526154029.9405-1-nick.desaulniers@gmail.com> <20170530054151.16639-1-nick.desaulniers@gmail.com> <20170625180609.GA8697@dtor-ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170625180609.GA8697@dtor-ws> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 263 Lines: 8 On Sun, Jun 25, 2017 at 11:06:09AM -0700, Dmitry Torokhov wrote: > Hi Nick, > > Since the time the code was written we got nice helpers to clamp the > values. Does the following work for you or it still leaves clang > unhappy? LGTM, no more warnings with Clang.