From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [nouveau:master 86/96] drivers/gpu/drm/nouveau/core/subdev/therm/base.c:38:2: warning: enumeration
Date: Thu, 27 Sep 2012 06:10:57 +0000 [thread overview]
Message-ID: <20120927061057.GB26998@localhost> (raw)
Hi Martin,
FYI, there are new compile warnings show up in
tree: git://git.freedesktop.org/git/nouveau/linux-2.6 master
head: 301e77f5b7968ff10eac8f3938c30963d8fc0ac3
commit: c4f52f28c561f0243be6916e5777f4ff017ed82e [86/96] drm/nouveau/therm: move thermal-related functions to the therm subdev
All warnings:
drivers/gpu/drm/nouveau/core/subdev/therm/base.c: In function 'nouveau_therm_attr_get':
drivers/gpu/drm/nouveau/core/subdev/therm/base.c:38:2: warning: enumeration value 'NOUVEAU_THERM_ATTR_FAN_MODE' not handled in switch [-Wswitch]
drivers/gpu/drm/nouveau/core/subdev/therm/base.c: In function 'nouveau_therm_attr_set':
drivers/gpu/drm/nouveau/core/subdev/therm/base.c:70:2: warning: enumeration value 'NOUVEAU_THERM_ATTR_FAN_MODE' not handled in switch [-Wswitch]
vim +38 drivers/gpu/drm/nouveau/core/subdev/therm/base.c
c4f52f28 (Martin Peres 2012-09-02 22) * Authors: Martin Peres
c4f52f28 (Martin Peres 2012-09-02 23) */
c4f52f28 (Martin Peres 2012-09-02 24)
c4f52f28 (Martin Peres 2012-09-02 25) #include <core/object.h>
c4f52f28 (Martin Peres 2012-09-02 26) #include <core/device.h>
c4f52f28 (Martin Peres 2012-09-02 27)
c4f52f28 (Martin Peres 2012-09-02 28) #include <subdev/bios.h>
c4f52f28 (Martin Peres 2012-09-02 29)
c4f52f28 (Martin Peres 2012-09-02 30) #include "priv.h"
c4f52f28 (Martin Peres 2012-09-02 31)
c4f52f28 (Martin Peres 2012-09-02 32) int
c4f52f28 (Martin Peres 2012-09-02 33) nouveau_therm_attr_get(struct nouveau_therm *therm,
c4f52f28 (Martin Peres 2012-09-02 34) enum nouveau_therm_attr_type type)
c4f52f28 (Martin Peres 2012-09-02 35) {
c4f52f28 (Martin Peres 2012-09-02 36) struct nouveau_therm_priv *priv = (void *)therm;
c4f52f28 (Martin Peres 2012-09-02 37)
c4f52f28 (Martin Peres 2012-09-02 @38) switch (type) {
c4f52f28 (Martin Peres 2012-09-02 39) case NOUVEAU_THERM_ATTR_FAN_MIN_DUTY:
c4f52f28 (Martin Peres 2012-09-02 40) return priv->bios_fan.min_duty;
c4f52f28 (Martin Peres 2012-09-02 41) case NOUVEAU_THERM_ATTR_FAN_MAX_DUTY:
c4f52f28 (Martin Peres 2012-09-02 42) return priv->bios_fan.max_duty;
c4f52f28 (Martin Peres 2012-09-02 43) case NOUVEAU_THERM_ATTR_THRS_FAN_BOOST:
c4f52f28 (Martin Peres 2012-09-02 44) return priv->bios_sensor.thrs_fan_boost.temp;
c4f52f28 (Martin Peres 2012-09-02 45) case NOUVEAU_THERM_ATTR_THRS_FAN_BOOST_HYST:
c4f52f28 (Martin Peres 2012-09-02 46) return priv->bios_sensor.thrs_fan_boost.hysteresis;
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
next reply other threads:[~2012-09-27 6:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 6:10 Fengguang Wu [this message]
2012-09-27 17:53 ` [nouveau:master 86/96] drivers/gpu/drm/nouveau/core/subdev/therm/fan.c:134:29: sparse: constant Fengguang Wu
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=20120927061057.GB26998@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@vger.kernel.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