From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753930AbbCINOB (ORCPT ); Mon, 9 Mar 2015 09:14:01 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:46377 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753148AbbCINN4 (ORCPT ); Mon, 9 Mar 2015 09:13:56 -0400 Date: Mon, 9 Mar 2015 16:13:43 +0300 From: Dan Carpenter To: Sudip Mukherjee Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] staging: sm7xxfb: change return of sm7xx_vga_setup Message-ID: <20150309131343.GG10964@mwanda> References: <1425836411-15481-1-git-send-email-sudipm.mukherjee@gmail.com> <1425836411-15481-3-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425836411-15481-3-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 08, 2015 at 11:10:11PM +0530, Sudip Mukherjee wrote: > change return type of sm7xx_vga_setup() to void as we are not using > the return type anywhere. if this function fails we fall back to the > default configuration. > > Signed-off-by: Sudip Mukherjee Reviewed-by: Dan Carpenter This patch is fine but if you wanted you could send a follow on which set it to SCREEN_X_RES, SCREEN_Y_RES, SCREEN_BPP if there were no options. Then remove the "if (smtc_scr_info.lfb_width != 0) " condition in smtcfb_pci_probe(). regards, dan carpenter