[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87h9m3hv2h.fsf@ashishki-desk.ger.corp.intel.com>
Date: Wed, 07 Oct 2015 12:44:22 +0300
From: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
To: Arnd Bergmann <arnd@...db.de>, gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] intel_th: fix compile warning
Arnd Bergmann <arnd@...db.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
--
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