Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
This patch includes building of the kernel rpm's for the commit id
[kvmfornfv.git]
/
kernel
/
Documentation
/
mailbox.txt
diff --git
a/kernel/Documentation/mailbox.txt
b/kernel/Documentation/mailbox.txt
index
1092ad9
..
7ed371c
100644
(file)
--- a/
kernel/Documentation/mailbox.txt
+++ b/
kernel/Documentation/mailbox.txt
@@
-51,8
+51,7
@@
struct demo_client {
*/
static void message_from_remote(struct mbox_client *cl, void *mssg)
{
*/
static void message_from_remote(struct mbox_client *cl, void *mssg)
{
- struct demo_client *dc = container_of(mbox_client,
- struct demo_client, cl);
+ struct demo_client *dc = container_of(cl, struct demo_client, cl);
if (dc->async) {
if (is_an_ack(mssg)) {
/* An ACK to our last sample sent */
if (dc->async) {
if (is_an_ack(mssg)) {
/* An ACK to our last sample sent */
@@
-68,8
+67,7
@@
static void message_from_remote(struct mbox_client *cl, void *mssg)
static void sample_sent(struct mbox_client *cl, void *mssg, int r)
{
static void sample_sent(struct mbox_client *cl, void *mssg, int r)
{
- struct demo_client *dc = container_of(mbox_client,
- struct demo_client, cl);
+ struct demo_client *dc = container_of(cl, struct demo_client, cl);
complete(&dc->c);
}
complete(&dc->c);
}