RE: [PATCH]omap:dmtimer:no null check for kzalloc

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

 



> -----Original Message-----
> From: Artem Bityutskiy [mailto:dedekind1@xxxxxxxxx]
> Sent: Sunday, July 11, 2010 11:33 PM
> To: DebBarma, Tarun Kanti
> Cc: olbpdev@xxxxxxxxxxx - OMAP Linux Baseport Development Team (May
> contain non-TIers); linux-omap@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH]omap:dmtimer:no null check for kzalloc
> 
> On Mon, 2010-07-12 at 03:39 +0530, Tarun Kanti DebBarma wrote:
> > +                       if (!pdata) {
> > +                               pr_err("%s: \
> > +                               No memory for
> omap_dm_timer_plat_info\n",
> > +                               __func__);
> > +                               return -ENOMEM;
> > +                       }
> 
> do not use concatenation ('\'), this is probably not what you want.
>
Oops! Thanks for pointing this out. I will change.
 
> --
> Best Regards,
> Artem Bityutskiy (Артём Битюцкий)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux