mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Krzysztof Halasa <khc@pm.waw.pl>
To: kyle@mcmartin.ca
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] padlock: don't whinge when loaded on a non-VIA cpu
Date: Tue, 08 Jul 2008 22:04:17 +0200	[thread overview]
Message-ID: <m3myksf8hq.fsf@maximus.localdomain> (raw)
In-Reply-To: <20080708190427.GA28899@phobos.i.cabal.ca> (Kyle McMartin's message of "Tue\, 8 Jul 2008 15\:04\:27 -0400")

Kyle McMartin <kmcmartin@redhat.com> writes:

> --- a/drivers/crypto/padlock-aes.c
> +++ b/drivers/crypto/padlock-aes.c
> @@ -384,6 +384,9 @@ static int __init padlock_init(void)
>  {
>  	int ret;
>  
> +	if (!(boot_cpu_data.x86_vendor == X86_VENDOR_CENTAUR))
> +		return -ENODEV;
> +

BTW C has "!=" operator, may be useful.
-- 
Krzysztof Halasa

      parent reply	other threads:[~2008-07-08 20:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 19:04 Kyle McMartin
2008-07-08 18:52 ` Alan Cox
2008-07-08 19:37   ` Kyle McMartin
2008-07-08 21:21     ` Joe Perches
2008-07-08 22:08     ` Rik van Riel
2008-07-09  5:58     ` Herbert Xu
2008-07-08 20:04 ` Krzysztof Halasa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3myksf8hq.fsf@maximus.localdomain \
    --to=khc@pm.waw.pl \
    --cc=kyle@mcmartin.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®