Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751219AbdFCR6e (ORCPT ); Sat, 3 Jun 2017 13:58:34 -0400 Received: from mail-qt0-f174.google.com ([209.85.216.174]:36481 "EHLO mail-qt0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbdFCR6c (ORCPT ); Sat, 3 Jun 2017 13:58:32 -0400 MIME-Version: 1.0 In-Reply-To: <20170603083741.GB29531@kroah.com> References: <1496443518-18497-1-git-send-email-srishtishar@gmail.com> <20170603083741.GB29531@kroah.com> From: srishti sharma Date: Sat, 3 Jun 2017 23:28:31 +0530 Message-ID: Subject: Re: [PATCH] Staging: ccree: ssi_aead.h: Fixed a pointer declaration error. To: Greg KH Cc: Gilad Ben-Yossef , devel@driverdev.osuosl.org, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 803 Lines: 29 Hey, checkpatch.pl generated two errors , because the dereferencing operator was placed next to the structure name instead of being placed with the pointer . for eg: struct scatterlist* srcSgl; (this was giving an error) whereas struct scatterlist *srcSgl; (this did not give an error) Both of them will compile , but the second one is a better representation of it and does not produce an error on running checkpatch.pl . Regards, Srishti On Sat, Jun 3, 2017 at 2:07 PM, Greg KH wrote: > On Sat, Jun 03, 2017 at 04:15:17AM +0530, srishti sharma wrote: >> Fixed a pointer declaration error , the dereferencing operator was misplaced. > > Odd use of a , > > Also, I don't understand what was "misplaced" here? There does not seem > to be a "error" fixed here... >