Skip to content

Commit

Permalink
10718 av1394: NULL pointer errors
Browse files Browse the repository at this point in the history
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome committed Apr 19, 2019
1 parent 485f90e commit 92548b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion usr/src/uts/common/io/1394/targets/av1394/av1394_async.c
Expand Up @@ -444,7 +444,7 @@ av1394_async_create_minor_node(av1394_inst_t *avp)

ret = ddi_create_minor_node(avp->av_dip, "async",
S_IFCHR, AV1394_ASYNC_INST2MINOR(avp->av_instance),
DDI_NT_AV_ASYNC, NULL);
DDI_NT_AV_ASYNC, 0);
if (ret != DDI_SUCCESS) {
TNF_PROBE_0(av1394_async_create_minor_node_error,
AV1394_TNF_ASYNC_ERROR, "");
Expand Down
8 changes: 4 additions & 4 deletions usr/src/uts/common/io/1394/targets/av1394/av1394_isoch.c
Expand Up @@ -231,7 +231,7 @@ av1394_isoch_write(av1394_inst_t *avp, struct uio *uiop)
/*ARGSUSED*/
int
av1394_isoch_ioctl(av1394_inst_t *avp, int cmd, intptr_t arg, int mode,
int *rvalp)
int *rvalp)
{
int ret = EINVAL;

Expand Down Expand Up @@ -274,7 +274,7 @@ av1394_isoch_ioctl(av1394_inst_t *avp, int cmd, intptr_t arg, int mode,
/*ARGSUSED*/
int
av1394_isoch_devmap(av1394_inst_t *avp, devmap_cookie_t dhp, offset_t off,
size_t len, size_t *maplen, uint_t model)
size_t len, size_t *maplen, uint_t model)
{
av1394_isoch_seg_t *isp;

Expand Down Expand Up @@ -318,7 +318,7 @@ av1394_isoch_create_minor_node(av1394_inst_t *avp)

ret = ddi_create_minor_node(avp->av_dip, "isoch",
S_IFCHR, AV1394_ISOCH_INST2MINOR(avp->av_instance),
DDI_NT_AV_ISOCH, NULL);
DDI_NT_AV_ISOCH, 0);
if (ret != DDI_SUCCESS) {
TNF_PROBE_0(av1394_isoch_create_minor_node_error,
AV1394_TNF_ISOCH_ERROR, "");
Expand Down Expand Up @@ -455,7 +455,7 @@ av1394_isoch_autorecv_init(av1394_inst_t *avp, av1394_ic_t **icpp)
*/
static int
av1394_isoch_autoxmit_init(av1394_inst_t *avp, av1394_ic_t **icpp,
struct uio *uiop)
struct uio *uiop)
{
av1394_isoch_autoxmit_t *axp = &avp->av_i.i_autoxmit;
iec61883_isoch_init_t ii;
Expand Down

0 comments on commit 92548b6

Please sign in to comment.