Re: [PATCH] staging: android: ashmem: Declared file operation with const keyword

2021-02-14 Thread Greg Kroah-Hartman
On Sat, Feb 13, 2021 at 11:31:36PM -0300, Thais Camacho wrote:
> Warning found by checkpatch.pl script
> 
> Signed-off-by: Thais Camacho 
> ---
>  drivers/staging/android/ashmem.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/android/ashmem.c 
> b/drivers/staging/android/ashmem.c
> index 4789d36ddfd3..2cb665e0228c 100644
> --- a/drivers/staging/android/ashmem.c
> +++ b/drivers/staging/android/ashmem.c
> @@ -376,7 +376,7 @@ ashmem_vmfile_get_unmapped_area(struct file *file, 
> unsigned long addr,
>  
>  static int ashmem_mmap(struct file *file, struct vm_area_struct *vma)
>  {
> - static struct file_operations vmfile_fops;
> + static const struct file_operations vmfile_fops;
>   struct ashmem_area *asma = file->private_data;
>   int ret = 0;
>  
> -- 
> 2.20.1

Any specific reason why you did not test-build your change before
sending it to us?  Please always do so, otherwise it causes lots of
problems, and makes maintainers grumpy :)

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [PATCH] fixed coding style warning

2021-02-14 Thread Greg KH
On Sun, Feb 14, 2021 at 01:48:06AM +0530, Ashish Vara wrote:
> removed unnecessary out of memory message
> 
> Signed-off-by: Ashish Vara 
> ---
>  drivers/staging/gasket/gasket_page_table.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/staging/gasket/gasket_page_table.c 
> b/drivers/staging/gasket/gasket_page_table.c
> index 6f6273c83822..2dbf3d9b8f34 100644
> --- a/drivers/staging/gasket/gasket_page_table.c
> +++ b/drivers/staging/gasket/gasket_page_table.c
> @@ -262,8 +262,6 @@ int gasket_page_table_init(struct gasket_page_table 
> **ppg_tbl,
>   if (bytes != 0) {
>   pg_tbl->entries = vzalloc(bytes);
>   if (!pg_tbl->entries) {
> - dev_dbg(device,
> - "No memory for address translation metadata\n");
>   kfree(pg_tbl);
>   *ppg_tbl = NULL;
>   return -ENOMEM;


Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You did not write a descriptive Subject: for the patch, allowing Greg,
  and everyone else, to know what this patch is all about.  Please read
  the section entitled "The canonical patch format" in the kernel file,
  Documentation/SubmittingPatches for what a proper Subject: line should
  look like.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: rtl8712: cleanup checkpatch.pl warnings

2021-02-14 Thread Shreesh Adiga
Cleanup warnings displayed by checkpatch.pl for the
file rtl8171x_mlme.c for the below warning:
WARNING: Avoid multiple line dereference

Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com>
---
 drivers/staging/rtl8712/rtl871x_mlme.c | 112 +
 1 file changed, 39 insertions(+), 73 deletions(-)

diff --git a/drivers/staging/rtl8712/rtl871x_mlme.c 
b/drivers/staging/rtl8712/rtl871x_mlme.c
index 6074383ec0b5..91d32c3d4866 100644
--- a/drivers/staging/rtl8712/rtl871x_mlme.c
+++ b/drivers/staging/rtl8712/rtl871x_mlme.c
@@ -433,8 +433,7 @@ static int is_desired_network(struct _adapter *adapter,
bselected = false;
if (check_fwstate(&adapter->mlmepriv, WIFI_ADHOC_STATE)) {
if (pnetwork->network.InfrastructureMode !=
-   adapter->mlmepriv.cur_network.network.
-   InfrastructureMode)
+   adapter->mlmepriv.cur_network.network.InfrastructureMode)
bselected = false;
}
return bselected;
@@ -540,19 +539,15 @@ void r8712_surveydone_event_callback(struct _adapter 
*adapter, u8 *pbuf)
} else {
struct wlan_bssid_ex *pdev_network =
  &(adapter->registrypriv.dev_network);
-   u8 *pibss =
-adapter->registrypriv.
-   dev_network.MacAddress;
+   u8 *pibss = 
adapter->registrypriv.dev_network.MacAddress;
+
pmlmepriv->fw_state ^= _FW_UNDER_SURVEY;
memcpy(&pdev_network->Ssid,
-   &pmlmepriv->assoc_ssid,
-   sizeof(struct
-ndis_802_11_ssid));
-   r8712_update_registrypriv_dev_network
-   (adapter);
+  &pmlmepriv->assoc_ssid,
+  sizeof(struct ndis_802_11_ssid));
+   
r8712_update_registrypriv_dev_network(adapter);
r8712_generate_random_ibss(pibss);
-   pmlmepriv->fw_state =
-WIFI_ADHOC_MASTER_STATE;
+   pmlmepriv->fw_state = 
WIFI_ADHOC_MASTER_STATE;
pmlmepriv->to_join = false;
}
}
@@ -691,11 +686,9 @@ void r8712_joinbss_event_callback(struct _adapter 
*adapter, u8 *pbuf)
pnetwork->network.Configuration.DSConfig =
 le32_to_cpu(pnetwork->network.Configuration.DSConfig);
pnetwork->network.Configuration.FHConfig.DwellTime =
-le32_to_cpu(pnetwork->network.Configuration.FHConfig.
-DwellTime);
+
le32_to_cpu(pnetwork->network.Configuration.FHConfig.DwellTime);
pnetwork->network.Configuration.FHConfig.HopPattern =
-le32_to_cpu(pnetwork->network.Configuration.
-FHConfig.HopPattern);
+
le32_to_cpu(pnetwork->network.Configuration.FHConfig.HopPattern);
pnetwork->network.Configuration.FHConfig.HopSet =
 le32_to_cpu(pnetwork->network.Configuration.FHConfig.HopSet);
pnetwork->network.Configuration.FHConfig.Length =
@@ -720,36 +713,29 @@ void r8712_joinbss_event_callback(struct _adapter 
*adapter, u8 *pbuf)
if (check_fwstate(pmlmepriv, _FW_LINKED)) {
if (the_same_macaddr) {
ptarget_wlan =
-   r8712_find_network(&pmlmepriv->
-   scanned_queue,
-   cur_network->network.MacAddress);
+   
r8712_find_network(&pmlmepriv->scanned_queue,
+  
cur_network->network.MacAddress);
} else {
pcur_wlan =
-r8712_find_network(&pmlmepriv->
-scanned_queue,
-cur_network->network.MacAddress);
+
r8712_find_network(&pmlmepriv->scanned_queue,
+   
cur_network->network.MacAddress);
pcur_wlan->fixed = false;
 
 

[PATCH] staging: ks7010: cleanup checkpatch.pl macro error

2021-02-14 Thread Shreesh Adiga
Add parentheses around the macro definitions in ks_hostif.h
to clear the error output by checkpatch.pl

Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com>
---
 drivers/staging/ks7010/ks_hostif.h | 24 
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.h 
b/drivers/staging/ks7010/ks_hostif.h
index 39138191a556..c62a494ed6bb 100644
--- a/drivers/staging/ks7010/ks_hostif.h
+++ b/drivers/staging/ks7010/ks_hostif.h
@@ -498,20 +498,20 @@ struct hostif_mic_failure_request {
 #define TX_RATE_FIXED  5
 
 /* 11b rate */
-#define TX_RATE_1M (u8)(10 / 5)/* 11b 11g basic rate */
-#define TX_RATE_2M (u8)(20 / 5)/* 11b 11g basic rate */
-#define TX_RATE_5M (u8)(55 / 5)/* 11g basic rate */
-#define TX_RATE_11M(u8)(110 / 5)   /* 11g basic rate */
+#define TX_RATE_1M ((u8)(10 / 5))  /* 11b 11g basic rate */
+#define TX_RATE_2M ((u8)(20 / 5))  /* 11b 11g basic rate */
+#define TX_RATE_5M ((u8)(55 / 5))  /* 11g basic rate */
+#define TX_RATE_11M((u8)(110 / 5)) /* 11g basic rate */
 
 /* 11g rate */
-#define TX_RATE_6M (u8)(60 / 5)/* 11g basic rate */
-#define TX_RATE_12M(u8)(120 / 5)   /* 11g basic rate */
-#define TX_RATE_24M(u8)(240 / 5)   /* 11g basic rate */
-#define TX_RATE_9M (u8)(90 / 5)
-#define TX_RATE_18M(u8)(180 / 5)
-#define TX_RATE_36M(u8)(360 / 5)
-#define TX_RATE_48M(u8)(480 / 5)
-#define TX_RATE_54M(u8)(540 / 5)
+#define TX_RATE_6M ((u8)(60 / 5))  /* 11g basic rate */
+#define TX_RATE_12M((u8)(120 / 5)) /* 11g basic rate */
+#define TX_RATE_24M((u8)(240 / 5)) /* 11g basic rate */
+#define TX_RATE_9M ((u8)(90 / 5))
+#define TX_RATE_18M((u8)(180 / 5))
+#define TX_RATE_36M((u8)(360 / 5))
+#define TX_RATE_48M((u8)(480 / 5))
+#define TX_RATE_54M((u8)(540 / 5))
 
 static inline bool is_11b_rate(u8 rate)
 {
-- 
2.30.0

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[staging:staging-testing] BUILD SUCCESS 4eb839aef182fccf8995ee439fc2b48d43e45918

2021-02-14 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
branch HEAD: 4eb839aef182fccf8995ee439fc2b48d43e45918  staging: hikey9xx: Fix 
alignment of function parameters

elapsed time: 722m

configs tested: 102
configs skipped: 2

The following configs have been built successfully.
More configs may be tested in the coming days.

gcc tested configs:
arm defconfig
arm64allyesconfig
arm64   defconfig
arm  allyesconfig
arm  allmodconfig
powerpcsocrates_defconfig
powerpcfsp2_defconfig
powerpcmpc7448_hpc2_defconfig
powerpc  ppc44x_defconfig
powerpc mpc836x_mds_defconfig
powerpc mpc8540_ads_defconfig
arm s5pv210_defconfig
xtensa   common_defconfig
arm   sunxi_defconfig
arcnsimosci_defconfig
mipsmalta_kvm_guest_defconfig
sparc   defconfig
sparcalldefconfig
xtensa  iss_defconfig
sh   se7721_defconfig
arm   imx_v6_v7_defconfig
armmini2440_defconfig
mips tb0226_defconfig
arm  imote2_defconfig
arm nhk8815_defconfig
sh   se7705_defconfig
mips  cavium_octeon_defconfig
powerpc pq2fads_defconfig
c6x dsk6455_defconfig
archsdk_defconfig
arm  integrator_defconfig
ia64 allmodconfig
ia64defconfig
ia64 allyesconfig
m68k allmodconfig
m68kdefconfig
m68k allyesconfig
nios2   defconfig
arc  allyesconfig
nds32 allnoconfig
c6x  allyesconfig
nds32   defconfig
nios2allyesconfig
cskydefconfig
alpha   defconfig
alphaallyesconfig
xtensa   allyesconfig
h8300allyesconfig
arc defconfig
sh   allmodconfig
parisc  defconfig
s390 allyesconfig
s390 allmodconfig
parisc   allyesconfig
s390defconfig
i386 allyesconfig
sparcallyesconfig
i386   tinyconfig
i386defconfig
mips allyesconfig
mips allmodconfig
powerpc  allyesconfig
powerpc  allmodconfig
powerpc   allnoconfig
x86_64   randconfig-a003-20210214
x86_64   randconfig-a002-20210214
x86_64   randconfig-a001-20210214
x86_64   randconfig-a004-20210214
x86_64   randconfig-a005-20210214
x86_64   randconfig-a006-20210214
i386 randconfig-a003-20210214
i386 randconfig-a005-20210214
i386 randconfig-a002-20210214
i386 randconfig-a006-20210214
i386 randconfig-a004-20210214
i386 randconfig-a001-20210214
i386 randconfig-a016-20210214
i386 randconfig-a014-20210214
i386 randconfig-a012-20210214
i386 randconfig-a013-20210214
i386 randconfig-a011-20210214
i386 randconfig-a015-20210214
riscvnommu_k210_defconfig
riscvallyesconfig
riscvnommu_virt_defconfig
riscv allnoconfig
riscv   defconfig
riscv  rv32_defconfig
riscvallmodconfig
x86_64   rhel
x86_64   allyesconfig
x86_64rhel-7.6-kselftests
x86_64  defconfig
x86_64   rhel-8.3
x86_64  rhel-8.3-kbuiltin
x86_64  kexec

clang tested configs:
x86_64   randconfig-a016-20210214
x86_64   randconfig-a013-20210214
x86_64   randconfig-a012-20210214
x86_64   randconfig

Re: [PATCH] staging: ks7010: cleanup checkpatch.pl macro error

2021-02-14 Thread Greg Kroah-Hartman
On Sun, Feb 14, 2021 at 04:35:23PM +0530, Shreesh Adiga wrote:
> Add parentheses around the macro definitions in ks_hostif.h
> to clear the error output by checkpatch.pl
> 
> Signed-off-by: Shreesh Adiga <16567adigashre...@gmail.com>
> ---
>  drivers/staging/ks7010/ks_hostif.h | 24 
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/staging/ks7010/ks_hostif.h 
> b/drivers/staging/ks7010/ks_hostif.h
> index 39138191a556..c62a494ed6bb 100644
> --- a/drivers/staging/ks7010/ks_hostif.h
> +++ b/drivers/staging/ks7010/ks_hostif.h
> @@ -498,20 +498,20 @@ struct hostif_mic_failure_request {
>  #define TX_RATE_FIXED5
>  
>  /* 11b rate */
> -#define TX_RATE_1M   (u8)(10 / 5)/* 11b 11g basic rate */
> -#define TX_RATE_2M   (u8)(20 / 5)/* 11b 11g basic rate */
> -#define TX_RATE_5M   (u8)(55 / 5)/* 11g basic rate */
> -#define TX_RATE_11M  (u8)(110 / 5)   /* 11g basic rate */
> +#define TX_RATE_1M   ((u8)(10 / 5))  /* 11b 11g basic rate */
> +#define TX_RATE_2M   ((u8)(20 / 5))  /* 11b 11g basic rate */
> +#define TX_RATE_5M   ((u8)(55 / 5))  /* 11g basic rate */
> +#define TX_RATE_11M  ((u8)(110 / 5)) /* 11g basic rate */
>  
>  /* 11g rate */
> -#define TX_RATE_6M   (u8)(60 / 5)/* 11g basic rate */
> -#define TX_RATE_12M  (u8)(120 / 5)   /* 11g basic rate */
> -#define TX_RATE_24M  (u8)(240 / 5)   /* 11g basic rate */
> -#define TX_RATE_9M   (u8)(90 / 5)
> -#define TX_RATE_18M  (u8)(180 / 5)
> -#define TX_RATE_36M  (u8)(360 / 5)
> -#define TX_RATE_48M  (u8)(480 / 5)
> -#define TX_RATE_54M  (u8)(540 / 5)
> +#define TX_RATE_6M   ((u8)(60 / 5))  /* 11g basic rate */
> +#define TX_RATE_12M  ((u8)(120 / 5)) /* 11g basic rate */
> +#define TX_RATE_24M  ((u8)(240 / 5)) /* 11g basic rate */
> +#define TX_RATE_9M   ((u8)(90 / 5))
> +#define TX_RATE_18M  ((u8)(180 / 5))
> +#define TX_RATE_36M  ((u8)(360 / 5))
> +#define TX_RATE_48M  ((u8)(480 / 5))
> +#define TX_RATE_54M  ((u8)(540 / 5))
>  
>  static inline bool is_11b_rate(u8 rate)
>  {
> -- 
> 2.30.0


Hi,

This is the friendly patch-bot of Greg Kroah-Hartman.  You have sent him
a patch that has triggered this response.  He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created.  Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- You sent a patch that has been sent multiple times in the past few
  days, and is identical to ones that has been recently rejected.
  Please always look at the mailing list traffic to determine if you are
  duplicating other people's work.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: rtl8192e: fix typo in a comment

2021-02-14 Thread William Durand
This patch fixes a checkpatch warning by deleting a repeated word.

Signed-off-by: William Durand 
---
 drivers/staging/rtl8192e/rtllib_softmac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c 
b/drivers/staging/rtl8192e/rtllib_softmac.c
index 2d3be91b113d..ab4b9817888c 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -2443,7 +2443,7 @@ inline int rtllib_rx_frame_softmac(struct rtllib_device 
*ieee,
  * N = MAX_PACKET_SIZE / MIN_FRAG_TRESHOLD
  * In this way you need just one and the 802.11 stack
  * will take care of buffering fragments and pass them to
- * to the driver later, when it wakes the queue.
+ * the driver later, when it wakes the queue.
  */
 void rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee)
 {
--
2.17.1

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: rtl8192e: fix typo in a function name

2021-02-14 Thread William Durand
Other function names use the verb 'query' so this function should
probably use it too and that's what this patch is about. I didn't
find any other occurrence and the code compiles.

Signed-off-by: William Durand 
---
 drivers/staging/rtl8192e/rtllib_tx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_tx.c 
b/drivers/staging/rtl8192e/rtllib_tx.c
index 8add17752eed..50cf10201fdd 100644
--- a/drivers/staging/rtl8192e/rtllib_tx.c
+++ b/drivers/staging/rtl8192e/rtllib_tx.c
@@ -339,7 +339,7 @@ static void rtllib_tx_query_agg_cap(struct rtllib_device 
*ieee,
}
 }

-static void rtllib_qurey_ShortPreambleMode(struct rtllib_device *ieee,
+static void rtllib_query_ShortPreambleMode(struct rtllib_device *ieee,
   struct cb_desc *tcb_desc)
 {
tcb_desc->bUseShortPreamble = false;
@@ -928,7 +928,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct 
net_device *dev)
tcb_desc->bdhcp = 1;
}

-   rtllib_qurey_ShortPreambleMode(ieee, tcb_desc);
+   rtllib_query_ShortPreambleMode(ieee, tcb_desc);
rtllib_tx_query_agg_cap(ieee, txb->fragments[0],
tcb_desc);
rtllib_query_HTCapShortGI(ieee, tcb_desc);
--
2.17.1

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH 1/1] staging: hikey9xx: hi6421-spmi-pmic.c: removing

2021-02-14 Thread Alaa Emad
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:51: WARNING: please, no space 
before tabs
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:52: WARNING: please, no space 
before tabs
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:53: WARNING: please, no space 
before tabs
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:69: WARNING: please, no space 
before tabs
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:180: CHECK: Alignment should match 
open parenthesis
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:238: CHECK: Alignment should match 
open parenthesis
drivers/staging/hikey9xx/hi6421-spmi-pmic.c:281: WARNING: DT compatible string 
"hisilicon,hi6421-spmi" appears un-documented -- check 
./Documentation/devicetree/bindings/
total: 0 errors, 5 warnings, 2 checks, 297 lines checked

Signed-off-by: Alaa Emad 

---
 drivers/staging/hikey9xx/hi6421-spmi-pmic.c | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c 
b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
index 9c5e113e1a81..626140cb96f2 100644
--- a/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
+++ b/drivers/staging/hikey9xx/hi6421-spmi-pmic.c
@@ -48,9 +48,9 @@ enum hi6421_spmi_pmic_irq_list {
 /*
  * The IRQs are mapped as:
  *
- * ==  =   =
- * IRQ MASK REGISTER   IRQ REGISTERBIT
- * ==  =   =
+ * ==  =   =
+ * IRQ MASK REGISTER   IRQ REGISTERBIT
+ * ==  =   =
  * OTMP0x0202  0x212   bit 0
  * VBUS_CONNECT0x0202  0x212   bit 1
  * VBUS_DISCONNECT 0x0202  0x212   bit 2
@@ -66,7 +66,7 @@ enum hi6421_spmi_pmic_irq_list {
  * SIM0_HPD_F  0x0203  0x213   bit 3
  * SIM1_HPD_R  0x0203  0x213   bit 4
  * SIM1_HPD_F  0x0203  0x213   bit 5
- * ==  =   =
+ * ==  =   =
  */
 #define SOC_PMIC_IRQ_MASK_0_ADDR   0x0202
 #define SOC_PMIC_IRQ0_ADDR 0x0212
@@ -177,7 +177,7 @@ static void hi6421_spmi_pmic_irq_init(struct 
hi6421_spmi_pmic *ddata)
 
for (i = 0; i < HISI_IRQ_ARRAY; i++)
regmap_write(ddata->regmap, SOC_PMIC_IRQ_MASK_0_ADDR + i,
-   HISI_MASK);
+HISI_MASK);
 
for (i = 0; i < HISI_IRQ_ARRAY; i++) {
regmap_read(ddata->regmap, SOC_PMIC_IRQ0_ADDR + i, &pending);
@@ -235,7 +235,7 @@ static int hi6421_spmi_pmic_probe(struct spmi_device *pdev)
return -ENOMEM;
 
ddata->domain = irq_domain_add_simple(np, HISI_IRQ_NUM, 0,
-&hi6421_spmi_domain_ops, ddata);
+ &hi6421_spmi_domain_ops, ddata);
if (!ddata->domain) {
dev_err(dev, "Failed to create IRQ domain\n");
return -ENODEV;
-- 
2.25.1

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH] staging: removed unnecessary debug message to fix coding style warning

2021-02-14 Thread Ashish Vara
From: Ashish Vara 

removed unnecessary out of memory message to fix coding style warning.

Signed-off-by: Ashish Vara 
---
 drivers/staging/gasket/gasket_page_table.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/staging/gasket/gasket_page_table.c 
b/drivers/staging/gasket/gasket_page_table.c
index 6f6273c83822..2dbf3d9b8f34 100644
--- a/drivers/staging/gasket/gasket_page_table.c
+++ b/drivers/staging/gasket/gasket_page_table.c
@@ -262,8 +262,6 @@ int gasket_page_table_init(struct gasket_page_table 
**ppg_tbl,
if (bytes != 0) {
pg_tbl->entries = vzalloc(bytes);
if (!pg_tbl->entries) {
-   dev_dbg(device,
-   "No memory for address translation metadata\n");
kfree(pg_tbl);
*ppg_tbl = NULL;
return -ENOMEM;
-- 
2.25.1
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


KONTAKTIEREN SIE DEN BANKDIREKTOR.

2021-02-14 Thread Sofia Gabriel
Spam detection software, running on the system "smtp3.osuosl.org",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  

Content analysis details:   (5.6 points, 5.0 required)

 pts rule name  description
 -- --
 0.8 BAYES_50   BODY: Bayes spam probability is 40 to 60%
[score: 0.4814]
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/,
 no trust
[209.85.208.52 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM  Sender email is commonly abused enduser mail
provider (sofiagabriel4221[at]gmail.com)
 0.5 SUBJ_ALL_CAPS  Subject is all capitals
 0.0 SPF_HELO_NONE  SPF: HELO does not publish an SPF Record
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
in digit (sofiagabriel4221[at]gmail.com)
-0.0 SPF_PASS   SPF: sender matches SPF record
 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in
digit (lindawilliam2026[at]gmail.com)
-0.0 RCVD_IN_MSPIKE_H2  RBL: Average reputation (+2)
[209.85.208.52 listed in wl.mailspike.net]
-0.1 DKIM_VALID_EF  Message has a valid DKIM or DK signature from
envelope-from domain
 0.1 DKIM_SIGNEDMessage has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID_AU  Message has a valid DKIM or DK signature from
author's domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
 0.0 TVD_SPACE_RATIONo description available.
 0.0 T_HK_SPAMMY_FILENAME   No description available.
 3.0 UNDISC_FREEM   Undisclosed recipients + freemail reply-to
 1.0 FREEMAIL_REPLYTO   Reply-To/From or Reply-To/body contain
different freemails
 0.0 T_FREEMAIL_DOC_PDF_BCC MS document or PDF attachment, from
freemail, all recipients hidden
 0.0 T_FREEMAIL_DOC_PDF MS document or PDF attachment, from freemail

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---



CONTATE URGENTEMENTE O DIRETOR DO BANCO ORA..docx
Description: MS-Word 2007 document
--- End Message ---
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel