[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87k3ngtgme.fsf@intel.com>
Date: Fri, 03 May 2013 15:03:37 +0300
From: Jani Nikula <jani.nikula@...ux.intel.com>
To: Daniel Vetter <daniel@...ll.ch>, dl9pf@....de
Cc: airlied@...ux.ie, daniel.vetter@...ll.ch,
intel-gfx@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, pageexec@...email.hu
Subject: Re: [Intel-gfx] [PATCH] [TRIVIAL] Fix declaration of intel_gmbus_{is_forced_bit/is_port_falid} in i915 driver.
On Fri, 03 May 2013, Daniel Vetter <daniel@...ll.ch> wrote:
> On Fri, May 03, 2013 at 11:17:42AM +0200, dl9pf@....de wrote:
>> From: Jan-Simon Möller <dl9pf@....de>
>>
>> Description:
>> intel_gmbus_is_forced_bit is no extern as its body is right below.
>> Likewise for intel_gmbus_is_port_valid.
>>
>> This fixes a compilation issue with clang. An initial version of this patch
>> was developed by PaX Team <pageexec at freemail.hu>.
>> This is respin of this patch.
>>
>> Signed-off-by: Jan-Simon Möller <dl9pf@....de>
>> CC: pageexec@...email.hu
>> CC: daniel.vetter@...ll.ch
>> CC: airlied@...ux.ie
>> CC: intel-gfx@...ts.freedesktop.org
>> CC: dri-devel@...ts.freedesktop.org
>> CC: linux-kernel@...r.kernel.org
> Picked up for -fixes, thanks for the patch.
Please drop it.
The patch removes the inline keyword, creating dozens of copies of the
functions, and consequently loads of warnings:
drivers/gpu/drm/i915/i915_drv.h:1803:13: warning: ‘intel_gmbus_is_port_valid’ defined but not used [-Wunused-function]
drivers/gpu/drm/i915/i915_drv.h:1812:13: warning: ‘intel_gmbus_is_forced_bit’ defined but not used [-Wunused-function]
BR,
Jani.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists