linux-sg2042/drivers/isdn/hardware/mISDN
Arnd Bergmann 3e7a8716e2 mISDN: avoid arch specific __builtin_return_address call
Not all architectures are able to call __builtin_return_address().
On ARM, the mISDN code produces this warning:

hardware/mISDN/w6692.c: In function 'w6692_dctrl':
hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
  pr_debug("%s: %s dev(%d) open from %p\n", card->name, __func__,
                                                                           ^
hardware/mISDN/mISDNipac.c: In function 'open_dchannel':
hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
  pr_debug("%s: %s dev(%d) open from %p\n", isac->name, __func__,
                                                                           ^

In a lot of cases, this is relatively easy to work around by
passing the value of __builtin_return_address(0) from the
callers into the functions that want it. One exception is
the indirect 'open' function call in struct isac_hw. While it
would be possible to fix this as well, this patch only addresses
the other callers properly and lets this one return the direct
parent function, which should be good enough.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-01-13 17:08:21 -05:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile mISDN: Add support for Traverse Technologies NETJet PCI cards 2009-07-25 20:22:36 +02:00
avmfritz.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hfc_multi.h mISDN: Added support for fragmentation of E1 interfaces of hfcmulti driver. 2012-04-26 05:21:03 -04:00
hfc_multi_8xx.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfc_pci.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
hfcmulti.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
hfcpci.c isdn: hfcpci_softirq: get func return to suppress compiler warning 2013-09-15 22:27:04 -04:00
hfcsusb.c ISDN: Add check for usb_alloc_urb() result 2012-07-18 09:40:54 -07:00
hfcsusb.h mISDN: Add X-Tensions USB ISDN TA XC-525 2012-05-22 15:19:01 -04:00
iohelper.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
ipac.h tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
isar.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
mISDNinfineon.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
mISDNipac.c mISDN: avoid arch specific __builtin_return_address call 2015-01-13 17:08:21 -05:00
mISDNisar.c isdn: Fix typo in drivers/isdn 2012-11-09 17:10:16 -05:00
netjet.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
netjet.h isdn: whitespace coding style cleanup 2012-02-21 09:04:01 -08:00
speedfax.c Drivers: isdn: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
w6692.c mISDN: avoid arch specific __builtin_return_address call 2015-01-13 17:08:21 -05:00
w6692.h mISDN: Add driver for Winbond cards 2009-07-25 20:21:28 +02:00