dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "François Valenduc" <francoisvalenduc@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: Compile warnings with linux 4.2-rc1 on i915_debugfs_connector_add
Date: Sun, 12 Jul 2015 17:51:38 +0200	[thread overview]
Message-ID: <55A28D0A.2000008@gmail.com> (raw)

Hello everybody,

I get plenty of time the same compile warnings with linux 4.2-rc1:

In file included from drivers/gpu/drm/i915/intel_drv.h:32:0,
                 from drivers/gpu/drm/i915/i915_dma.c:36:
drivers/gpu/drm/i915/i915_drv.h: In function ‘i915_debugfs_connector_add’:
drivers/gpu/drm/i915/i915_drv.h:3119:53: attention : « return » manquant
dans une fonction devant retourner une valeur [-Wreturn-type]
 static inline int i915_debugfs_connector_add(struct drm_connector
*connector) {}

The warnings still occur with the latest git tree. I have compiled the
kernel with LC_ALL=C but the end of the message is still in french. So,
it complains that the function should return a value.

Is it really a problematic warning ?

Thanks in advance for your help,

François Valenduc
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

                 reply	other threads:[~2015-07-12 15:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55A28D0A.2000008@gmail.com \
    --to=francoisvalenduc@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox