kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: bernd@petrovitsch.priv.at (Bernd Petrovitsch)
To: kernelnewbies@lists.kernelnewbies.org
Subject: SHA-1 hash calculate in Kernel.
Date: Sat, 29 Aug 2015 13:49:19 +0200	[thread overview]
Message-ID: <1440848989.2559.5.camel@thorin> (raw)
In-Reply-To: <CA+5jrfnTkfLUmfTk-CAA2uimS_DcHU-Buk4ovpZ+RZtD4N2thw@mail.gmail.com>

On Fre, 2015-08-28 at 15:36 +0800, lx wrote:
[...]
>     //way 2
>     /*
>     char *plaintext = kmalloc(sizeof(char), GFP_KERNEL);
>     plaintext = "c";

I don't think that this line doesn't give any warning ...

Kind regards,
	Bernd
-- 
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
    - Linus Torvalds

  parent reply	other threads:[~2015-08-29 11:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-28  7:36 SHA-1 hash calculate in Kernel lx
2015-08-28  8:27 ` Bjørn Mork
2015-08-28 17:04 ` Jeff Haran
2015-08-29 11:49 ` Bernd Petrovitsch [this message]
2015-10-22  8:24   ` lx

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=1440848989.2559.5.camel@thorin \
    --to=bernd@petrovitsch.priv.at \
    --cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).