: Wang Qing
---
drivers/watchdog/mtk_wdt.c | 33 +++--
1 file changed, 31 insertions(+), 2 deletions(-)
diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c
index 97ca993..a1f34b5
--- a/drivers/watchdog/mtk_wdt.c
+++ b/drivers/watchdog/mtk_wdt.c
- is processed and wait until timeout.
Signed-off-by: Wang Qing
---
drivers/watchdog/mtk_wdt.c | 62 ++
1 file changed, 57 insertions(+), 5 deletions(-)
diff --git a/drivers/watchdog/mtk_wdt.c b/drivers/watchdog/mtk_wdt.c
index 97ca993..7bef1e3
--- a
Use the bark interrupt as the pretimeout notifier if available.
By default, the pretimeout notification shall occur one second earlier
than the timeout.
V2:
- panic() by default if WATCHDOG_PRETIMEOUT_GOV is not enabled
Signed-off-by: Wang Qing
---
drivers/watchdog/mtk_wdt.c | 57
Use the bark interrupt as the pretimeout notifier if available.
By default, the pretimeout notification shall occur one second earlier
than the timeout.
Signed-off-by: Wang Qing
---
drivers/watchdog/mtk_wdt.c | 47 +++---
1 file changed, 44 insertions
defaults available.
Signed-off-by: Wang Qing
---
drivers/watchdog/softdog.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/watchdog/softdog.c b/drivers/watchdog/softdog.c
index 7a10962..79e52791
--- a/drivers/watchdog/softdog.c
+++ b/drivers/watchdog/softdog.c
@@ -35,6
"watchdog/%u" threads has be replaced by cpu_stop_work. The current
description is extremely misleading.
---
Documentation/admin-guide/sysctl/kernel.rst | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/admin-guide/sysctl/kernel.rst
b/Documentation/admi
"watchdog/%u" threads has be replaced by cpu_stop_work. The current
description is extremely misleading.
Signed-off-by: Wang Qing
---
Documentation/admin-guide/lockup-watchdogs.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-gu
The watchdog thread has been replaced by cpu_stop_work, modify the
explanation related.
Signed-off-by: Wang Qing
---
kernel/watchdog.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 7110906..d7fb4fb
--- a/kernel
"watchdog/%u" threads has be replaced by cpu_stop_work. The current
description is extremely misleading, so we need to modify the
explanation and documentation related to this.
Wang Qing (4):
kernel: watchdog: Modify the explanation related to watchdog thread
doc: watchdog:
"watchdog/%u" threads has be replaced by cpu_stop_work. The current description
is extremely misleading, so delete the explanation about "watchdog/%u".
Signed-off-by: Wang Qing
---
.../admin-guide/kernel-per-CPU-kthreads.rst | 20
1 file c
The TODO file here has not been updated from 2005, and the function
development described in the file have been implemented or abandoned.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
net/decnet/TODO | 40
The TODO file here has not been updated for 14 years, and the function
development described in the file have been implemented or abandoned.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
fs/jffs2/TODO | 37
The TODO file here has not been updated for 13 years, and the function
development described in the file have been implemented or abandoned.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
net/ax25/TODO | 20
1 file
The TODO file here has not been updated from 2.6.12 for more than 15 years.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
drivers/scsi/aacraid/TODO | 3 ---
1 file changed, 3 deletions(-)
delete mode 100644 drivers/scsi/aacraid/TODO
The TODO file here has not been updated from 2005, and the function
development described in the file have been implemented or abandoned.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
fs/befs/TODO | 14 --
1 file changed
The TODO file here has not been updated for 15 years, and the function
development described in the file have been implemented or abandoned.
Its existence will mislead developers seeking to view outdated information.
Signed-off-by: Wang Qing
---
arch/mips/sgi-ip27/TODO | 19
or abandoned.
Its existence will mislead developers seeking to view outdated information.
Wang Qing (6):
mips/sgi-ip27: Delete obsolete TODO file
scsi/aacraid: Delete obsolete TODO file
fs/befs: Delete obsolete TODO file
fs/jffs2: Delete obsolete TODO file
net/ax25: Delete obsolete TODO
work never finishes, for example, because of dependencies of works
queued into the same workqueue.
V3:
- Modify the commit message clearly according to Petr's suggestion.
Signed-off-by: Wang Qing
---
kernel/watchdog.c | 5 +++--
kernel/workqueue.c | 17 ++---
2 files chang
work never finishes, for example, because of dependencies of works
queued into the same workqueue.
V3:
- Modify the commit message clearly according to Petr's suggestion.
Signed-off-by: Wang Qing
---
kernel/watchdog.c | 5 +++--
kernel/workqueue.c | 17 ++---
2 files chang
"watchdog/%u" threads has be replaced by cpu_stop_work, So we need to modify
the explanation and documentation related to this.
Signed-off-by: Wang Qing
---
.../admin-guide/kernel-per-CPU-kthreads.rst | 20
kernel/watchdog.c
wq_watchdog_touched_cpu to check bound, and use wq_watchdog_touched
to check unbound worker_pool.
Signed-off-by: Wang Qing
---
kernel/watchdog.c | 5 +++--
kernel/workqueue.c | 17 ++---
2 files changed, 9 insertions(+), 13 deletions(-)
diff --git a/kernel/watchdog.c b/kernel
wq_watchdog_touched_cpu to check bound, and use wq_watchdog_touched
to check unbound worker_pool.
Signed-off-by: Wang Qing
---
kernel/workqueue.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0d150da..be08295
Using wake_up_process() is more simpler and friendly,
and it is more convenient for analysis and statistics
Signed-off-by: Wang Qing
---
kernel/futex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/futex.c b/kernel/futex.c
index e68db77..078a1f9
--- a/kernel
Using wake_up_process() is more simpler and friendly,
and it is more convenient for analysis and statistics
Signed-off-by: Wang Qing
---
drivers/dma-buf/dma-fence.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
This function just puts wait into queue, and does not do an operation similar
to prepare_to_wait() in wait.c.
And during the operation, the caller needs to hold the lock to protect.
Signed-off-by: Wang Qing
---
kernel/sched/completion.c | 2 +-
kernel/sched/sched.h | 2 +-
kernel/sched
Why not just use wake_up_process().
Signed-off-by: Wang Qing
---
kernel/sched/swait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/swait.c b/kernel/sched/swait.c
index e1c655f..7a24925
--- a/kernel/sched/swait.c
+++ b/kernel/sched/swait.c
@@ -69,7 +69,7
The most intuitive meaning of completion_done() is to see if a completion has
been done, done=0 can only indicate that someone may be waiting.
Signed-off-by: Wang Qing
---
kernel/sched/completion.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/sched
"watchdog/%u" threads has be replaced by cpu_stop_work,
which will mislead the reader.
Signed-off-by: Wang Qing
---
.../admin-guide/kernel-per-CPU-kthreads.rst | 20
1 file changed, 20 deletions(-)
diff --git a/Documentation/admin-guide/kern
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, and should corrected to < 0.
Also, thhe return value should return a real error.
Signed-off-by: Wang Qing
---
drivers/ata/sata_highbank.c | 6 ++
1 file changed, 2 insertions(+)
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, and should corrected to < 0.
Also, thhe return value should return a real error.
Signed-off-by: Wang Qing
---
drivers/ata/sata_highbank.c | 4 +---
1 file changed, 1 insertion(+)
As THIS_MODULE has been set in module_platform_driver(), so remove it.
Signed-off-by: Wang Qing
---
sound/soc/fsl/imx-hdmi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/fsl/imx-hdmi.c b/sound/soc/fsl/imx-hdmi.c
index dbbb761..cd0235a
--- a/sound/soc/fsl/imx-hdmi.c
+++ b/sound
As THIS_MODULE has been set in module_platform_driver(), so remove it.
Signed-off-by: Wang Qing
---
sound/soc/codecs/lpass-rx-macro.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/lpass-rx-macro.c
b/sound/soc/codecs/lpass-rx-macro.c
index c9c21d22..5b9d4e9
--- a/sound/soc
As THIS_MODULE has been set in platform_create_bundle(), so remove it.
Signed-off-by: Wang Qing
---
drivers/mailbox/pcc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index ef9ecd1..4b1a2d2
--- a/drivers/mailbox/pcc.c
+++ b/drivers/mailbox
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/gpu/drm/mediatek/mtk_dpi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/mediatek
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/tty/serial/8250/8250_fsl.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/tty/serial/8250
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/char/hw_random/cctrng.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/char/hw_random
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/ata/sata_highbank.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/ata/sata_highbank.c b
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/ata/libahci_platform.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/ata
debugfs_create_file_unsafe does not protect the fops handed to it
against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of
the file lifetime and thus protects it against removal.
Signed-off-by: Wang Qing
---
arch/mips/kernel/spinlock_test.c | 8
1 file changed, 4
Fix the following coccicheck warning:
WARNING:pm_sr_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE.
Signed-off-by: Wang Qing
---
drivers/soc/ti/smartreflex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti
dma_alloc_coherent already zeroes out memory, so memset is not needed.
Signed-off-by: Wang Qing
---
drivers/usb/cdns3/cdnsp-mem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/usb/cdns3/cdnsp-mem.c b/drivers/usb/cdns3/cdnsp-mem.c
index 7a84e92..1d1b9a4
--- a/drivers/usb/cdns3/cdnsp
use dma_pool_zalloc instead of dma_pool_alloc and memset
Signed-off-by: Wang Qing
---
drivers/scsi/qla2xxx/qla_os.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 0743925..ac5e954
--- a/drivers/scsi
Fix the following coccicheck warning:
WARNING: casting value returned by memory allocation function is useless.
Signed-off-by: Wang Qing
---
include/rdma/ib_verbs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index
fix inconsistent indenting in dma_alloc_coherent()
Signed-off-by: Wang Qing
---
include/linux/dma-mapping.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h
index fbfa3f5..6e4d513
--- a/include/linux/dma-mapping.h
+++ b/include/linux
Fix the following coccicheck warning:
WARNING: casting value returned by memory allocation function is useless.
Signed-off-by: Wang Qing
---
drivers/scsi/ibmvscsi/ibmvscsi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi
Fix the following coccicheck warning:
WARNING: casting value returned by memory allocation function is useless.
Signed-off-by: Wang Qing
---
drivers/scsi/fnic/fnic_debugfs.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/fnic/fnic_debugfs.c b/drivers/scsi
Fix the following coccicheck warning:
WARNING: casting value returned by memory allocation function is useless.
Signed-off-by: Wang Qing
---
drivers/message/fusion/mptbase.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/message/fusion/mptbase.c b/drivers
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/video/fbdev/vt8500lcdfb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/fbdev/vt8500lcdfb.c
b/drivers
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/video/fbdev/s3c2410fb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/video/fbdev/pxafb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/pxafb.c b
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/video/fbdev/pxa3xx-gcu.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev/pxa3xx
platform_get_irq() has already checked and printed the return value,
the printing here is nothing special, it is not necessary at all.
Signed-off-by: Wang Qing
---
drivers/video/fbdev/pxa168fb.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/video/fbdev
wheter -> whether
Signed-off-by: Wang Qing
---
drivers/tty/serial/sh-sci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index e1179e7..e3af97a
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sc
rewriteing -> rewriting
Signed-off-by: Wang Qing
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c
index 83b4
wheter -> whether
Signed-off-by: Wang Qing
---
drivers/isdn/mISDN/l1oip_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c
index b57dcb8..facbd88
--- a/drivers/isdn/mISDN/l1oip_core.c
+++ b/drivers/i
>The Following is experiment environment:
> - kernel version: 4.4.0
> - RAM: 8GB
> - UFS 2.1 (64GB)
>
>Result:
>+---+--+--+---+
>| cycle | baseline | with HPB | diff |
>+---+--+--+---+
>| 1 | 272.4| 264.9| -7.5 |
>| 2 | 250.4| 24
According to Samsung's iozone test result, HPB is going to boost random
performance of rom on mobile, we believe it will help our customers on
several occasions.
Smatch gives the warning:
do_numa_page() warn: assigning (-11) to unsigned variable 'migrated'
Signed-off-by: Wang Qing
---
mm/memory.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mm/memory.c b/mm/memory.c
index 784249f..d8125df
--- a/mm/memory.
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
mm/mempolicy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
drivers/s390/crypto/vfio_ap_ops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/s390/c
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
arch/arc/kernel/signal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arc/kernel/signa
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
drivers/s390/cio/vfio_ccw_ops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/s39
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
kernel/sys.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sys.c b/kernel/sys.c
index 8b
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
fs/select.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/select.c b/fs/select.c
index 37
The copy_to_user() function returns the number of bytes remaining to be
copied, but we want to return -EFAULT if the copy doesn't complete.
Signed-off-by: Wang Qing
---
arch/mips/sibyte/common/sb_tbprof.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/s
Smatch gives the warning:
lib/decompress_unlzma.c:395 process_bit1() warn: inconsistent indenting
Signed-off-by: Wang Qing
---
lib/decompress_unlzma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/decompress_unlzma.c b/lib/decompress_unlzma.c
index 1cf409e
The following commit has been merged into the core/rcu branch of tip:
Commit-ID: c5586e32dfe258925c5dbb599bea3eadf34e79c1
Gitweb:
https://git.kernel.org/tip/c5586e32dfe258925c5dbb599bea3eadf34e79c1
Author:Wang Qing
AuthorDate:Sat, 07 Nov 2020 16:24:03 +08:00
Committer
Remove duplicate header unnecessary.
Only include nfs42.h when NFS_V4_2 enable.
Signed-off-by: Wang Qing
---
fs/nfs/nfs4proc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 9e0ca9b..a1321a5 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 61b39ad9a7d26fe14a2f5f23e5e940e7f9664d41
Gitweb:
https://git.kernel.org/tip/61b39ad9a7d26fe14a2f5f23e5e940e7f9664d41
Author:Wang Qing
AuthorDate:Mon, 09 Nov 2020 11:45:41 +08:00
Committer
Add temfs to the index tree while adding tempfs translation.
Signed-off-by: Wang Qing
---
Documentation/translations/zh_CN/filesystems/index.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/translations/zh_CN/filesystems/index.rst
b/Documentation/translations/zh_CN
We always have to update the value of ret, otherwise the error value
may be the previous one. And ptp_clock_register() never return NULL
when PTP_1588_CLOCK enable.
Signed-off-by: Wang Qing
---
drivers/net/ethernet/ti/am65-cpts.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
PREEMPT_RT is a separate preemption model, CONFIG_PREEMPT will
be disabled when CONFIG_PREEMPT_RT is enabled, so we need
to add CONFIG_PREEMPT_RT output to __die().
Signed-off-by: Wang Qing
Changes in v3:
- Fix typo issue.
Changes in v2:
- Modify as Christophe suggested.
---
arch/powerpc
PREEMPT_RT is a separate preemption model, CONFIG_PRTTMPT will
be disabled when CONFIG_PREEMPT_RT is enabled, so you need
to add CONFIG_PREEMPT_RT judgments to __die().
Signed-off-by: Wang Qing
Changes in v2:
- Modify as Christophe suggested.
---
arch/powerpc/kernel/traps.c | 3 ++-
1 file
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
arch/x86/kernel/head64.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c
index 05e1171..5e9beb7
--- a/arch/x86/kernel/head64.c
+++ b/arch/x86/kernel/head64.c
Use kobj_to_dev() instead of container_of().
Signed-off-by: Wang Qing
---
drivers/input/touchscreen/ads7846.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/touchscreen/ads7846.c
b/drivers/input/touchscreen/ads7846.c
index 8fd7fc3..ee74da2
--- a/drivers/input
Add PREEMPT_RT output to die().
Signed-off-by: Wang Qing
---
arch/powerpc/kernel/traps.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index 5006dcb..6dfe567
--- a/arch/powerpc/kernel/traps.c
+++ b/arch
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
arch/sh/kernel/cpu/sh3/entry.S | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/sh/kernel/cpu/sh3/entry.S b/arch/sh/kernel/cpu/sh3/entry.S
index 25eb809..e48b3dd
--- a/arch/sh/kernel/cpu/sh3/entry.S
+++ b/arch
Use kobj_to_dev() instead of container_of().
Signed-off-by: Wang Qing
---
drivers/scsi/3w-sas.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/3w-sas.c b/drivers/scsi/3w-sas.c
index dda6fa8..7cde82e
--- a/drivers/scsi/3w-sas.c
+++ b/drivers/scsi/3w-sas.c
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
arch/sh/boards/mach-sh03/rtc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/sh/boards/mach-sh03/rtc.c b/arch/sh/boards/mach-sh03/rtc.c
index 8b23ed7..7fb4748 100644
--- a/arch/sh/boards/mach-sh03/rtc.c
We always have to update the value of ret, otherwise the error value
may be the previous one. And ptp_clock_register() never return NULL
when PTP_1588_CLOCK enable.
Signed-off-by: Wang Qing
---
drivers/net/ethernet/ti/am65-cpts.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
Translate Documentation/filesystems/tmpfs.rst into Chinese.
Signed-off-by: Wang Qing
Changes in v4:
- Modify as Alex required.
Changes in v3:
- Fix patch format issue.
---
.../translations/zh_CN/filesystems/tmpfs.rst | 146 +
1 file changed, 146 insertions
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
arch/arm/mach-sa1100/hackkit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-sa1100/hackkit.c b/arch/arm/mach-sa1100/hackkit.c
index 3085f1c..3fe34ee
--- a/arch/arm/mach-sa1100/hackkit.c
+++ b/arch
writting -> writing
Signed-off-by: Wang Qing
---
tools/testing/selftests/vm/userfaultfd.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/testing/selftests/vm/userfaultfd.c
b/tools/testing/selftests/vm/userfaultfd.c
index 9b0912a..9132fae7
--- a/tools/test
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
arch/arm/mm/mmu.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index ab69250..4963e1c
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -33,7 +33,6 @@
#include
#include
Translate Documentation/filesystems/tmpfs.rst into Chinese.
Signed-off-by: Wang Qing
Changes in v3:
- Fix patch format issue.
---
.../translations/zh_CN/filesystems/tmpfs.rst | 146 +
1 file changed, 146 insertions(+)
create mode 100644 Documentation/translations
workarould -> workaround
Signed-off-by: Wang Qing
---
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c
b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c
in
Remove duplicate header include which is unnecessary.
Signed-off-by: Wang Qing
---
kernel/sched/sched.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h
index df80bfc..dd91a8b
--- a/kernel/sched/sched.h
+++ b/kernel/sched/sched.h
@@ -351,7 +351,6
Remove duplicate header include which is unnecessary.
Signed-off-by: Wang Qing
---
kernel/locking/locktorture.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 62d215b..af99e9c 100644
--- a/kernel/locking/locktorture.c
+++ b
wtih -> with
Signed-off-by: Wang Qing
---
drivers/firmware/raspberrypi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/firmware/raspberrypi.c b/drivers/firmware/raspberrypi.c
index 2371d08..30259dc
--- a/drivers/firmware/raspberrypi.c
+++ b/drivers/firmw
Remove duplicate header which is included twice.
Signed-off-by: Wang Qing
---
kernel/bpf/btf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/bpf/btf.c b/kernel/bpf/btf.c
index ed7d02e..6324de8
--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -22,7 +22,6 @@
#include
#include
There is a bug when passing zero to PTR_ERR() and return.
Fix smatch err.
Signed-off-by: Wang Qing
---
kernel/trace/bpf_trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index 4517c8b..5113fd4
--- a/kernel/trace
There is a bug when passing zero to PTR_ERR() and return.
Fix smatch err.
Signed-off-by: Wang Qing
---
kernel/trace/bpf_trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index 4517c8b..5113fd4
--- a/kernel/trace
We always have to update the value of ret, otherwise the error value
may be the previous one. And ptp_clock_register() never return NULL
when PTP_1588_CLOCK enable, so we use IS_ERR here.
Signed-off-by: Wang Qing
---
drivers/net/ethernet/ti/am65-cpts.c | 5 ++---
1 file changed, 2 insertions
pcp_clock_register() is checked with IS_ERR(), and will crash if !PTP,
change return value to ERR_PTR(-EOPNOTSUPP) for the !CONFIG_PTP_1588_CLOCK
and so question resolved.
Signed-off-by: Wang Qing
---
include/linux/ptp_clock_kernel.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
a6xx_gmu_get_mmio() never return null in case of error, but ERR_PTR(), so
we should use IS_ERR() instead of null pointer check and IS_ERR_OR_NULL().
Signed-off-by: Wang Qing
---
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a
idt_create_dev never return NULL and fix smatch warning.
Signed-off-by: Wang Qing
---
drivers/ntb/hw/idt/ntb_hw_idt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/ntb/hw/idt/ntb_hw_idt.c b/drivers/ntb/hw/idt/ntb_hw_idt.c
index d54261f..e7a4c2a
--- a/drivers
withing should be within.
Signed-off-by: Wang Qing
---
arch/c6x/platforms/megamod-pic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/c6x/platforms/megamod-pic.c b/arch/c6x/platforms/megamod-pic.c
index 56189e5..adac7ac
--- a/arch/c6x/platforms/megamod-pic.c
+++ b
Fix passing zero to 'PTR_ERR' warning
Signed-off-by: Wang Qing
---
drivers/crypto/caam/caamalg_qi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/crypto/caam/caamalg_qi.c b/drivers/crypto/caam/caamalg_qi.c
index 66f60d7..add60e8
--- a/drivers/c
Fix smatch warning.
Signed-off-by: Wang Qing
---
kernel/trace/bpf_trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index 4517c8b..2cb9c45
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -1198,7
1 - 100 of 160 matches
Mail list logo