Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
136f7a1c
Commit
136f7a1c
authored
Dec 25, 2008
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] convert ap_bus printks to pr_xxx macros.
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
93098bf0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.c
+7
-3
No files found.
drivers/s390/crypto/ap_bus.c
View file @
136f7a1c
...
@@ -24,6 +24,9 @@
...
@@ -24,6 +24,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
*/
#define KMSG_COMPONENT "ap"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/module.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/delay.h>
...
@@ -1487,12 +1490,13 @@ int __init ap_module_init(void)
...
@@ -1487,12 +1490,13 @@ int __init ap_module_init(void)
int
rc
,
i
;
int
rc
,
i
;
if
(
ap_domain_index
<
-
1
||
ap_domain_index
>=
AP_DOMAINS
)
{
if
(
ap_domain_index
<
-
1
||
ap_domain_index
>=
AP_DOMAINS
)
{
pr
intk
(
KERN_WARNING
"Invalid param: domain = %d. "
pr
_warning
(
"%d is not a valid cryptographic domain
\n
"
,
" Not loading.
\n
"
,
ap_domain_index
);
ap_domain_index
);
return
-
EINVAL
;
return
-
EINVAL
;
}
}
if
(
ap_instructions_available
()
!=
0
)
{
if
(
ap_instructions_available
()
!=
0
)
{
printk
(
KERN_WARNING
"AP instructions not installed.
\n
"
);
pr_warning
(
"The hardware system does not support "
"AP instructions
\n
"
);
return
-
ENODEV
;
return
-
ENODEV
;
}
}
if
(
ap_interrupts_available
())
{
if
(
ap_interrupts_available
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment