* [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-20 14:09 ` Yue Haibing
0 siblings, 0 replies; 12+ messages in thread
From: Yue Haibing @ 2019-03-20 14:09 UTC (permalink / raw)
To: richard, dedekind1, adrian.hunter; +Cc: linux-kernel, linux-mtd, YueHaibing
From: YueHaibing <yuehaibing@huawei.com>
There is no callers in tree, and can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
fs/ubifs/auth.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
index 5bf5fd0..2a40ccce 100644
--- a/fs/ubifs/auth.c
+++ b/fs/ubifs/auth.c
@@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
}
/**
- * __ubifs_shash_final - finalize shash
- * @c: UBIFS file-system description object
- * @desc: the descriptor
- * @out: the output hash
- *
- * Simple wrapper around crypto_shash_final(), safe to be called with
- * disabled authentication.
- */
-int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
- u8 *out)
-{
- if (ubifs_authenticated(c))
- return crypto_shash_final(desc, out);
-
- return 0;
-}
-
-/**
* ubifs_bad_hash - Report hash mismatches
* @c: UBIFS file-system description object
* @node: the node
--
2.7.0
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-20 14:09 ` Yue Haibing
0 siblings, 0 replies; 12+ messages in thread
From: Yue Haibing @ 2019-03-20 14:09 UTC (permalink / raw)
To: richard, dedekind1, adrian.hunter; +Cc: YueHaibing, linux-mtd, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
There is no callers in tree, and can be removed.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
fs/ubifs/auth.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
index 5bf5fd0..2a40ccce 100644
--- a/fs/ubifs/auth.c
+++ b/fs/ubifs/auth.c
@@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
}
/**
- * __ubifs_shash_final - finalize shash
- * @c: UBIFS file-system description object
- * @desc: the descriptor
- * @out: the output hash
- *
- * Simple wrapper around crypto_shash_final(), safe to be called with
- * disabled authentication.
- */
-int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
- u8 *out)
-{
- if (ubifs_authenticated(c))
- return crypto_shash_final(desc, out);
-
- return 0;
-}
-
-/**
* ubifs_bad_hash - Report hash mismatches
* @c: UBIFS file-system description object
* @node: the node
--
2.7.0
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
2019-03-20 14:09 ` Yue Haibing
@ 2019-03-20 20:05 ` Mukesh Ojha
-1 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-20 20:05 UTC (permalink / raw)
To: Yue Haibing, richard, dedekind1, adrian.hunter; +Cc: linux-kernel, linux-mtd
On 3/20/2019 7:39 PM, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
>
> There is no callers in tree, and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> fs/ubifs/auth.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
> index 5bf5fd0..2a40ccce 100644
> --- a/fs/ubifs/auth.c
> +++ b/fs/ubifs/auth.c
> @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
> }
>
> /**
> - * __ubifs_shash_final - finalize shash
> - * @c: UBIFS file-system description object
> - * @desc: the descriptor
> - * @out: the output hash
> - *
> - * Simple wrapper around crypto_shash_final(), safe to be called with
> - * disabled authentication.
> - */
> -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
> - u8 *out)
> -{
> - if (ubifs_authenticated(c))
> - return crypto_shash_final(desc, out);
> -
> - return 0;
> -}
> -
> -/**
> * ubifs_bad_hash - Report hash mismatches
> * @c: UBIFS file-system description object
> * @node: the node
Looks fine to be removed.
Acked-by: Mukesh Ojha <mojha@codeaurora.org>
-Mukesh
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-20 20:05 ` Mukesh Ojha
0 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-20 20:05 UTC (permalink / raw)
To: Yue Haibing, richard, dedekind1, adrian.hunter; +Cc: linux-mtd, linux-kernel
On 3/20/2019 7:39 PM, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
>
> There is no callers in tree, and can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> fs/ubifs/auth.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
> index 5bf5fd0..2a40ccce 100644
> --- a/fs/ubifs/auth.c
> +++ b/fs/ubifs/auth.c
> @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
> }
>
> /**
> - * __ubifs_shash_final - finalize shash
> - * @c: UBIFS file-system description object
> - * @desc: the descriptor
> - * @out: the output hash
> - *
> - * Simple wrapper around crypto_shash_final(), safe to be called with
> - * disabled authentication.
> - */
> -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
> - u8 *out)
> -{
> - if (ubifs_authenticated(c))
> - return crypto_shash_final(desc, out);
> -
> - return 0;
> -}
> -
> -/**
> * ubifs_bad_hash - Report hash mismatches
> * @c: UBIFS file-system description object
> * @node: the node
Looks fine to be removed.
Acked-by: Mukesh Ojha <mojha@codeaurora.org>
-Mukesh
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
2019-03-20 20:05 ` Mukesh Ojha
@ 2019-03-20 20:18 ` Richard Weinberger
-1 siblings, 0 replies; 12+ messages in thread
From: Richard Weinberger @ 2019-03-20 20:18 UTC (permalink / raw)
To: Mukesh Ojha
Cc: Yue Haibing, dedekind1, adrian.hunter, linux-kernel, linux-mtd
Am Mittwoch, 20. März 2019, 21:05:37 CET schrieb Mukesh Ojha:
>
> On 3/20/2019 7:39 PM, Yue Haibing wrote:
> > From: YueHaibing <yuehaibing@huawei.com>
> >
> > There is no callers in tree, and can be removed.
> >
> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> > ---
> > fs/ubifs/auth.c | 18 ------------------
> > 1 file changed, 18 deletions(-)
> >
> > diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
> > index 5bf5fd0..2a40ccce 100644
> > --- a/fs/ubifs/auth.c
> > +++ b/fs/ubifs/auth.c
> > @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
> > }
> >
> > /**
> > - * __ubifs_shash_final - finalize shash
> > - * @c: UBIFS file-system description object
> > - * @desc: the descriptor
> > - * @out: the output hash
> > - *
> > - * Simple wrapper around crypto_shash_final(), safe to be called with
> > - * disabled authentication.
> > - */
> > -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
> > - u8 *out)
> > -{
> > - if (ubifs_authenticated(c))
> > - return crypto_shash_final(desc, out);
> > -
> > - return 0;
> > -}
> > -
> > -/**
> > * ubifs_bad_hash - Report hash mismatches
> > * @c: UBIFS file-system description object
> > * @node: the node
>
>
>
> Looks fine to be removed.
>
> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
I guess you mean Reviewed-by?
Thanks,
//richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-20 20:18 ` Richard Weinberger
0 siblings, 0 replies; 12+ messages in thread
From: Richard Weinberger @ 2019-03-20 20:18 UTC (permalink / raw)
To: Mukesh Ojha
Cc: linux-kernel, Yue Haibing, adrian.hunter, linux-mtd, dedekind1
Am Mittwoch, 20. März 2019, 21:05:37 CET schrieb Mukesh Ojha:
>
> On 3/20/2019 7:39 PM, Yue Haibing wrote:
> > From: YueHaibing <yuehaibing@huawei.com>
> >
> > There is no callers in tree, and can be removed.
> >
> > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> > ---
> > fs/ubifs/auth.c | 18 ------------------
> > 1 file changed, 18 deletions(-)
> >
> > diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
> > index 5bf5fd0..2a40ccce 100644
> > --- a/fs/ubifs/auth.c
> > +++ b/fs/ubifs/auth.c
> > @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
> > }
> >
> > /**
> > - * __ubifs_shash_final - finalize shash
> > - * @c: UBIFS file-system description object
> > - * @desc: the descriptor
> > - * @out: the output hash
> > - *
> > - * Simple wrapper around crypto_shash_final(), safe to be called with
> > - * disabled authentication.
> > - */
> > -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
> > - u8 *out)
> > -{
> > - if (ubifs_authenticated(c))
> > - return crypto_shash_final(desc, out);
> > -
> > - return 0;
> > -}
> > -
> > -/**
> > * ubifs_bad_hash - Report hash mismatches
> > * @c: UBIFS file-system description object
> > * @node: the node
>
>
>
> Looks fine to be removed.
>
> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
I guess you mean Reviewed-by?
Thanks,
//richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
2019-03-20 20:18 ` Richard Weinberger
@ 2019-03-21 7:54 ` Mukesh Ojha
-1 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-21 7:54 UTC (permalink / raw)
To: Richard Weinberger
Cc: Yue Haibing, dedekind1, adrian.hunter, linux-kernel, linux-mtd
On 3/21/2019 1:48 AM, Richard Weinberger wrote:
> Am Mittwoch, 20. März 2019, 21:05:37 CET schrieb Mukesh Ojha:
>> On 3/20/2019 7:39 PM, Yue Haibing wrote:
>>> From: YueHaibing <yuehaibing@huawei.com>
>>>
>>> There is no callers in tree, and can be removed.
>>>
>>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
>>> ---
>>> fs/ubifs/auth.c | 18 ------------------
>>> 1 file changed, 18 deletions(-)
>>>
>>> diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
>>> index 5bf5fd0..2a40ccce 100644
>>> --- a/fs/ubifs/auth.c
>>> +++ b/fs/ubifs/auth.c
>>> @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
>>> }
>>>
>>> /**
>>> - * __ubifs_shash_final - finalize shash
>>> - * @c: UBIFS file-system description object
>>> - * @desc: the descriptor
>>> - * @out: the output hash
>>> - *
>>> - * Simple wrapper around crypto_shash_final(), safe to be called with
>>> - * disabled authentication.
>>> - */
>>> -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
>>> - u8 *out)
>>> -{
>>> - if (ubifs_authenticated(c))
>>> - return crypto_shash_final(desc, out);
>>> -
>>> - return 0;
>>> -}
>>> -
>>> -/**
>>> * ubifs_bad_hash - Report hash mismatches
>>> * @c: UBIFS file-system description object
>>> * @node: the node
>>
>>
>> Looks fine to be removed.
>>
>> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
> I guess you mean Reviewed-by?
As i am unsure about future scope of this func. i.e why Acked.
-Mukesh
>
> Thanks,
> //richard
>
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-21 7:54 ` Mukesh Ojha
0 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-21 7:54 UTC (permalink / raw)
To: Richard Weinberger
Cc: linux-kernel, Yue Haibing, adrian.hunter, linux-mtd, dedekind1
On 3/21/2019 1:48 AM, Richard Weinberger wrote:
> Am Mittwoch, 20. März 2019, 21:05:37 CET schrieb Mukesh Ojha:
>> On 3/20/2019 7:39 PM, Yue Haibing wrote:
>>> From: YueHaibing <yuehaibing@huawei.com>
>>>
>>> There is no callers in tree, and can be removed.
>>>
>>> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
>>> ---
>>> fs/ubifs/auth.c | 18 ------------------
>>> 1 file changed, 18 deletions(-)
>>>
>>> diff --git a/fs/ubifs/auth.c b/fs/ubifs/auth.c
>>> index 5bf5fd0..2a40ccce 100644
>>> --- a/fs/ubifs/auth.c
>>> +++ b/fs/ubifs/auth.c
>>> @@ -147,24 +147,6 @@ struct shash_desc *__ubifs_hash_get_desc(const struct ubifs_info *c)
>>> }
>>>
>>> /**
>>> - * __ubifs_shash_final - finalize shash
>>> - * @c: UBIFS file-system description object
>>> - * @desc: the descriptor
>>> - * @out: the output hash
>>> - *
>>> - * Simple wrapper around crypto_shash_final(), safe to be called with
>>> - * disabled authentication.
>>> - */
>>> -int __ubifs_shash_final(const struct ubifs_info *c, struct shash_desc *desc,
>>> - u8 *out)
>>> -{
>>> - if (ubifs_authenticated(c))
>>> - return crypto_shash_final(desc, out);
>>> -
>>> - return 0;
>>> -}
>>> -
>>> -/**
>>> * ubifs_bad_hash - Report hash mismatches
>>> * @c: UBIFS file-system description object
>>> * @node: the node
>>
>>
>> Looks fine to be removed.
>>
>> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
> I guess you mean Reviewed-by?
As i am unsure about future scope of this func. i.e why Acked.
-Mukesh
>
> Thanks,
> //richard
>
>
>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
2019-03-21 7:54 ` Mukesh Ojha
@ 2019-03-21 8:09 ` Richard Weinberger
-1 siblings, 0 replies; 12+ messages in thread
From: Richard Weinberger @ 2019-03-21 8:09 UTC (permalink / raw)
To: Mukesh Ojha
Cc: Yue Haibing, dedekind1, adrian.hunter, linux-kernel, linux-mtd
Am Donnerstag, 21. März 2019, 08:54:55 CET schrieb Mukesh Ojha:
> >> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
> > I guess you mean Reviewed-by?
>
> As i am unsure about future scope of this func. i.e why Acked.
Acked-by is usually something I expect from the code author
or the person that owns the code.
Thanks,
//richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-21 8:09 ` Richard Weinberger
0 siblings, 0 replies; 12+ messages in thread
From: Richard Weinberger @ 2019-03-21 8:09 UTC (permalink / raw)
To: Mukesh Ojha
Cc: linux-kernel, Yue Haibing, adrian.hunter, linux-mtd, dedekind1
Am Donnerstag, 21. März 2019, 08:54:55 CET schrieb Mukesh Ojha:
> >> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
> > I guess you mean Reviewed-by?
>
> As i am unsure about future scope of this func. i.e why Acked.
Acked-by is usually something I expect from the code author
or the person that owns the code.
Thanks,
//richard
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
2019-03-21 8:09 ` Richard Weinberger
@ 2019-03-22 6:59 ` Mukesh Ojha
-1 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-22 6:59 UTC (permalink / raw)
To: Richard Weinberger
Cc: Yue Haibing, dedekind1, adrian.hunter, linux-kernel, linux-mtd
On 3/21/2019 1:39 PM, Richard Weinberger wrote:
> Am Donnerstag, 21. März 2019, 08:54:55 CET schrieb Mukesh Ojha:
>>>> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
>>> I guess you mean Reviewed-by?
>> As i am unsure about future scope of this func. i.e why Acked.
> Acked-by is usually something I expect from the code author
> or the person that owns the code.
Take it as Reviewed-by then.
Thanks.
Mukesh
>
> Thanks,
> //richard
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [PATCH -next] ubifs: remove unused function __ubifs_shash_final
@ 2019-03-22 6:59 ` Mukesh Ojha
0 siblings, 0 replies; 12+ messages in thread
From: Mukesh Ojha @ 2019-03-22 6:59 UTC (permalink / raw)
To: Richard Weinberger
Cc: linux-kernel, Yue Haibing, adrian.hunter, linux-mtd, dedekind1
On 3/21/2019 1:39 PM, Richard Weinberger wrote:
> Am Donnerstag, 21. März 2019, 08:54:55 CET schrieb Mukesh Ojha:
>>>> Acked-by: Mukesh Ojha <mojha@codeaurora.org>
>>> I guess you mean Reviewed-by?
>> As i am unsure about future scope of this func. i.e why Acked.
> Acked-by is usually something I expect from the code author
> or the person that owns the code.
Take it as Reviewed-by then.
Thanks.
Mukesh
>
> Thanks,
> //richard
>
>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2019-03-22 6:59 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 14:09 [PATCH -next] ubifs: remove unused function __ubifs_shash_final Yue Haibing
2019-03-20 14:09 ` Yue Haibing
2019-03-20 20:05 ` Mukesh Ojha
2019-03-20 20:05 ` Mukesh Ojha
2019-03-20 20:18 ` Richard Weinberger
2019-03-20 20:18 ` Richard Weinberger
2019-03-21 7:54 ` Mukesh Ojha
2019-03-21 7:54 ` Mukesh Ojha
2019-03-21 8:09 ` Richard Weinberger
2019-03-21 8:09 ` Richard Weinberger
2019-03-22 6:59 ` Mukesh Ojha
2019-03-22 6:59 ` Mukesh Ojha
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.