Marc Zyngier
56041bf920
ARM: KVM: fix warning in mmu.c
...
Compiling with THP enabled leads to the following warning:
arch/arm/kvm/mmu.c: In function ‘unmap_range’:
arch/arm/kvm/mmu.c:177:39: warning: ‘pte’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (kvm_pmd_huge(*pmd) || page_empty(pte)) {
^
Code inspection reveals that these two cases are mutually exclusive,
so GCC is a bit overzealous here. Silence it anyway by initializing
pte to NULL and testing it later on.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
Acked-by: Christoffer Dall <christoffer.dall@linaro.org >
2014-03-03 01:15:25 +00:00
..
2014-02-15 15:01:33 -08:00
2014-01-23 18:40:49 -08:00
2014-02-10 10:38:06 -08:00
2014-01-05 13:59:56 +00:00
2013-12-13 12:50:30 -07:00
2014-03-03 01:15:24 +00:00
2014-03-03 01:15:23 +00:00
2014-03-03 01:15:25 +00:00
2013-12-29 12:32:45 +00:00
2014-01-23 18:40:49 -08:00
2014-01-16 14:25:38 +01:00
2014-01-02 12:07:52 -08:00
2013-12-13 16:31:07 +01:00
2014-01-23 18:40:49 -08:00
2014-01-23 18:49:36 -08:00
2013-11-24 02:36:55 +00:00
2013-08-25 17:11:02 +01:00
2013-12-16 17:51:33 +01:00
2013-11-25 14:24:28 -08:00
2014-01-24 15:51:02 -08:00
2014-01-24 17:17:30 -08:00
2013-11-12 15:50:46 +09:00
2014-01-21 21:26:33 +00:00
2014-02-02 19:52:42 -08:00
2014-02-10 10:37:32 -08:00
2014-01-31 14:58:52 -08:00
2013-11-14 11:04:38 -08:00
2014-01-31 14:58:53 -08:00
2013-09-20 23:05:19 +02:00
2014-01-23 18:40:49 -08:00
2014-01-31 15:03:53 -08:00
2014-01-31 14:59:28 -08:00
2013-12-03 11:26:05 +01:00
2013-12-03 11:26:06 +01:00
2014-01-23 18:40:49 -08:00
2014-02-02 19:52:45 -08:00
2014-01-23 18:49:36 -08:00
2013-12-03 11:26:06 +01:00
2014-01-31 14:59:28 -08:00
2013-11-11 17:34:56 +09:00
2013-11-28 21:08:42 +01:00
2013-09-29 21:09:37 +02:00
2014-01-23 18:40:49 -08:00
2014-02-02 19:52:53 -08:00
2013-11-24 03:02:20 +00:00
2013-12-11 16:24:34 -08:00
2014-02-10 10:33:04 -08:00
2013-09-06 13:21:16 -07:00
2013-11-11 16:57:16 +09:00
2013-08-25 17:11:02 +01:00
2014-01-23 18:36:55 -08:00
2014-01-23 18:36:55 -08:00
2013-10-16 09:05:57 +02:00
2013-10-16 09:05:57 +02:00
2013-11-16 12:21:40 -08:00
2014-01-24 15:51:02 -08:00
2014-02-02 19:52:53 -08:00
2013-12-03 14:19:48 -08:00
2013-10-07 10:41:32 -07:00
2013-12-11 16:24:34 -08:00
2014-01-23 18:40:49 -08:00
2014-01-23 18:49:36 -08:00
2014-01-23 18:40:49 -08:00
2014-01-23 18:45:38 -08:00
2013-12-20 18:22:47 +01:00
2013-11-25 14:12:14 -08:00
2013-10-07 10:41:32 -07:00
2013-10-01 10:33:02 +02:00
2014-02-10 10:45:42 -08:00
2014-01-28 21:38:48 +00:00
2014-01-15 17:02:08 -08:00
2013-12-06 08:05:55 -08:00
2013-12-20 08:59:30 -08:00
2014-01-31 14:59:28 -08:00
2013-12-11 17:32:41 -08:00
2014-01-28 18:56:37 -08:00
2014-01-23 18:40:49 -08:00
2013-10-30 22:10:10 +00:00
2014-01-30 12:56:34 +00:00
2014-01-31 08:38:18 -08:00
2014-01-23 18:40:49 -08:00
2014-01-28 21:38:48 +00:00