Message ID | 20170424092642.29862-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Mon, Apr 24, 2017 at 12:26 PM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > trivial fix to typo in pr_err message > > Signed-off-by: Colin Ian King <colin.king@canonical.com> > --- > drivers/infiniband/sw/rxe/rxe_verbs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c > index 486035a85bac..6a4b02470d21 100644 > --- a/drivers/infiniband/sw/rxe/rxe_verbs.c > +++ b/drivers/infiniband/sw/rxe/rxe_verbs.c > @@ -1324,7 +1324,7 @@ int rxe_register_device(struct rxe_dev *rxe) > > rxe->tfm = crypto_alloc_shash("crc32", 0, 0); > if (IS_ERR(rxe->tfm)) { > - pr_err("failed to allocate crc algorithmi err:%ld", > + pr_err("failed to allocate crc algorithm err:%ld", > PTR_ERR(rxe->tfm)); > return PTR_ERR(rxe->tfm); > } > -- > 2.11.0 Thanks (for both patches) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2017-04-24 at 10:26 +0100, Colin King wrote: > trivial fix to typo in pr_err message [] > diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c [] > @@ -1324,7 +1324,7 @@ int rxe_register_device(struct rxe_dev *rxe) > > rxe->tfm = crypto_alloc_shash("crc32", 0, 0); > if (IS_ERR(rxe->tfm)) { > - pr_err("failed to allocate crc algorithmi err:%ld", > + pr_err("failed to allocate crc algorithm err:%ld", nicer to add a newline too -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, 2017-04-24 at 10:44 -0700, Joe Perches wrote: > On Mon, 2017-04-24 at 10:26 +0100, Colin King wrote: > > > > trivial fix to typo in pr_err message > [] > > > > diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c > > b/drivers/infiniband/sw/rxe/rxe_verbs.c > [] > > > > @@ -1324,7 +1324,7 @@ int rxe_register_device(struct rxe_dev *rxe) > > > > rxe->tfm = crypto_alloc_shash("crc32", 0, 0); > > if (IS_ERR(rxe->tfm)) { > > - pr_err("failed to allocate crc algorithmi > > err:%ld", > > + pr_err("failed to allocate crc algorithm err:%ld", > > nicer to add a newline too I added a newline and then applied the patch. Thanks.
On 28/04/17 18:08, Doug Ledford wrote: > On Mon, 2017-04-24 at 10:44 -0700, Joe Perches wrote: >> On Mon, 2017-04-24 at 10:26 +0100, Colin King wrote: >>> >>> trivial fix to typo in pr_err message >> [] >>> >>> diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c >>> b/drivers/infiniband/sw/rxe/rxe_verbs.c >> [] >>> >>> @@ -1324,7 +1324,7 @@ int rxe_register_device(struct rxe_dev *rxe) >>> >>> rxe->tfm = crypto_alloc_shash("crc32", 0, 0); >>> if (IS_ERR(rxe->tfm)) { >>> - pr_err("failed to allocate crc algorithmi >>> err:%ld", >>> + pr_err("failed to allocate crc algorithm err:%ld", >> >> nicer to add a newline too > > I added a newline and then applied the patch. Thanks. > Thanks Doug. I overlooked replying to the earlier email. Colin -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c index 486035a85bac..6a4b02470d21 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.c +++ b/drivers/infiniband/sw/rxe/rxe_verbs.c @@ -1324,7 +1324,7 @@ int rxe_register_device(struct rxe_dev *rxe) rxe->tfm = crypto_alloc_shash("crc32", 0, 0); if (IS_ERR(rxe->tfm)) { - pr_err("failed to allocate crc algorithmi err:%ld", + pr_err("failed to allocate crc algorithm err:%ld", PTR_ERR(rxe->tfm)); return PTR_ERR(rxe->tfm); }