From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220AbbIOXHM (ORCPT ); Tue, 15 Sep 2015 19:07:12 -0400 Received: from mail-vk0-f42.google.com ([209.85.213.42]:36735 "EHLO mail-vk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752110AbbIOXHJ (ORCPT ); Tue, 15 Sep 2015 19:07:09 -0400 From: =?UTF-8?q?Marcos=20Can=C3=A1n?= To: gregkh@linuxfoundation.org Cc: tapaswenipathak@gmail.com, josh@joshtriplett.org, aedesymen@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Marcos=20Can=C3=A1n?= Subject: =?UTF-8?q?=5BPATCH=5D=20staging=3A=20wlan-ng=3A=20prism2fw=3A=20coding=20style=3A=20Fixed=20too=20long=20lines=2E?= Date: Tue, 15 Sep 2015 20:09:54 -0300 Message-Id: <1442358594-29077-1-git-send-email-mcanan@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a patch to the prism2fw.c file that fixes too long lines. Signed-off-by: Marcos CanĂ¡n --- drivers/staging/wlan-ng/prism2fw.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2fw.c b/drivers/staging/wlan-ng/prism2fw.c index 9408644..42d75e74 100644 --- a/drivers/staging/wlan-ng/prism2fw.c +++ b/drivers/staging/wlan-ng/prism2fw.c @@ -708,7 +708,9 @@ static int plugimage(struct imgchunk *fchunk, unsigned int nfchunks, continue; } - /* Validate plug address against chunk data and identify chunk */ + /* Validate plug address against chunk data + * and identify chunk + */ for (c = 0; c < nfchunks; c++) { cstart = fchunk[c].addr; cend = fchunk[c].addr + fchunk[c].len; @@ -923,7 +925,8 @@ static int read_fwfile(const struct ihex_binrec *record) rcnt, s3info[ns3info].len, s3info[ns3info].type); - if (((s3info[ns3info].len - 1) * sizeof(u16)) > sizeof(s3info[ns3info].info)) { + if (((s3info[ns3info].len - 1) * sizeof(u16)) > + sizeof(s3info[ns3info].info)) { pr_err("S3 inforec length too long - aborting\n"); return 1; } -- 1.7.10.4