lkml.org 
[lkml]   [2008]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] padlock: don't whinge when loaded on a non-VIA cpu
On Tue, 8 Jul 2008 15:37:41 -0400
Kyle McMartin <kyle@mcmartin.ca> wrote:

> + if (!((boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR) &&
> + (boot_cpu_data.x86 >= 6))) /* only on VIA C3 and above */
> + return -ENODEV;

Why add this?

> if (!cpu_has_xcrypt) {
> printk(KERN_ERR PFX "VIA PadLock not detected.\n");
> return -ENODEV;

When you could simply delete the printk lines?

--
All rights reversed.


\
 
 \ /
  Last update: 2008-07-09 00:11    [W:0.042 / U:21.872 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site