Linux-USB Archive on
 help / color / Atom feed
From: Vladimir Zapolskiy <>
To: Colin King <>,
	Felipe Balbi <>,
	Greg Kroah-Hartman <>,
	Sylvain Lemieux <>,
	Roland Stigge <>, Arnd Bergmann <>,,
Subject: Re: [PATCH] usb: gadget: udc: lpc32xx: don't dereference ep until it has been null checked
Date: Mon, 11 Nov 2019 00:53:11 +0200
Message-ID: <> (raw)
In-Reply-To: <>

On 11/11/2019 12:14 AM, Colin King wrote:
> From: Colin Ian King <>
> The pointer ep is currently being dereferenced when initializing pointer
> udc before ep is being null checked.  Fix this by only dereferencing
> ep after it has been null checked.
> Addresses-Coverity: ("Dereference before null check")
> Fixes: 24a28e428351 ("USB: gadget driver for LPC32xx")
> Signed-off-by: Colin Ian King <>

Acked-by: Vladimir Zapolskiy <>

Best wishes,

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-10 22:14 Colin King
2019-11-10 22:53 ` Vladimir Zapolskiy [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-USB Archive on

Archives are clonable:
	git clone --mirror linux-usb/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-usb linux-usb/ \
	public-inbox-index linux-usb

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone