Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754285AbbFTLUX (ORCPT ); Sat, 20 Jun 2015 07:20:23 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:35123 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752940AbbFTLUN (ORCPT ); Sat, 20 Jun 2015 07:20:13 -0400 Date: Sat, 20 Jun 2015 16:50:06 +0530 From: Sudip Mukherjee To: Dan Carpenter Cc: Greg KH , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, tomi.valkeinen@ti.com, linux-fbdev@vger.kernel.org Subject: Re: doubt about sm7xxfb (was: Re: [PATCH v4 0/7] staging: fsl-mc: New functionality to the MC bus driver) Message-ID: <20150620112006.GD29626@sudip-PC> References: <1433887148-2310-1-git-send-email-German.Rivera@freescale.com> <20150613001849.GB5234@kroah.com> <20150613084618.GA6492@sudip-PC> <20150619102913.GE30834@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150619102913.GE30834@mwanda> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1579 Lines: 36 On Fri, Jun 19, 2015 at 01:29:13PM +0300, Dan Carpenter wrote: > On Sat, Jun 13, 2015 at 02:16:18PM +0530, Sudip Mukherjee wrote: > > > > can you please have a look (when you are free) at it to see if anything > > else needs to be done. > > Remove any unused macros. I will check. > Cleanup indenting in the .h file. done. > drivers/staging/sm7xxfb/sm7xxfb.c:821 smtcfb_pci_probe() warn: 'smtc_regbaseaddress' can't be NULL. i dont see this warning. Is it smatch? > move the BIG_ENDIAN ifdefs to the .h file. I don't understand why only > big endian systems get a fb_read/write? Greg asked to remove the BIG_ENDIAN ifdefs. for BIG_ENDIAN some calculations are involved that is why the functions are defined. LITTLE_ENDIAN will use the default read/write provided by fb core. > cleanup comments. make sure they are up to date and make sense. will do. > cleanup function declarations. Make the style consistent. i think its already done, with Joe's help. > run checkpatch.pl --strict done. > Remind me we need the #ifndef MODULE? This one I introduced with the plan that if it is built-in then it will use the commandline to get the mode, but if it is a module then it will use module parameters. But later Greg told that framebuffers should not use module_param. I dont see any reason why a module can nor get the mode values from the command line. I will test that during this period of the merge window and prepare the final patch. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/