Re: [tty:tty-testing 27/31] drivers/tty/serial/milbeaut_usio.c:503:52: sparse: Using plain integer as NULL pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 2019/04/17 15:18, Greg Kroah-Hartman wrote:
On Wed, Apr 17, 2019 at 12:00:33AM +0800, kbuild test robot wrote:
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
head:   c7a6b9e4df4c5d9e95e38766923f98117b045c39
commit: ba44dc04300441b47618f9933bf36e75a280e5fe [27/31] serial: Add Milbeaut serial control
reproduce:
         # apt-get install sparse
         git checkout ba44dc04300441b47618f9933bf36e75a280e5fe
         make ARCH=x86_64 allmodconfig
         make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'


sparse warnings: (new ones prefixed by >>)

drivers/tty/serial/milbeaut_usio.c:503:52: sparse: Using plain integer as NULL pointer

vim +503 drivers/tty/serial/milbeaut_usio.c

    500	
    501	static int mlb_usio_probe(struct platform_device *pdev)
    502	{
  > 503		struct clk *clk = devm_clk_get(&pdev->dev, 0);

Sugaya, can you send a patch fixing this up please?

thanks,

greg k-h


Okay, I will send a new patch soon.

Thanks,
Sugaya Taichi




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux