Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/acpi/nfit/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c
index fa4500f..3bb350b
--- a/drivers/acpi/nfit/core.c
+++ b/drivers/acpi
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/dax/bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dax/bus.c b/drivers/dax/bus.c
index df238c8..24625d2
--- a/drivers/dax/bus.c
+++ b/drivers/dax/bus.c
@@ -331,7 +331,7 @@ static
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/greybus/interface.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/greybus/interface.c b/drivers/greybus/interface.c
index 67dbe6f..de167f1
--- a/drivers/greybus/interface.c
+++ b
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/input/misc/ims-pcu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c
index d8dbfc0..0879d96
--- a/drivers/input/misc/ims-pcu.c
+++ b
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
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
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
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
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
"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
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
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
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
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
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
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 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
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
- 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
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, 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 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.
---
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
: 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
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
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 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
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
---
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
---
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
---
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/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
---
mm/mempolicy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
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.
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
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 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
---
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
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
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
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
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
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
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/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/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
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
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 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
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(+)
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(+)
"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, 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
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/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/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/vt8500lcdfb.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/video/fbdev/vt8500lcdfb.c
b/drivers
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.
>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
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
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
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
Use kobj_to_dev() API instead of container_of().
Signed-off-by: Wang Qing
---
drivers/watchdog/watchdog_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/watchdog/watchdog_dev.c
diff --git a/drivers/watchdog/watchdog_dev.c b/drivers/watch
Use kobj_to_dev() API instead of container_of().
Signed-off-by: Wang Qing
---
drivers/power/supply/power_supply_sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/power/supply/power_supply_sysfs.c
diff --git a/drivers/power/sup
Use kobj_to_dev() API instead of container_of().
Signed-off-by: Wang Qing
---
drivers/block/virtio_blk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/block/virtio_blk.c
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c
in
We cannot get FP and PC when the task is running on another CPU,
task->thread.cpu_context is the last time the task was switched out,
we can use smp call to print backtrace itself.
Signed-off-by: Wang Qing
---
arch/arm64/kernel/traps.c | 11 +++
1 file changed, 11 insertions(+)
m
Use kobj_to_dev() API instead of container_of().
Signed-off-by: Wang Qing
---
drivers/gpio/gpiolib-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/gpio/gpiolib-sysfs.c
diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysf
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/hwmon/nct6683.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
mode change 100644 => 100755 drivers/hwmon/nct6683.c
diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c
index c022
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/video/backlight/lm3533_bl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
mode change 100644 => 100755 drivers/video/backlight/lm3533_bl.c
diff --git a/drivers/video/backlight/lm3533_bl.c
b/drivers/vi
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c | 34 +++
1 file changed, 17 insertions(+), 17 deletions(-)
mode change 100644 => 100755 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
diff --
Use kobj_to_dev() instead of container_of()
Signed-off-by: Wang Qing
---
drivers/thermal/thermal_sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
mode change 100644 => 100755 drivers/thermal/thermal_sysfs.c
diff --git a/drivers/thermal/thermal_sysfs.c b/drivers/ther
Increase direcly,ununsed,manger spelling error check
Signed-off-by: Wang Qing
---
scripts/spelling.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index f253681..bd99940
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -482,6 +482,7
Modify the comment typo: "compliment" -> "complement".
Signed-off-by: Wang Qing
---
drivers/hwmon/tmp513.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/tmp513.c b/drivers/hwmon/tmp513.c
index 23908dc..c37d321
--- a/drivers/hwmon/tmp51
Modify the comment typo: "compliment" -> "complement".
Signed-off-by: Wang Qing
---
drivers/block/skd_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index ae6454c..e70e764
--- a/drivers
Translate Documentation/filesystems/tmpfs.rst into Chinese.
Signed-off-by: Wang Qing
---
.../translations/zh_CN/filesystems/index.rst | 1 +
.../translations/zh_CN/filesystems/tmpfs.rst | 146 +
2 files changed, 147 insertions(+)
create mode 100644
Modify the comment typo: "compliment" -> "complement".
Signed-off-by: Wang Qing
---
drivers/net/wireless/ti/wl1251/reg.h | 2 +-
drivers/net/wireless/ti/wl12xx/reg.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ti/wl12
Modify the comment typo: "compliment" -> "complement".
Signed-off-by: Wang Qing
---
drivers/power/supply/ds2780_battery.c | 6 +++---
drivers/power/supply/ds2781_battery.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/power/supply/ds27
Modify the typo: "compliment" -> "complement".
Signed-off-by: Wang Qing
---
include/linux/platform_data/cros_ec_commands.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/platform_data/cros_ec_commands.h
b/include/linux/platform_
Use kobj_to_dev() instead of container_of().
Signed-off-by: Wang Qing
---
drivers/net/phy/spi_ks8995.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/spi_ks8995.c b/drivers/net/phy/spi_ks8995.c
index 7475cef..ca49c1a
--- a/drivers/net/phy/spi_ks8995.c
Use kobj_to_dev() instead of container_of().
Signed-off-by: Wang Qing
---
drivers/nvdimm/namespace_devs.c | 2 +-
drivers/nvdimm/region_devs.c| 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index
Use kobj_to_dev() instead of container_of().
Signed-off-by: Wang Qing
---
drivers/platform/chrome/cros_ec_sysfs.c | 2 +-
drivers/platform/chrome/cros_ec_vbc.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/chrome/cros_ec_sysfs.c
b/drivers/platform
Translate Documentation/filesystems/btrfs.rst into Chinese.
Signed-off-by: Wang Qing
---
Changes in v5:
- Fix ref errors in Original.
Changes in v4:
- Add btrfs index.
Changes in v3:
- Fix patch format issue.
---
.../translations/zh_CN/filesystems/btrfs.rst | 37
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
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
The input parameter of clk_get_rate() is checked with IS_ERR(),
so here we need to check null on clk.
Signed-off-by: Wang Qing
---
arch/arm/mach-ep93xx/clock.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-ep93xx/clock.c b/arch/arm/mach-ep93xx/clock.c
index 2810eb5
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
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
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
Signed-off-by: Wang Qing
---
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/adreno
dev_pm_opp_find_freq_exact never return null but ERR_PTR(),so we
should use IS_ERR() to clarify and avoid compilation warnings.
Signed-off-by: Wang Qing
---
drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/adreno
Assign initial values to local variables that may be returned
Signed-off-by: Wang Qing
---
drivers/usb/phy/phy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index b47285f..de21967
--- a/drivers/usb/phy/phy.c
+++ b/drivers
1 - 100 of 160 matches
Mail list logo