Thread (3 messages) 3 messages, 2 authors, 2017-05-23

Re: [PATCH 1/2] crypto: engine - replace pr_xxx by dev_xxx

flat view

From: Joe Perches <joe@perches.com>
Date: 2017-05-23 14:52:15
Also in: lkml

On Tue, 2017-05-23 at 14:09 +0200, Corentin Labbe wrote:
By adding a struct device *dev to struct engine, we could store the
device used at register time and so use all dev_xxx functions instead of
pr_xxx.
trivia:
quoted hunk ↗ jump to hunk
diff --git a/include/crypto/engine.h b/include/crypto/engine.h
[]
quoted hunk ↗ jump to hunk
@@ -58,6 +58,7 @@ struct crypto_engine {
 	struct list_head	list;
 	spinlock_t		queue_lock;
 	struct crypto_queue	queue;
+	struct device *dev;
Probably nicer to align to column for consistency

	struct device		*dev;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help