lkml.org 
[lkml]   [2015]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] intel_th: fix compile warning
Date
Arnd Bergmann <arnd@arndb.de> writes:

> The newly added MSU portion of the intel_th driver causes a harmless
> compile warning on 32-bit kernels:
>
> drivers/hwtracing/intel_th/msu.c: In function 'msc_single_to_user':
> include/linux/kernel.h:724:17: warning: comparison of distinct pointer types lacks a cast
>
> This changes the code to use min_t() to force the correct type and
> avoid that warning, which seems easier than changing the code to
> use consistent types everywhere.

This from yesterday:
http://marc.info/?l=linux-kernel&m=144412498425492

Regards,
--
Alex


\
 
 \ /
  Last update: 2015-10-07 12:01    [W:0.027 / U:2.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site