There is only one place use bind_con_driver now, this patch
convert it to do_bind_con_driver too, then we can delete
bind_con_driver whos function can be replaced by do_bind_con_driver
easily to reduce code size and duplication.
Signed-off-by: Wang YanQing
---
drivers/tty/vt/vt.c | 7 +--
1
Now there is no place use fbcon_takeover, and
fbcon_takeover has huge duplication code with
do_fbcon_takeover, we can achieve fbcon_takeover's
function with do_fbcon_takeover easily, so we
can just delete it.
Signed-off-by: Wang YanQing
---
drivers/video/console/fbcon.c
Now there is no place use register_con_driver|take_over_console,
and we can achieve their function with do_register_con_driver|
do_take_over_console easily, so just delete them to reduce code duplication.
Signed-off-by: Wang YanQing
---
drivers/tty/vt/vt.c | 45
and duplication.
Signed-off-by: Wang YanQing
---
drivers/video/console/fbcon.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index 3cd6759..1660644 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video
After commit 50e244cc793d511b86adea24972f3a7264cae114
(fb: rework locking to fix lock ordering on takeover)
and
commit e93a9a868792ad71cdd09d75e5a02d8067473c4e
(fb: Yet another band-aid for fixing lockdep mess)
We have two version functions implement almost the same function,
exce
On Wed, May 08, 2013 at 11:18:07AM -0400, Peter Hurley wrote:
> On 05/08/2013 09:16 AM, Wang YanQing wrote:
> > On Tue, May 07, 2013 at 07:02:00PM -0700, Greg KH wrote:
> >> What about Peter's comments on this patch?
> >>
> > Peter's comments will i
On Tue, May 07, 2013 at 07:02:00PM -0700, Greg KH wrote:
> What about Peter's comments on this patch?
>
Peter's comments will import policy,
I means we should let userspace to decide whether
and when to restart tty with the mechanism of TCXONC
instead of restart tty accidental when make n_tty_set
On Tue, May 07, 2013 at 04:50:05PM -0400, Peter Hurley wrote:
> This should be fixed in n_tty_set_termios() instead of fixing userspace
> workarounds.
Sorry, I misuse the word "workaround", emacs just do the right thing I think.
But your suggestion maybe import policy.
> The problem occurs when t
On Tue, May 07, 2013 at 11:58:00AM -0700, Greg KH wrote:
> On Wed, May 08, 2013 at 02:47:34AM +0800, Wang YanQing wrote:
> > The reason is before emacs takeover control the tty,
> > we use CTRL-S to XOFF it. Then when emacs takeover the
> > control, it may don't use the f
with vim in ssh, and also see below bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465823
Signed-off-by: Wang YanQing
---
drivers/tty/tty_ioctl.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/tty_ioctl.c b/drivers/tty/tty_ioctl.c
index e4455e0..42e08
ent in azx_probe.
This will cause Oops due dereference NULL pointer. I meet it, good luck:)
Signed-off-by: Wang YanQing
---
sound/pci/hda/hda_codec.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 622f726..9c76752 100644
--- a/sou
On Mon, May 06, 2013 at 05:28:32PM +0200, Jean Delvare wrote:
> Le Monday 06 May 2013 à 15:02 +0200, Yann E. MORIN a écrit :
> > From: "Yann E. MORIN"
> >
> > When searching for symbols, return the symbols sorted by relevance.
> >
> > Relevance is the ratio of the length of the matched string an
On Mon, Apr 15, 2013 at 07:47:38PM -0700, Yinghai Lu wrote:
> On Mon, Apr 15, 2013 at 6:44 PM, Wang YanQing wrote:
> >
> > The parameter of memblock_reserve is start address,
> > and size, not address range.
> >
> > Signed-off-by: Wang YanQing
> > ---
>
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.
Cc:j...@8bytes.org
Reviewed-by: Alex Williamson
Signed-off-by: Wang YanQing
---
This patch has been in LKML for more than 2 months,
I even forget it, but the compile error when I compile
a kernel modul
Commit-ID: 26bfc540f6f2dcbd93d0b9ed8f37830419ded7e8
Gitweb: http://git.kernel.org/tip/26bfc540f6f2dcbd93d0b9ed8f37830419ded7e8
Author: Wang YanQing
AuthorDate: Tue, 16 Apr 2013 09:37:34 +0800
Committer: Ingo Molnar
CommitDate: Tue, 16 Apr 2013 10:54:40 +0200
x86/mm/gart: Drop
The parameter of memblock_reserve is start address,
and size, not address range.
Signed-off-by: Wang YanQing
---
drivers/acpi/osl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 586e7e9..bcb7a3b 100644
--- a/drivers/acpi/osl.c
The memblock_find_in_range return value, addr, will
make sure "addr + aper_size" not beyond GART_MAX_ADDR.
Signed-off-by: Wang YanQing
---
arch/x86/kernel/aperture_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kernel/aperture_64.c b/arch/
(addr, size);
use memblock_alloc_in_[range|range_nid] to do
the search and reserve in one function will
bring the benefit below:
1: clarify the codes
2: we will check memblock_reserve's return value
Signed-off-by: Wang YanQing
---
arch/x86/kernel/aperture_64.c | 3 +--
arch/x86/kernel/se
This patch don't change code function,
it just do prepare for import the
memblock_alloc_in_range to do the code pattern
which looks like below in one function:
memblock_find_in_range()
follow by
memblock_reserve()
Signed-off-by: Wang YanQing
---
arch/x86/kernel/aperture_64.c | 4 ++--
1
Use memblock_is_region_reserved instead of memblock_find_in_range
to simplify the check codes, and gain a little speed benefit.
Signed-off-by: Wang YanQing
---
arch/x86/kernel/setup.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/x86/kernel/setup.c b/arch/x86
59.9
640x48060.0 59.9
DP1 disconnected (normal left inverted right x axis y axis)
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/drm_edid.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index dfd9ed3..
Signed-off-by: Wang YanQing
---
drivers/dma/timb_dma.c | 2 +-
drivers/mfd/omap-usb-host.c| 2 +-
drivers/mfd/twl4030-madc.c | 2 +-
drivers/mmc/host/wmt-sdmmc.c | 2 +-
drivers/spi/spi-atmel.c| 2 +-
drivers/tty/serial/xilinx_uartps.c | 2 +-
dri
Fix the follwing warnings:
linux/drivers/ata/pata_pdc2027x.c:66: warning: 'pdc2027x_reinit_one' declared
'static' but never defined
pdc2027x_reinit_one are defined only when CONFIG_PM is defined,
thus making it conditional.
Signed-off-by: Wang YanQing
---
drivers/ata/pata_
This patch fix the below compilation warning:
linux/drivers/net/ethernet/broadcom/tg3.c: In function
'tg3_hwclock_to_timestamp':
linux/drivers/net/ethernet/broadcom/tg3.c:5686: warning: integer constant is
too large for 'long' type
Signed-off-by: Wang YanQing
---
drivers/n
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.
Reviewed-by: Alex Williamson
Signed-off-by: Wang YanQing
---
I send this twice to joerg.roe...@amd.com more than one
month, but it had been ignored, I don't why.
include/linux/iommu.h | 1 +
1 fi
On Fri, Apr 05, 2013 at 10:51:30AM +1100, Julian Calaby wrote:
> Just as a bit of explanation for Johannes' NACK:
>
> 1. The only reason lib80211 still exists is because a couple of
> in-tree drivers still use it. If this weren't the case, the code would
> have been removed a long time ago as it's
r Broadcom Corporation BCM43225 802.11b/g/n
Signed-off-by: Wang YanQing
---
net/wireless/Kconfig | 22 +-
1 file changed, 17 insertions(+), 5 deletions(-)
diff --git a/net/wireless/Kconfig b/net/wireless/Kconfig
index 16d08b3..6e83f0a 100644
--- a/net/wireless/Kconfig
+++ b/net/wirele
Commit 2e3b3c42f06ff6801b3d7839757bbdb231619083
(Add DRM KMS/FB CMA helper) add a kbuild entry,
config DRM_KMS_CMA_HELPER, in DRM's Kconfig without
dependence on DRM, it cause DRM's kconfig can't
be show in a submenu.
This patch fix it.
Signed-off-by: Wang YanQing
---
drivers/
platform_device_alloc could failed and return NULL,
we should check this before call platform_device_put.
Signed-off-by: Wang YanQing
---
drivers/video/uvesafb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index 2f8f82d
commit f9f23a77f07506a32d9dc1d925bf85c0e7507b66(gma500: remove no_fb bits)
remove all the drm_psb_no_fb relations code in gma500 except this line code,
so remove it also.
Signed-off-by: Wang YanQing
---
drivers/gpu/drm/gma500/psb_drv.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers
iles included
in header.S.
Signed-off-by: Wang YanQing
---
Changes:
V1-V2:
1:add more detail and long long log
arch/x86/boot/header.S | 4
1 file changed, 4 deletions(-)
diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S
index 9ec06a1..43a3502 100644
--- a/arch/x86/boot/header.S
+++
I get a Multi-I/O Controller below:
01:08.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O
Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 1P2S
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
St
or fixing the 352 as well.
Signed-off-by: Wang YanQing
Signed-off-by: Paul Gortmaker
---
Changes
V1-V2:
1: Use a better descriptive subject by Paul Gortmaker
2: Add more detail log by Paul Gortmaker
I resend this version, because it will make merge job easy, and I
will not owe gregkh jui
On Sat, Mar 02, 2013 at 05:45:55PM +0800, Wang YanQing wrote:
> This patch fix a problem XScale port
> detect code in autoconfig_16550a treat
> 16550A port as XScale port, caused by
> CH352 device use the 6th bit(UART_IER_UUE)
> in IER as a enhance function make this bit
> w/r.
This patch fix a problem XScale port
detect code in autoconfig_16550a treat
16550A port as XScale port, caused by
CH352 device use the 6th bit(UART_IER_UUE)
in IER as a enhance function make this bit
w/r.
for the below device:
"
01:08.0 Serial controller: Device 4348:3253 (rev 10) (prog-if 02 [165
On Fri, Mar 01, 2013 at 02:17:16PM -0500, Paul Gortmaker wrote:
> On 13-03-01 12:56 AM, Wang YanQing wrote:
> > Some UARTs add enhanced functions with unused bit in
> > 16550 standard, like UART_IER_UUE bit, it cause XScale
>
> Which xscale platform? It would be nice to kn
it is harmless for current code, we will set
UART_CAP_RTOIE if it is XScale port.
Signed-off-by: Wang YanQing
---
drivers/tty/serial/8250/8250.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c
index 0e
01:08.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O
Controller (rev 01)
Subsystem: Device [1000:0012]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=m
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.
Reviewed-by: Alex Williamson
Signed-off-by: Wang YanQing
---
I send this twice to joerg.roe...@amd.com more than one
month, but it had been ignored, I don't why.
include/linux/iommu.h | 1 +
1 fi
Commit-ID: f44310b98ddb7f0d06550d73ed67df5865e3eda5
Gitweb: http://git.kernel.org/tip/f44310b98ddb7f0d06550d73ed67df5865e3eda5
Author: Wang YanQing
AuthorDate: Sat, 26 Jan 2013 15:53:57 +0800
Committer: Ingo Molnar
CommitDate: Mon, 28 Jan 2013 11:21:57 +0100
smp: Fix SMP function call
On Mon, Jan 28, 2013 at 09:25:55AM +, Jan Beulich wrote:
> But the patch is obviously incomplete for the CPUMASK_OFFSTACK
> case, as the newly added cpumask_ipi member never gets
> its bit array allocated.
>
> Jan
Yes, I have found it, and the patch is in lkml some hours ago.
Thanks.
--
To un
c7b798525b50256c8084215a139fa40b0114bfcc
[smp: Fix SMP function call empty cpu mask race]
use the un-initialized variable cpumask_ipi when
enable CONFIG_CPUMASK_OFFSTACK.
Signed-off-by: Wang YanQing
---
I am sorry for miss it first.
kernel/smp.c | 4
1 file changed, 4 insertions(+)
diff
c7b798525b50256c8084215a139fa40b0114bfcc
[smp: Fix SMP function call empty cpu mask race]
use the un-initialized variable cpumask_ipi when
enable CONFIG_CPUMASK_OFFSTACK.
Signed-off-by: Wang YanQing
---
I am sorry for miss it first.
kernel/smp.c | 4
1 file changed, 4 insertions(+)
diff
c7b798525b50256c8084215a139fa40b0114bfcc
[smp: Fix SMP function call empty cpu mask race]
use the un-initialized variable cpumask_ipi when
enable CONFIG_CPUMASK_OFFSTACK.
Signed-off-by: Wang YanQing
---
I am sorry for miss it, I just think it when I
was lying on the bed last night
Commit-ID: c7b798525b50256c8084215a139fa40b0114bfcc
Gitweb: http://git.kernel.org/tip/c7b798525b50256c8084215a139fa40b0114bfcc
Author: Wang YanQing
AuthorDate: Sat, 26 Jan 2013 15:53:57 +0800
Committer: Ingo Molnar
CommitDate: Sun, 27 Jan 2013 13:29:14 +0100
smp: Fix SMP function call
platform_device_alloc could failed and return NULL,
we should check this before call platform_device_put.
Signed-off-by: Wang YanQing
---
drivers/video/uvesafb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index 2f8f82d
IPI mask"))
return;
then the problem 83d349f3 fix will happen again.
Signed-off-by: Wang YanQing
---
kernel/smp.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/kernel/smp.c b/kernel/smp.c
index 29dd40a..7c56aba 100644
--- a/kernel/smp.c
+++ b/kernel/s
On Thu, Dec 13, 2012 at 10:15:38AM -0700, Alex Williamson wrote:
> On Fri, 2012-12-14 at 00:55 +0800, Wang YanQing wrote:
> > The linux/iommu.h header uses ERR_PTR defined
> > in linux/err.h but doesn't include it.
> >
> > Signed-off-by: Wang YanQing
> &
On Mon, Dec 17, 2012 at 07:19:07PM +0100, Yann E. MORIN wrote:
> Wang, All,
>
> On Monday 17 December 2012 Wang YanQing wrote:
> > dialog.h has two line the same below:
> > extern char dialog_input_result[];
> > This patch remove one of them.
> >
> > Signed
ition well centered reported by Yann E. MORIN
Signed-off-by: Wang YanQing
---
Hi Yann E. MORIN, can you give your Rev'ed-by and Tested-by to this patch,
Thanks very much for your help, I just don't know how to computer out the
right position :)
The Changes appear in commit log is ok,
ition well centered reported by Yann E. MORIN
Signed-off-by: Wang YanQing
---
Hi Yann E. MORIN, can you give your Rev'ed-by and Tested-by to his patch,
Thanks very much for your help, I just don't know how to computer out the
right position :)
The Changes appear in commit log is ok, I foun
space while at it for below line:
"*) Formerly when I used Page Down and Page Up, the cursor would be set"
]
Changes:
V1-V2:
1:use PATH_MAX instead of hard code suggested by Yann E. MORIN
2:drop the spurious empty-line removal suggested by Yann E. MORIN
Signed-off-by: Wang YanQing
--
Now we have Load/Save buttons to do the Load/Save
in the convenient place, so we can drop the
top-level entries.
Signed-off-by: Wang YanQing
---
scripts/kconfig/mconf.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index
Hi all.
If menuconfig have Save/Load button like alternative
.config editors, xconfig, nconfig, etc.We will have
a obvious benefit when use menuconfig just like
when we use others, we can Save/Load our .config quickly
and conveniently.
This patch series add the Save/Load buttons for menuconfig.
I
space while at it for below line:
"*) Formerly when I used Page Down and Page Up, the cursor would be set"
]
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/menubox.c | 20 +++-
scripts/kconfig/mconf.c| 31 +--
2 files c
This patch add support navigate input position *inside* the input
field with LEFT/RIGHT, so it is possible to modify the text in place.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/inputbox.c | 121 +++-
1 file changed, 92 insertions(+), 29 deletions
dialog.h has two line the same below:
extern char dialog_input_result[];
This patch remove one of them.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/dialog.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/kconfig/lxdialog/dialog.h
b/scripts/kconfig/lxdialog/dialog.h
if we don't define CONFIG_IOMMU_API the
dummy functions alway return -ENODEV
or -EINVAL except three function, so convert
them to the same behavior to make consistence
Signed-off-by: Wang YanQing
---
include/linux/iommu.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.
Signed-off-by: Wang YanQing
---
include/linux/iommu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index f3b99e1..f4a49a6 100644
--- a/include/linux/io
w.
>
> > V1-V2: Rewrite the most code to make it more correct
> > V2-V3: Fix the behavior of conf_message_callback when exit.
> > V3-V4:
> > 1: Move Buttons a little left to make them look like symmetrical.
> > 2: Exchange the position between Save button a
On Sun, Dec 02, 2012 at 06:32:43PM +0100, Yann E. MORIN wrote:
> Wang, All,
>
> On Sunday 02 December 2012 Wang YanQing wrote:
> > inputbox code don't support use Left/Right to change input
> > position in the input box, so it use continue to skip them
> > when
On Sat, Dec 01, 2012 at 12:44:01PM +0100, Francois Romieu wrote:
> Wang YanQing :
> > + /*
> > +*This is a fix for BIOS forget to set
> > +*extend GigaMAC registers
> > +*Wang YanQing 12/1/2012
> > +*/
>
> This part will go into the change
This patch fix it.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/inputbox.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/scripts/kconfig/lxdialog/inputbox.c
b/scripts/kconfig/lxdialog/inputbox.c
index dd8e587..7841f46 100644
--- a/scripts/kconfig/lxdialog/
configuration file with Save button.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/menubox.c | 21 +-
scripts/kconfig/mconf.c| 45 ++
2 files changed, 47 insertions(+), 19 deletions(-)
diff --git a/scripts/kconfig/lxdialog
On Fri, Nov 30, 2012 at 06:00:02PM +0800, Wang YanQing wrote:
> I found the mainline's r8169 works the same as realtek's driver,
> the first time don't work, but it works after reboot, the reason
> is the pci driver's shutdown don't call rtl_rar_set in 3.0 s
call to
rtl_rar_set when the mac address is read in rtl_init_one instead of
duplicating most of rtl_rar_set in a quite different place.
V2-V3:
1:Add conditon code to around this fix, because it make no sense for
most NIC
2:Add comment in code
Signed-off-by: Wang YanQing
---
drivers/net/et
On Fri, Nov 30, 2012 at 05:04:29PM +0800, Wang YanQing wrote:
> On Fri, Nov 30, 2012 at 07:35:00AM +0100, Francois Romieu wrote:
> > Which kernel version is it ?
> I have done the test and debug with mainline
> e23739b4ade80a3a7f87198f008f6c44a7cbc9fd, v3.7-rc7-51-ge23739b
More
call to
rtl_rar_set when the mac address is read in rtl_init_one instead of
duplicating most of rtl_rar_set in a quite different place.
Signed-off-by: Wang YanQing
---
drivers/net/ethernet/realtek/r8169.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/realtek/r8169.c
b/d
On Fri, Nov 30, 2012 at 07:35:00AM +0100, Francois Romieu wrote:
> Which kernel version is it ?
I have done the test and debug with mainline
e23739b4ade80a3a7f87198f008f6c44a7cbc9fd, v3.7-rc7-51-ge23739b
> I'd rather see the GigaMAC registers written through a call to
> rtl_rar_set when the mac
with extended GigaMAC
reigisters have the same problem, I meet it in 8168e-vl with
RTL_GIGA_MAC_VER_34, so I make this patch just for it.]
Signed-off-by: Wang YanQing
---
drivers/net/ethernet/realtek/r8169.c | 24
1 file changed, 24 insertions(+)
diff --git a/drive
On Mon, Oct 08, 2012 at 10:28:32AM +0200, Borislav Petkov wrote:
> On Mon, Oct 08, 2012 at 03:22:49PM +0800, Wang YanQing wrote:
> > With one terminal, I can do:
> > 1: make menuconfig
> > 2: ajust and use "Save" button to save .config
> > 3: use CRTL-Z(konso
On Mon, Oct 08, 2012 at 08:03:40AM +0200, Borislav Petkov wrote:
> Well, there are a bunch of patches from Benjamin Poirier adding the
> possibility to jump to search results and you could use them to go to
> your desired submenu.
First there are two ways to save the .config in menuconfig
1:Exit me
er save config, and then use "%" or fg to
resume menuconfig and go on tuning.
v2: Rewrite the most code to make it more correct
v3: Fix the behavior of conf_message_callback when exit.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/menubox.c | 17 +++---
s
er save config, and then
use "%" or fg to resume menuconfig and go on tuning.
Changes v1-v2:
* Rewrite the most code to make it more correct
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/menubox.c | 17
scripts/kconfig/mconf.c| 40 +
er save config, and then use "%" or fg to
resume menuconfig and go on tuning.
Signed-off-by: Wang YanQing
---
scripts/kconfig/lxdialog/menubox.c | 7 +--
scripts/kconfig/mconf.c| 32 +++-
2 files changed, 36 insertions(+), 3 deletions(-)
uvesafb_open had checked the par->vbe_state_size,
so we don't need to check it again in uvesafb_vbe_state_save,
this patch just can reduce a few lines of code.
Signed-off-by: Wang YanQing
---
drivers/video/uvesafb.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/video/u
Michal maybe forgot it merely, we should add code
to check the return value of kzalloc to make the
code more robust.
Signed-off-by: Wang YanQing
---
drivers/video/uvesafb.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/video/uvesafb.c b/drivers/video/uvesafb.c
index b0e2a42
201 - 277 of 277 matches
Mail list logo