Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753304AbdFSAhz (ORCPT ); Sun, 18 Jun 2017 20:37:55 -0400 Received: from smtprelay0210.hostedemail.com ([216.40.44.210]:54440 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752891AbdFSAhy (ORCPT ); Sun, 18 Jun 2017 20:37:54 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:1801:2393:2553:2559:2562:2693:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3868:3870:3871:3872:3873:4321:4605:5007:7514:10004:10400:10848:11232:11233:11658:11914:12740:12760:12895:13069:13311:13357:13439:14181:14659:14721:21080:21451:21627:30029:30054:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: arch68_61b46892ded09 X-Filterd-Recvd-Size: 2145 Message-ID: <1497832670.8495.33.camel@perches.com> Subject: Re: [patch v2 2/3] staging: speakup: check and convert dev name or ser to dev_t From: Joe Perches To: Andy Shevchenko , Okash Khawaja Cc: Greg Kroah-Hartman , Jiri Slaby , Samuel Thibault , "linux-kernel@vger.kernel.org" , William Hubbs , Chris Brannon , Kirk Reiser , speakup@linux-speakup.org, devel@driverdev.osuosl.org Date: Sun, 18 Jun 2017 17:37:50 -0700 In-Reply-To: References: <20170618085825.601359240@gmail.com> <20170618093536.021961426@gmail.com> <20170618172206.GA393@sanghar> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 18 On Sun, 2017-06-18 at 22:54 +0300, Andy Shevchenko wrote: > On Sun, Jun 18, 2017 at 8:22 PM, Okash Khawaja wrote: > > On Sun, Jun 18, 2017 at 04:35:21PM +0300, Andy Shevchenko wrote: > > > > + if (ser < 0 || ser > (255 - 64)) { > > > > + pr_err("speakup: Invalid ser param. \ > > > > + Must be between 0 and 191 inclusive.\n"); > > > > > > Just make it one line. > > > > Is it okay if it becomes larger than 80 chars? > > Yes. Even checkpatch will not complain in this case. And even if it didn't, as written it's a defect because line continuations don't act like string concatenations. You've added a space before the line continuation \ and a bunch of whitespace before the word Must