All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: andrzej.p@samsung.com
Cc: dri-devel@lists.freedesktop.org
Subject: [bug report] drm/exynos: Add driver for Exynos Scaler module
Date: Thu, 17 May 2018 16:34:59 +0300	[thread overview]
Message-ID: <20180517133459.GA15411@mwanda> (raw)

Hello Andrzej Pietrasiewicz,

The patch 01fb9185dc18: "drm/exynos: Add driver for Exynos Scaler
module" from May 9, 2018, leads to the following static checker
warning:

	drivers/gpu/drm/exynos/exynos_drm_scaler.c:402 scaler_task_done()
	warn: signedness bug returning '(-22)'

drivers/gpu/drm/exynos/exynos_drm_scaler.c
   399  
   400  static inline bool scaler_task_done(u32 val)
   401  {
   402          return val & SCALER_INT_STATUS_FRAME_END ? 0 : -EINVAL;
                                                               ^^^^^^^
   403  }
   404  

regards,
dan carpenter
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

                 reply	other threads:[~2018-05-17 13:35 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=20180517133459.GA15411@mwanda \
    --to=dan.carpenter@oracle.com \
    --cc=andrzej.p@samsung.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.