From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 8 Jan 2015 16:40:35 +0100 Subject: [U-Boot] [PATCH v2 05/11] videomodes: Add helper functions to parse video-mode env-var extra options In-Reply-To: <1419009041-31057-6-git-send-email-hdegoede@redhat.com> References: <1419009041-31057-1-git-send-email-hdegoede@redhat.com> <1419009041-31057-6-git-send-email-hdegoede@redhat.com> Message-ID: <20150108164035.31632ab0@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 19 Dec 2014 18:10:35 +0100 Hans de Goede wrote: > Add 2 helper functions to get strings, reps. ints from the options value > returned by video_get_video_mode() / video_get_ctfb_res_modes(). > > Signed-off-by: Hans de Goede before applying please fix these checkpatch warnings: WARNING: space prohibited between function name and open parenthesis '(' #32: FILE: drivers/video/videomodes.c:116: +video_get_param_len (const char *start, char sep) WARNING: space prohibited between function name and open parenthesis '(' #58: FILE: drivers/video/videomodes.c:334: + while (p && (i = video_get_param_len (p, ',')) != 0) { WARNING: space prohibited between function name and open parenthesis '(' #88: FILE: drivers/video/videomodes.c:364: + while (p && (i = video_get_param_len (p, ',')) != 0) { total: 0 errors, 3 warnings, 0 checks, 77 lines checked With these warnings fixed, Acked-by: Anatolij Gustschin