“…It is shown that an additional entropy term is produced, to be compared to other modified theories. Later Bamba et al [41,42,60,61] developed the first law of thermodynamics in Palatini f (R), f (T ), f (R, φ, X ) (where X = −1/2g μν ∇ μ φ∇ ν φ is the kinetic term of a scalar field φ) and f (R, φ, X, G) (where G = R 2 − 4R μν R μν + R μνρσ R μνρσ is the Gauss-Bonnet invariant) theories and formulated an additional entropy production term. A similar approach is applied to discuss the thermodynamic laws in f (R, T ), f (R, L m ) and f (R, T, R μν T μν ) theories, and one can see that the presence of non-equilibrium entropy production terms is necessary in such theories [46,47,62].…”