Return-Path: Received: from smtp115.iad3a.emailsrvr.com ([173.203.187.115]:46240 "EHLO smtp115.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761437AbcALSBj (ORCPT ); Tue, 12 Jan 2016 13:01:39 -0500 Subject: Re: [PATCH v2] staging: comedi: ni_tiocmd: change mistaken use of start_src for start_arg To: "Spencer E. Olson" , devel@driverdev.osuosl.org References: <56951A9A.8060409@mev.co.uk> <1452619998-14586-1-git-send-email-olsonse@umich.edu> Cc: H Hartley Sweeten , Greg Kroah-Hartman , stable@vger.kernel.org From: Ian Abbott Message-ID: <56953E32.10101@mev.co.uk> Date: Tue, 12 Jan 2016 17:56:02 +0000 MIME-Version: 1.0 In-Reply-To: <1452619998-14586-1-git-send-email-olsonse@umich.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 12/01/16 17:33, Spencer E. Olson wrote: > This fixes a bug in function ni_tio_input_inttrig(). The trigger number > should be compared to cmd->start_arg, not cmd->start_src. > > Fixes: 6a760394d7eb ("staging: comedi: ni_tiocmd: clarify the > cmd->start_arg validation and use") > Cc: # 3.17+ > Signed-off-by: Spencer E. Olson > --- > Added description suggested by Ian and Dan. Added Fixes:, CC: tags as > suggested by Ian. > > drivers/staging/comedi/drivers/ni_tiocmd.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) It's okay, except that I don't think you can split the Fixes: line like that. (Maybe you can split it by prefixing the continuation lines with whitespace, but it's easier to grep if it's all on one line, and this is a valid exemption to checkpatch warnings about line lengths in the description.) -- -=( Ian Abbott @ MEV Ltd. E-mail: )=- -=( Web: http://www.mev.co.uk/ )=-