Fix the following sparse warnings:
drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer
Signed-off-by: GONG, Ruiqi <[email protected]>
---
drivers/mtd/nand/raw/arasan-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c
index 296fb16c8dc3..ec7e6eeac55f 100644
--- a/drivers/mtd/nand/raw/arasan-nand-controller.c
+++ b/drivers/mtd/nand/raw/arasan-nand-controller.c
@@ -915,7 +915,7 @@ static int anfc_check_op(struct nand_chip *chip,
if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
return -ENOTSUPP;
- if (anfc_pkt_len_config(instr->ctx.data.len, 0, 0))
+ if (anfc_pkt_len_config(instr->ctx.data.len, NULL, NULL))
return -ENOTSUPP;
break;
--
2.25.1
Stop fucking emailing me you pathetic loser
Sent from my iPhone
> On Jul 25, 2022, at 7:23 AM, GONG, Ruiqi <[email protected]> wrote:
>
> Fix the following sparse warnings:
>
> drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
> drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer
>
> Signed-off-by: GONG, Ruiqi <[email protected]>
> ---
> drivers/mtd/nand/raw/arasan-nand-controller.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c
> index 296fb16c8dc3..ec7e6eeac55f 100644
> --- a/drivers/mtd/nand/raw/arasan-nand-controller.c
> +++ b/drivers/mtd/nand/raw/arasan-nand-controller.c
> @@ -915,7 +915,7 @@ static int anfc_check_op(struct nand_chip *chip,
> if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
> return -ENOTSUPP;
>
> - if (anfc_pkt_len_config(instr->ctx.data.len, 0, 0))
> + if (anfc_pkt_len_config(instr->ctx.data.len, NULL, NULL))
> return -ENOTSUPP;
>
> break;
> --
> 2.25.1
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
Koop????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☹️????????????????????????????????????????????????????????????️????????????????????????️????????????????????????????????????
Ooiggvklpoure????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☹️????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☠️????????????????????????????????????????????????????????????????☠️☠️☠️☠️
Sent from my iPhone
> On Jul 25, 2022, at 5:35 PM, Vanessa Page <[email protected]> wrote:
>
> Stop fucking emailing me you pathetic loser
>
> Sent from my iPhone
>
>> On Jul 25, 2022, at 7:23 AM, GONG, Ruiqi <[email protected]> wrote:
>>
>> Fix the following sparse warnings:
>>
>> drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
>> drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer
>>
>> Signed-off-by: GONG, Ruiqi <[email protected]>
>> ---
>> drivers/mtd/nand/raw/arasan-nand-controller.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c
>> index 296fb16c8dc3..ec7e6eeac55f 100644
>> --- a/drivers/mtd/nand/raw/arasan-nand-controller.c
>> +++ b/drivers/mtd/nand/raw/arasan-nand-controller.c
>> @@ -915,7 +915,7 @@ static int anfc_check_op(struct nand_chip *chip,
>> if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
>> return -ENOTSUPP;
>>
>> - if (anfc_pkt_len_config(instr->ctx.data.len, 0, 0))
>> + if (anfc_pkt_len_config(instr->ctx.data.len, NULL, NULL))
>> return -ENOTSUPP;
>>
>> break;
>> --
>> 2.25.1
>>
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
Stop fucking emailing me you suck fuck. You want a password so you can hack my shit you broke motherfucker
People are not THAT stupid.
Sent from my iPhone
> On Jul 25, 2022, at 6:09 PM, Vanessa Page <[email protected]> wrote:
>
> Koop????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☹️????????????????????????????????????????????????????????????️????????????????????????️????????????????????????????????????
> Ooiggvklpoure????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☹️????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????☠️????????????????????????????????????????????????????????????????☠️☠️☠️☠️
>
> Sent from my iPhone
>
>> On Jul 25, 2022, at 5:35 PM, Vanessa Page <[email protected]> wrote:
>>
>> Stop fucking emailing me you pathetic loser
>>
>> Sent from my iPhone
>>
>>>> On Jul 25, 2022, at 7:23 AM, GONG, Ruiqi <[email protected]> wrote:
>>>
>>> Fix the following sparse warnings:
>>>
>>> drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
>>> drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer
>>>
>>> Signed-off-by: GONG, Ruiqi <[email protected]>
>>> ---
>>> drivers/mtd/nand/raw/arasan-nand-controller.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/mtd/nand/raw/arasan-nand-controller.c b/drivers/mtd/nand/raw/arasan-nand-controller.c
>>> index 296fb16c8dc3..ec7e6eeac55f 100644
>>> --- a/drivers/mtd/nand/raw/arasan-nand-controller.c
>>> +++ b/drivers/mtd/nand/raw/arasan-nand-controller.c
>>> @@ -915,7 +915,7 @@ static int anfc_check_op(struct nand_chip *chip,
>>> if (instr->ctx.data.len > ANFC_MAX_CHUNK_SIZE)
>>> return -ENOTSUPP;
>>>
>>> - if (anfc_pkt_len_config(instr->ctx.data.len, 0, 0))
>>> + if (anfc_pkt_len_config(instr->ctx.data.len, NULL, NULL))
>>> return -ENOTSUPP;
>>>
>>> break;
>>> --
>>> 2.25.1
>>>
>>>
>>> ______________________________________________________
>>> Linux MTD discussion mailing list
>>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
On Mon, 2022-07-25 at 11:21:07 UTC, "GONG, Ruiqi" wrote:
> Fix the following sparse warnings:
>
> drivers/mtd/nand/raw/arasan-nand-controller.c:918:70: warning: Using plain integer as NULL pointer
> drivers/mtd/nand/raw/arasan-nand-controller.c:918:73: warning: Using plain integer as NULL pointer
>
> Signed-off-by: GONG, Ruiqi <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel