Re: Fwd: LiS-2.18 and driver open failure due to q->q_ptr being not Null.

"Brian F. G. Bidulock" <[email protected]>
Newsgroups gmane.linux.kernel.streams
Organization http://www.openss7.org/
Message-ID <[email protected]>
Edward,

The only reason I can think that that would happen is if you forgot
to do:

	q->q_ptr = WR(q)->q_ptr = NULL;

in your qclose(9) procedure.


Otherwise, I think you will have to share your qopen(9) and qclose(9) procedure
to help you further.

--brian

On Tue, 01 Feb 2005, Dave Grothe wrote:

> 
>      Subject: LiS-2.18 and driver open failure due to q->q_ptr being not
>      Null.
>      Date: Tue, 1 Feb 2005 13:47:23 -0500
>      From: "Rodrigues, Edward" <[email protected]>
>      To: <[email protected]>
>      Hi Dave,
>      I  was  trying  LiS-2.18 and 2.6 kernel with our drivers and bumped
>      into
>      this  problem  where  my open fails because q->q_ptr is not null. I
>      traced
>      this in lis_qopen() -> clone_open() and drvr_open(). It is fine in
>      lis_qopen()  as  well  as clone_open() when it gets to the driver I
>      have
>      wrong q.
>      I  tried  the  same with 2.4 kernel and ran into same issue. I have
>      made
>      sure I use sys/LiS/module.h. I am sure I must be missing something
>      basic.
>      Any help certainly appreciated.
>      Thanks
>      Ed

-- 
Brian F. G. Bidulock    ¦ The reasonable man adapts himself to the ¦
[email protected]    ¦ world; the unreasonable one persists in  ¦
http://www.openss7.org/ ¦ trying  to adapt the  world  to himself. ¦
                        ¦ Therefore  all  progress  depends on the ¦
                        ¦ unreasonable man. -- George Bernard Shaw ¦
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.