From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59270 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932424AbcJQSjw (ORCPT ); Mon, 17 Oct 2016 14:39:52 -0400 Date: Mon, 17 Oct 2016 20:39:45 +0100 From: Andrey Utkin To: Laurent Pinchart Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Mauro Carvalho Chehab , Hans Verkuil , Geunyoung Kim , Inki Dae , Junghak Sung , Julia Lawall , Robert Jarzmik , Guennadi Liakhovetski , Wei Yongjun , Arnd Bergmann Subject: Re: [PATCH 54/57] [media] platform: don't break long lines Message-ID: <20161017193945.GA21569@stationary.pb.com> References: <68fc2da43db37e66ec6a3e1ff0e750b73c3b0f42.1476475771.git.mchehab@s-opensource.com> <3227277.L9jDJkdF0E@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3227277.L9jDJkdF0E@avalon> Sender: linux-media-owner@vger.kernel.org List-ID: On Mon, Oct 17, 2016 at 04:45:06PM +0300, Laurent Pinchart wrote: > If you really want to perform such a change, let's not make lines > unnecessarily long either. You should add a line break after the first and > second argument: > > dprintk(ctx->dev, > "%s data will not fit into plane(%lu < %lu)\n", > __func__, vb2_plane_size(vb, 0), > (long)q_data->sizeimage); > > And everything will fit in 80 columns. Same happens in other places, e.g. the hunk for cx8802_unregister_driver() in another patch in this series, and not just one time (looked just patches where I was a direct recipient). There is a printing function call with previously split string literal, followed by several arguments. This unnecessarily long function call is now a single line. Maybe the remaining manual work may be outsourced to seekers of janitor tasks?