summaryrefslogtreecommitdiff
path: root/drivers/dma/qcom
diff options
context:
space:
mode:
authorPhillip Potter <phil@philpotter.co.uk>2021-05-03 13:57:14 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2021-07-15 13:54:17 +0300
commit71d38f79274ffe97241353892e89a14321d62585 (patch)
tree259e065ecdf2786857f04df5a5c36a39a068aa71 /drivers/dma/qcom
parentf8212e566a44f9e6354600769ee8fc6f210e8e17 (diff)
isdn: mISDN: correctly handle ph_info allocation failure in hfcsusb_ph_info
[ Upstream commit 5265db2ccc735e2783b790d6c19fb5cee8c025ed ] Modify return type of hfcusb_ph_info to int, so that we can pass error value up the call stack when allocation of ph_info fails. Also change three of four call sites to actually account for the memory failure. The fourth, in ph_state_nt, is infeasible to change as it is in turn called by ph_state which is used as a function pointer argument to mISDN_initdchannel, which would necessitate changing its signature and updating all the places where it is used (too many). Fixes original flawed commit (38d22659803a) from the University of Minnesota. Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20210503115736.2104747-48-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/dma/qcom')
0 files changed, 0 insertions, 0 deletions