Right now, if it's an open of a negative dentry, a race is possible
with several openers who all try to instantiate/rehash the same
dentry and would hit a BUG_ON in d_add.
But in fact if we got a negative dentry in atomic_open, that means
we just revalidated it so no point in talking to MDS at all,
On Thu, Jul 14, 2016 at 05:01:51PM +0800, Sunbing wrote:
> The formatting of macros definetion in ks7010/michael_mic.c is not
> consistent with the general kernel coding style.
>
> Fix it by the result of scripts/checkpatch.pl.
>
> No functional changes.
>
> Signed-off-by: Sunbing
We need a "r
The memory allocation in slic_init_adapter() can fail. Return an error in
this case and unwind properly. Also make sure that the allocated memory is
properly freed in case of an error in the calling probe() function.
By doing this also replace the alloc() followed by memset to zero the
memory with
On 07/14/2016 10:06 AM, Javier Martinez Canillas wrote:
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.
Signed-off-by: Javier Martinez Canillas
Acked-by: David Daney
---
drivers/staging/o
The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either
built-in or as a module, use that macro instead of open coding the same.
Signed-off-by: Javier Martinez Canillas
---
drivers/staging/octeon/ethernet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dr
Hello,
i want to remind you about the patches I sent 3 weeks ago (June 23rd). I did
not receive any response until now, so I'm wondering if the mails got lost or
forgotten. If you didn't receive any or if something was wrong with them,
please tell me.
Awaiting your response,
Stefan Wolz
__
From: Colin Ian King
BT_Active and BT_State are being masked with 0x00ff so it the subsequent
comparisons with 0x are therefore a buggy check. Instead, check them
against 0x00ff.
Unfortunately I couldn't find a datasheet or hardware to see if 0x
is an expected invalid bi
The formatting of macros definetion in ks7010/michael_mic.c is not
consistent with the general kernel coding style.
Fix it by the result of scripts/checkpatch.pl.
No functional changes.
Signed-off-by: Sunbing
---
drivers/staging/ks7010/michael_mic.c | 20 +---
1 file changed, 1