I worked in a bank for a few years - doing credit risk in both consumer (cards, personal loans, etc) and investment banking (bonds). When it comes to consumer loans, like cards, mortgages, personal, etc, the basic formula is the cost of funds plus a margin that reflects the risk (i.e. card loans more risky than mortgages).
Cost of funds relates to how much it costs for the bank to obtain those funds - its an aggregate of various wholesale market rates, the composition of its deposit base, and a bunch of other things.
Inflation risk is something I never had to factor - but it could have just been because I wasn't working in a time with a major inflationary shock
Side note:
In a deflationary economy, then "zero-risk" would be just holding on to the cash. Of course, that's still not risk-free since you might have been wrong about the economy being deflationary.
I'm well aware that there's a risk-spread over the base rate for mortgages. My point was that the GP said he worked in a bank pricing credit and never had to figure anything to do with inflation; he only had to deal with a cost of funds figure and therefore banks don't price inflation into credit products.
My point was that cost of funds figure WAS the inflation figure.
Now, if you're arguing that there isn't 100.000% correlation between the various cost of funds rates and the various measures of inflation, I'll agree, but posit that the correlation is high, just not perfect.