[Home]

Summary:DAHLIN-00095: [patch] xpp/ fails building with kernel 2.6.30-rc3: proc_dir_entry 'owner' removed
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2009-04-23 18:39:29Date Closed:2009-05-27 08:02:45
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Astribank (xpp)
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) xpp_2630_procfs_owner.diff
Description:Kernel 2.6.30 removed the owner field of proc_dir_entry . The fix for 2.6.30 is to just not use it. Not sure about previous versions.

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=99b76233803beab302123d243eea9e41149804f3

The attached patch removes it unconditionally.
Comments:By: Digium Subversion (svnbot) 2009-05-19 11:09:07

Repository: dahdi
Revision: 6642

U   linux/trunk/drivers/dahdi/xpp/xbus-core.c
U   linux/trunk/drivers/dahdi/xpp/xdefs.h
U   linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
U   linux/trunk/drivers/dahdi/xpp/xpp_usb.c

------------------------------------------------------------------------
r6642 | tzafrir | 2009-05-19 11:09:06 -0500 (Tue, 19 May 2009) | 7 lines

xpp: 'owner' property of procfs was dropped in 2.6.30.

This adds a compatibility macro for older versions that is a noop for
kernels >= 2.6.30.

(closes issue DAHLIN-95)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6642

By: Digium Subversion (svnbot) 2009-05-27 07:48:11

Repository: dahdi
Revision: 6659

U   linux/trunk/drivers/dahdi/xpp/card_bri.c
U   linux/trunk/drivers/dahdi/xpp/card_fxo.c
U   linux/trunk/drivers/dahdi/xpp/card_fxs.c
U   linux/trunk/drivers/dahdi/xpp/card_global.c
U   linux/trunk/drivers/dahdi/xpp/card_pri.c

------------------------------------------------------------------------
r6659 | tzafrir | 2009-05-27 07:48:10 -0500 (Wed, 27 May 2009) | 4 lines

xpp: Fix more 'owner' for 2.6.30 to be happy.

Finishing the work of r6642. Complitly shut issue DAHLIN-95.

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6659

By: Digium Subversion (svnbot) 2009-05-27 08:02:45

Repository: zaptel
Revision: 4648

U   branches/1.4/kernel/xpp/card_bri.c
U   branches/1.4/kernel/xpp/card_fxo.c
U   branches/1.4/kernel/xpp/card_fxs.c
U   branches/1.4/kernel/xpp/card_global.c
U   branches/1.4/kernel/xpp/card_pri.c
U   branches/1.4/kernel/xpp/xbus-core.c
U   branches/1.4/kernel/xpp/xdefs.h
U   branches/1.4/kernel/xpp/xpp_usb.c
U   branches/1.4/kernel/xpp/xpp_zap.c

------------------------------------------------------------------------
r4648 | tzafrir | 2009-05-27 08:02:44 -0500 (Wed, 27 May 2009) | 7 lines

xpp: 'owner' property of procfs was dropped in 2.6.30.

This adds a compatibility macro for older versions that is a noop for
kernels >= 2.6.30.

From dahdi-linux r6642, r6659 , regarding issue DAHLIN-95 .

------------------------------------------------------------------------

http://svn.digium.com/view/zaptel?view=rev&revision=4648