Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758685AbbBGTJm (ORCPT ); Sat, 7 Feb 2015 14:09:42 -0500 Received: from mail-la0-f49.google.com ([209.85.215.49]:37072 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754860AbbBGTJk (ORCPT ); Sat, 7 Feb 2015 14:09:40 -0500 Message-ID: <54D662F0.7060206@cogentembedded.com> Date: Sat, 07 Feb 2015 22:09:36 +0300 From: Sergei Shtylyov Organization: Cogent Embedded User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Bas Peters , isdn@linux-pingi.de CC: julia.lawall@lip6.fr, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] drivers: isdn: act2000: capi.c: fix checkpatch errors References: <1423335929-24926-1-git-send-email-baspeters93@gmail.com> <1423335929-24926-3-git-send-email-baspeters93@gmail.com> In-Reply-To: <1423335929-24926-3-git-send-email-baspeters93@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 38 On 02/07/2015 10:05 PM, Bas Peters wrote: > This patch fixes the following checkpatch errors: > 1. trailing statement > 1. assignment of variable in if condition > 1. incorrectly placed brace after function definition > Signed-off-by: Bas Peters > --- > drivers/isdn/act2000/capi.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > diff --git a/drivers/isdn/act2000/capi.c b/drivers/isdn/act2000/capi.c > index 3f66ca2..5d677e6 100644 > --- a/drivers/isdn/act2000/capi.c > +++ b/drivers/isdn/act2000/capi.c > @@ -113,7 +113,8 @@ actcapi_chkhdr(act2000_card *card, actcapi_msghdr *hdr) > m->hdr.cmd.cmd = c; \ > m->hdr.cmd.subcmd = s; \ > m->hdr.msgnum = actcapi_nextsmsg(card); \ > - } else m = NULL; \ > + } else Backslash is still missing here. > + m = NULL; \ > } > > #define ACTCAPI_CHKSKB if (!skb) { \ [...] WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/