From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753942AbcBEN6P (ORCPT ); Fri, 5 Feb 2016 08:58:15 -0500 Received: from mga02.intel.com ([134.134.136.20]:39212 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753102AbcBEN6O (ORCPT ); Fri, 5 Feb 2016 08:58:14 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,400,1449561600"; d="scan'208";a="909220035" From: Alexander Shishkin To: Lucas Tanure Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] stm class: Use a signed return type for stm_find_master_chan In-Reply-To: <1453774842-25351-1-git-send-email-tanure@linux.com> References: <1453774842-25351-1-git-send-email-tanure@linux.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 05 Feb 2016 15:56:04 +0200 Message-ID: <87bn7v5ki3.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Lucas Tanure writes: > The return type "unsigned int" was used by the stm_find_master_chan function > despite of the aspect that it will eventually return a negative error code. > > Done with the help of Coccinelle. > > Signed-off-by: Lucas Tanure Applied to my queue, thank you! Regards, -- Alex