Date: Wed, 9 Jul 2014 21:55:34 +0000 (UTC) From: Aleksandr Rybalko <ray@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r268472 - head/sys/dev/fb Message-ID: <201407092155.s69LtYO2047000@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ray Date: Wed Jul 9 21:55:34 2014 New Revision: 268472 URL: http://svnweb.freebsd.org/changeset/base/268472 Log: Should check fb_read method presence instead of double check for fb_write. Pointed by: emaste Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/fb/fbd.c Modified: head/sys/dev/fb/fbd.c ============================================================================== --- head/sys/dev/fb/fbd.c Wed Jul 9 21:39:40 2014 (r268471) +++ head/sys/dev/fb/fbd.c Wed Jul 9 21:55:34 2014 (r268472) @@ -246,7 +246,7 @@ fb_probe(struct fb_info *info) return (ENXIO); if (info->fb_write != NULL) { - if (info->fb_write == NULL) { + if (info->fb_read == NULL) { return (EINVAL); } info->fb_flags |= FB_FLAG_NOMMAP;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407092155.s69LtYO2047000>